How to Use Gmail Notifier

Gmail Notifier is a nifty, small application that can save you time while surfing the Internet. After a quick installation, Gmail Notifier alerts you when new email messages arrive in your inbox and make replying to them a snap. Read the following tips to learn how to use Gmail Notifier on your computer.

Difficulty: Moderately Easy
Instructions Đọc tiếp »

Easy XML Consumption using jQuery

With the popularity of AJAX Web 2.0 style applications and the increase in web services it has become increasingly important to be able to parse XML from the client browser. This is not the easiest thing to do in a cross browser manner without the aid of a JavaScript library that supports XML. Fortunately jQuery makes XML utilization (almost) effortless. If you possess a basic understanding of how to program JavaScript then this tutorial will have you working with XML in 20 minutes.

Contents

[hide]

  • 1 Getting Started
  • 2 The XML Data File
  • 3 The HTML File
  • 4 The JavaScript readXML file
  • 5 Grabbing XML tag attributes with jQuery
  • 6 Updating the content of a DIV dynamically
  • 7 Another look at the JavaScript readXML file
  • 8 Summary
  • 9 Reference
    • 9.1 SitePoint Articles
    • 9.2 Documentation

//

Getting Started

  1. Make sure you use Firefox to run these examples. While you can certainly use IE, Firefox is less restrictive when it comes to running JavaScript from your local machine.
  2. Create a new directory for the sample files on your machine.
  3. Download the latest version of JQuery. Make sure to rename the file to jquery.js so it will work with these examples (by default the name will include the version and look something like jquery-1.2.3.min.js) and place the file into the root of the project directory you created.
  4. Download the following sample files and place the contents into the root of your project directory.
  5. Grab your favorite text editor or IDE and open those three files up. I recommend Notepad++ or Aptana. Đọc tiếp »
Posted in JQUERY. Thẻ: . Leave a Comment »

Cơ bản về SSH

SSH (tiếng Anh: Secure Shell) là một giao thức mạng dùng để thiết lập kết nối mạng một cách bảo mật. SSH hoạt động ở lớp trên trong mô hình phân lớp TCP/IP. Các công cụ SSH (như là OpenSSH, …) cung cấp cho người dùng cách thức để thiết lập kết nối mạng được mã hoá để tạo một kênh kết nối riêng tư. Hơn nữa tính năng tunneling của các công cụ này cho phép chuyển tải các giao vận theo các giao thức khác. Do vậy có thể thấy khi xây dựng một hệ thống mạng dựa trên , chúng ta sẽ có một hệ thống mạng riêng ảo VPN đơn giản.

SSH là gì?

SSH là một chương trình tương tác giữa máy chủ và máy khách có sử dụng cơ chế mã hoá đủ mạnh nhằm ngăn chặn các hiện tượng nghe trộm, đánh cắp thông tin trên đường truyền. Các chương trình trước đây: telnet, rlogin không sử dụng phương pháp mã hoá. Vì thế bất cứ ai cũng có thể nghe trộm thậm chí đọc được toàn bộ nội dung của phiên làm việc bằng cách sử dụng một số công cụ đơn giản. Sử dụng SSH là biện pháp hữu hiệu bảo mật dữ liệu trên đường truyền từ hệ thống này đến hệ thống khác. Đọc tiếp »

Secure Socket Layer (SSL) là gì?

SSL là giao thức đa mục đích được thiết kế để tạo ra các giao tiếp giữa hai chương trình ứng dụng trên một cổng định trước (socket 443) nhằm mã hoá toàn bộ thông tin đi/đến, mà ngày nay được sử dụng rộng rãi cho giao dịch điện tử như truyền số hiệu thẻ tín dụng, mật khẩu, số bí mật cá nhân (PIN) trên Internet.Giao thức SSL được hình thành và phát triển đầu tiên năm 1994 bởi nhóm nghiên cứu Netscape dẫn dắt bởi Elgammal và ngày nay đã trở thành chuẩn bảo mật thực hành trên mạng Internet. Phiên bản SSL hiện nay là 3.0 và vẫn đang tiếp tục được bổ sung và hoàn thiện. Tương tự như SSL, một giao thức khác có tên là PCT – Private Communication Technology được đề xướng bởi Microsoft hiện nay cũng được sử dụng rộng rãi trong các mạng máy tính chạy trên hệ điều hành Windows NT. Ngoài ra, một chuẩn của IETF (Internet Engineering Task Force) có tên là TLS (Transport Layer Security) dựa trên SSL cũng được hình thành và xuất bản dưới khuôn khổ nghiên cứu của IETF Internet Draft được tích hợp và hỗ trợ trong sản phẩm của Netscape. Đọc tiếp »

Những website miễn phí đáng chú ý

Vô vàn địa chỉ cung cấp những dịch vụ hữu ích mà lại miễn phí. Tạp chí PC Advisor đã chọn ra 18 website miễn phí được coi là hữu ích nhất. Rất có thể đó là những thứ bạn đang cần.
Gọi điện thoại đường dài
Để gọi điện đường dài, mọi người thường dùng Skype hoặc một số dịch vụ tương tự. Song, với Talkster bạn có thể thực hiện cuộc gọi đến các số điện thoại thực cùng nhiều tùy chọn cho cuộc gọi trực tuyến. Đọc tiếp »

AJAX Zend Framework Tips

I’ve been doing some work with Zend Framework in the javascript front and I figured I may as well post a bunch of the things I’ve noticed as of recently that might be useful for others.

Adding javascript files on a specific controller Đọc tiếp »

Handling Ajax requests in the Zend Framework

Doing Ajax is quite simple these days with the various JavaScript libraries offering easy ways to do it. But how do you do it on the server side, without complicating things too much?

Typically, in addition to the Ajax response, you need a traditional page response to a request as well – for example, for browsers which don’t support Ajax.

Let’s look at some methods how one can detect if a request is an Ajax request and how to respond to them in the Zend Framework. Đọc tiếp »

Zend Form Decorators

I’d felt a lot of pain when I first used Zend_Form. The reason was that I wasn’t able to layout form elements the way I wanted them to be. Zend was rendering elements in dt and dd whilst I was looking forward to place them in row and cells.
In short I wasn’t aware of Zend_Form decorators in the beginning and when I studied them for some time I felt uncomfortable using them.
So I decided to use html forms in my phtml files-template file. Though by doing so I achieved the desired layout however I missed entire facilities/functionalities that Zend_Form component provide us such as validation, filtering, dispaying error messages and so on.  Đọc tiếp »

Part 2- Mô hình OSI

Mô hình OSI mô tả phương thức truyền tin từ các chương trình ứng dụng của một hệ thống máy tính đến các chương trình ứng dụng của một hệ thống khác thông qua các phương tiện truyền thông vật lý.

Thông tin từ một ứng dụng trên hệ thống máy tính A sẽ đi xuống các lớp thấp hơn, cuối cùng qua các thiết bị vật lý đến hệ thống máy tính B. Sau đó ở hệ thống B, thông tin sẽ đi từ lớp thấp nhất đến cao nhất – chính là ứng dụng của hệ thống máy tính B. Đọc tiếp »

Posted in Networking. Thẻ: . Leave a Comment »