Basics of Ajax
page 3 of 5
by Debjani Mallick
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 36049/ 38

Advantages & Disadvantages of Using Ajax

Advantages

Everything has its own merits and demerits, Ajax included.

·         The application seems to become more responsive and interactive as the user gets the response without clicking any buttons.

·         In classic web application, when the web server responds to the web browser with a new page, it may make use of multiple connection threads in order to speed up the process, but this happens for the content only (which is between <body> tags). The CSS as well as the script files present in the head section are transferred using only one connection thread which results in performance degradation. With Ajax, it is required to load only the basic script and CSS files. Rests are requested as content using multiple connections.

·         A big advantage is that the user is not required to keep on waiting and waiting.

·         One more important merit is traffic to and from the server is reduced a considerable amount.

·         If a section of a page encounters any error, other sections do not get affected and the data entered by the user is also not lost.

Disadvantages

·         Ajax application development may lead to increase in development time and cost.

·         The biggest concern is accessibility because all browsers do not completely support Javascript and xmlHttpRequest object.

·         Using Ajax to asynchronously load bits of data into the existing page conflicts the way the users are used to viewing, navigating and creating bookmarks in a modern browser.

·         Another disadvantage lies in the xmlHttpRequest object itself because one can use it to access information from the host that served the “initial page” (due to security reasons).


View Entire Article

User Comments

Title: hai   
Name: bala
Date: 2012-08-28 12:51:06 AM
Comment:
hello how r u
Title: Sundar   
Name: Sundar
Date: 2011-05-29 11:31:33 AM
Comment:
Yes, Ajax Is Really Very Easy. But It Is Very Hard TO Learn
Title: fantastic explanation   
Name: harish Solanki
Date: 2010-12-12 11:57:30 PM
Comment:
it is a great article and after reading this now i am able to understand how ajax works.
Title: Excellent   
Name: clhenter
Date: 2009-09-28 9:48:45 AM
Comment:
Excellent article.
Title: Keeping it simple   
Name: Fat Limbaugh
Date: 2009-05-31 8:36:26 PM
Comment:
You did a good job of keeping it simple and straight forward
Title: all   
Name: jagadish jadhav
Date: 2009-01-10 5:29:08 AM
Comment:
I really thanks to this site owner. it is ever made site for the bignner programmer.
Title: Helpful for Begineers   
Name: Md. Mostafijur Rahman
Date: 2008-08-31 1:26:57 AM
Comment:
Easy to understand..simply nice...
Title: Article on Ajax   
Name: narendra
Date: 2008-07-16 5:50:51 AM
Comment:
Nice article
Title: Good to know about ajax for beginners   
Name: Harikrishna
Date: 2008-07-01 7:28:32 AM
Comment:
This article is very good. Basic idea how Ajax works? simple to understand.
Title: Mind Blowing   
Name: Surendra
Date: 2008-05-22 8:51:38 AM
Comment:
I am new to AJAX and find very comfortable with this article
Title: excellent   
Name: susan
Date: 2008-04-11 9:40:13 PM
Comment:
Wow that was a nice explanation for a newbie to AJAX. Thanks for keeping it simple and easy to understand!
Title: Very Nice   
Name: chirag Panchal (MCA)
Date: 2008-03-28 8:20:34 AM
Comment:
I'm new to AJAX I found this article is very interesting and useful.Thanks a lot.
chirag.bca.mca2007@gmail.com
Title: Really Good   
Name: Prabhakar reddy.D
Date: 2008-02-29 12:49:10 AM
Comment:
I'm new to AJAX I found this article is very interesting and useful.Thanks a lot.
Title: fruitful, really wonderful   
Name: kanagaraj.P
Date: 2008-02-25 4:04:33 AM
Comment:
im very much interested to learn new tech'y. i lve AJAX. I don't knw where to get started, i got tis site. very much informative. Can i get more detailed things abt ajax./.? please help me out to become familiar..
My e mail id:
kanagu.k.raj@gmail.com
Title: Very Useful   
Name: Nandagopal
Date: 2008-02-01 1:01:38 PM
Comment:
I'm new to AJAX I found this article is very interesting and useful.Thanks a lot.
Title: Fruitful Article   
Name: Praveen Kumar emw
Date: 2008-01-29 7:41:22 AM
Comment:
This atricle is very useful.It clears my doubts relating where should AJAX use and where shouldn't.
Thanx a lot.
Title: Ajax   
Name: Ravi
Date: 2007-12-05 12:20:46 PM
Comment:
This Article is good but give example with Asp.Net
.aspx pages
Title: Informative Article   
Name: Ravinder Saini
Date: 2007-11-25 8:25:47 AM
Comment:
Please send me info on AJAX.I need to start developing using ASP.Net with AJAX very soon.


Thanx
Title: EXCELLENT ARTCLE   
Name: asim
Date: 2007-11-22 10:34:49 AM
Comment:
exellent article thanks.
Title: good 2 see   
Name: prashanth
Date: 2007-09-20 7:03:12 AM
Comment:
good 2 all
Title: AJAX - a Detailed Insight   
Name: Balaji
Date: 2007-09-18 11:59:24 PM
Comment:
Hi,
HATS OFF to Debjani Mallick.
Such a detailed insight in a simple language with easy examples..........
I request you to post more and more articles........
Title: Re: security disadvantage?   
Name: Debjani Mallick
Date: 2007-09-18 11:44:50 AM
Comment:
In actual, due to security constraints XMLHttpRequest can only be used to access information from the host that served the initial page. If we need to display information from another server, it is generally not possible within the AJAX paradigm. XMLHttpRequest applies a restriction policy to the same origin. This kind of control will
deny any request made outside actual host,
considering port and protocol.
Title: ...........   
Name: john simpson
Date: 2007-09-18 6:00:02 AM
Comment:
I am new to AJAX and I was wondering for some good information on Ajax. But when i went through your article, i really feel assured and now i can proceed for some AJAX stuffs.

I really feel thankful to you, for publishing such a managed article.
Title: security disadvantage?   
Name: K. Winter
Date: 2007-09-18 4:25:08 AM
Comment:
Thanks for the article, it was useful. Can you shed some more light on the disadvantage that you noted:
"Another disadvantage lies in the xmlHttpRequest object itself because one can use it to access information from the host that served the “initial page” (due to security reasons)."






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-24 10:08:42 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search