|If you have a interactive website which sends data back to the server, like on-line orders, favorites, ratings, or login, your site can benefit from AJAX.
First you must understand the traditional form POST submission mechanism.
Traditional forms works like this:
1. The HTML contains a <form> tag with attribute method="POST".
(A "GET" form is usually not for sending info to the server.)
2. The entire page is sent back to the server.
3. The server looks for the textboxes, checkboxes, etc, and performs processing.
4. The server sends you back a new page.
AJAX is much more efficient, by acting this way:
1. Sending back to the server only what you typed or selected.
2. Receive back only what you need from the server.
So how much work is that?
* For PHP, phPulse is ultra-light. Other PHP Ajax frameworks: http://ajaxpatterns.org/PHP_Ajax_Frameworks
| Answered by: sherwin - 78 Months Ago.
| Add Comments