AJAX
Moderator: Lixas
-
- Posts: 344
- Joined: Tue Nov 07, 2006 8:42 pm
-
- Posts: 325
- Joined: Sat Dec 16, 2006 3:57 pm
hossamkiwan wrote:Do u use Ajax?? whn will u use it??
I need an advice from an expert how to start!??
With non-Ajax pages, if you need some fresh information from the server, you need to reload the full page. However, with Ajax, you don't need to reload the page. This is the major advantage of using Ajax over other technologies.
As an example, you can see google's auto-suggest feature in its search. (go to labs.google.com) to have a look. When you type a word in the google search box, it gives you a list of suggestions based on the words typed by other users all over the world. Obviously to do this, the page needs to communicate to the server, however, there is no page reload in this process.
Learning Ajax is simple too. There are numerous tutorials available on the net. A good one is at http://w3schools.com
-
- Posts: 344
- Joined: Tue Nov 07, 2006 8:42 pm
-
- Posts: 325
- Joined: Sat Dec 16, 2006 3:57 pm
-
- Posts: 344
- Joined: Tue Nov 07, 2006 8:42 pm
Hi Felipee there is nothing to be confused.
In AJAX you stay in the same page througout the session unless you are navigating to an external link.
In AJAX only parts of the page where dynamic contents appear is refreshed, you dont feel the refreshing because the data is fetched from XML files and displayed.
In AJAX you stay in the same page througout the session unless you are navigating to an external link.
In AJAX only parts of the page where dynamic contents appear is refreshed, you dont feel the refreshing because the data is fetched from XML files and displayed.