AJAX will revolutionize web development
Traditional web applications allow users to fill out forms, and when these forms are submitted, a request is sent to a web server. The web server acts upon whatever was sent by the form, and then responds back by sending a new web page. A lot of bandwidth is wasted since much of the HTML from the first page is present in the second page. Because a request to the web server has to be transmitted on every interaction with the application, the application's response time is dependent on the response time of the web server. This leads to user interfaces that are much slower than their native counterparts.
AJAX applications, on the other hand, can send requests to the web server to retrieve only the data that is needed, usually using SOAP or some other XML-based web services dialect, and using JavaScript in the client to process the web server response. The result is more responsive applications, since the amount of data interchanged between the web browser and web server is vastly reduced. Web server processing time is also saved, since a lot of this is done on the computer from which the request came.
Image showing how a traditional web application handles user interaction comparing it to how an Ajax application handles it.
Image showing how the different components of Ajax applications interacts with each other comparing it to how traditional web applications do it.
A concrete example: Many sites use a table element to display tabular data. To change the sort order of the data with a traditional web application, the user would click on the table header which would send a request to the web server to reload the page with the new sort order. The web server would then construct a new SQL query with the new sort order, execute it and fetch the data from the database and reconstruct the web page and send it back to the user. Using AJAX technologies, this event could instead have been handled with a client-side JavaScript that dynamically generates a view of the tabular data with DHTML
AJAX applications, on the other hand, can send requests to the web server to retrieve only the data that is needed, usually using SOAP or some other XML-based web services dialect, and using JavaScript in the client to process the web server response. The result is more responsive applications, since the amount of data interchanged between the web browser and web server is vastly reduced. Web server processing time is also saved, since a lot of this is done on the computer from which the request came.
Image showing how a traditional web application handles user interaction comparing it to how an Ajax application handles it.
Image showing how the different components of Ajax applications interacts with each other comparing it to how traditional web applications do it.
A concrete example: Many sites use a table element to display tabular data. To change the sort order of the data with a traditional web application, the user would click on the table header which would send a request to the web server to reload the page with the new sort order. The web server would then construct a new SQL query with the new sort order, execute it and fetch the data from the database and reconstruct the web page and send it back to the user. Using AJAX technologies, this event could instead have been handled with a client-side JavaScript that dynamically generates a view of the tabular data with DHTML

11 Comments:
Need A Great Web Site Rashid Malik, Great post on AJAX will revolutionize web development!, I have great site to offer the best prices on web design and get great results web design, maybe give us a call at 404-303-7350
By
#1 Web Design & Get Results, at 9:06 AM
Need A Great Web Site Rashid Malik, Great post on AJAX will revolutionize web development!, I have great site to offer the best prices on web design and get great results tampa, maybe give us a call at 404-303-7350
By
#1 Web Design & Get Results, at 9:31 AM
Need A Great Web Site Rashid Malik, Great post on AJAX will revolutionize web development!, I have great site to offer the best prices on web design and get great results seattle, maybe give us a call at 404-303-7350
By
#1 Web Design & Get Results, at 12:35 PM
Need A Great Web Site Rashid Malik, Great post on AJAX will revolutionize web development!, I have great site to offer the best prices on web design and get great results tampa, maybe give us a call at 404-303-7350
By
#1 Web Design & Get Results, at 10:39 AM
Need A Great Web Site Rashid Malik, Great post on AJAX will revolutionize web development!, I have great site to offer the best prices on web design and get great results las vegas, maybe give us a call at 404-303-7350
By
#1 Web Design & Get Results, at 1:09 PM
Nice site!
[url=http://eegsllcj.com/otip/xgsv.html]My homepage[/url] | [url=http://wzwhxqyp.com/prnq/txza.html]Cool site[/url]
By
Anonymous, at 4:57 PM
Nice site!
My homepage | Please visit
By
Anonymous, at 4:57 PM
Great work!
http://eegsllcj.com/otip/xgsv.html | http://gkwycdel.com/vkbi/xzys.html
By
Anonymous, at 4:57 PM
Good day!
I need help with my crappy computer! It is always freezing when i open IE and going to MSN? What do you think?
By the way, I love that too! How did you find that?
See you soon! Girly Girl
[color=#69c][url=http://completing-get-paid-surveymgwjucihp
o.blogspot.com]how I make money with paid surveys[/url][/color]
By
Anonymous, at 12:08 AM
Good day!
what is your favorite color of....mine is blue!
By the way, I love that too! How did you find that?
Bye, - MyGirl!
[color=#69c][url=http://paid-internet-surveyzbervunjybv.blogspot.com]see how I make free money with paid online surveys[/url][/color]
By
Anonymous, at 1:35 PM
Hi
Sorry to intrude but I saw your blog, noticed you have anonymous posting enabled and thought you might be interested in this great search engine optimization tool for your blog and website (if you have one) that a techi mate recommended to me. Apparently it's all the rage in the IT arena.
I am involved in wisconsin web site design and I've found the best way of promoting my blogs and websites is The amazing link referral program. Don't worry it is absolutely free to join and you can generate visitors to your site by visiting others. It is really quick and easy to set up and the traffic you generate will help your website increase in google ranking. Give it a go now!!
I have generated amazing traffic from this program - increasing my affiliate sales and cannot recommend this enough. Believe me, if you have tried all the other programs on the market that you have had to pay for then you realise this one is the best - and it's free!!!
Best of luck with the blog!! I hope you get as much out of this program as I have ;-)
By
Anonymous, at 10:31 AM
Post a Comment
<< Home