AJAX technology

Ajax Technology Introduction

Ajax technology (Asynchronous JavaScript and XML) is increasingly popular in the design of the website. Using AJAX technology, you can submit form data to the server without refreshing the document. Suppose you fill in an online registration form. You write your username, e-mail address, address, etc. and submit this form. On the Server End Server detects that the user name has already been taken by another user. It will generate an error message and ask you to choose a different username. Now you need to complete the entire form if the server brings you your data through the query string. In addition, it is not very sure to send your personal information via a query string. In such data, the data submit by Ajax Technology is the best solution. Another useful feature of AJAX technology is that you can send custom data (such as the user IP) that does not appear in the Form field.

As the submission of classic Ajax Data data also submit two types, to get and poster. There are merits relating to the decks are identical to the submission of conventional data.

How data is submitted using AJAX:

1. When the user submits data by pressing the Submit button or clicking Submit Link, a JavaScript function is called.

2. This function establishes the connection with the server per http XML query object. When the connection is established, data from form fields are transmitted to the server.

3. Whenever the server response is received, another JavaScript function is pulled. This function then takes the necessary steps according to the response text on the end of the server.

AJAX Advantages and disadvantages:

1. As a total page is not recharged, the AJAX submission is faster than the classical form submission process.

2. These are more user-friendly users.

3. The use of AJAX technology is not limited to data submission. It is widely used in dynamic menu design; Data Collection for Web Statistics Analysis, or even recharge the entire page dynamically.

4. Some users disable JavaScript from their browser. In such cases, Ajax does not work.

5. As the data are loaded dynamically, historical internet is not available, that is, you can not reload the page using the previous button of your browser.

Comments are closed.