Ajax Advantages And Disadvantages

Thursday, 7 July 2011
Why use AJAX?

Building a web application that employs AJAX is more difficult than building it the classic way. You need to go to extra lengths to make sure that the user experience is and remains enjoyable, and not plain annoying. With all the hype going around AJAX, a lot of applications that do not have a real need for it have been built. These are toys meant to prove that AJAX is fun, but with little or no use in real-life situations. At the same time, some applications that do not use AJAX are labeled as such. You can find a list of AJAX applications by using a search engine, or directly here.

The decision whether an application would benefit from using AJAX or not is entirely up to the developer. Here are a few hints to help you take the right decision.
____________________________________________________________________
The Benefits of AJAX

To help you decide whether AJAX is for you or not, here are some of the advantages it has over classic web development techniques:
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.
______________________________________________________________
The Disadvantages of AJAX

As with most new web development techniques, AJAX has its critics. There are a couple of disadvantages that need to be considered before considering an AJAX-based solution:
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).

8 comments:

  1. Unknown said...:

    I am definitely enjoying your website. You definitely have some great insight and great stories. 
    python training in velachery
    python training institute in chennai

  1. amar said...:

    UiPath Training in Bangalore by myTectra is one the best UiPath Training. myTectra is the market leader in providing Robotic Process Automation on UiPath
    ui path training in bangalore

  1. PYTHON TRAINING IN CHENNAI | INFYCLE TECHNOLOGIES:

    Infycle Technologies Chennai’s BEST PYTHON training facility accepts specific module training for any software to improve your skills and shine in your career development. Infycle is the only software training center in Chennai, equipped with more than 150 customized courses to meet the job requirements of candidates, including top positions in multinational companies. Our whole goal is not just to teach theory, but to make you a teacher by providing you with on-site practical training. Therefore, people will be required to process real-time tasks and use cases in real-time, thus bringing Best traiing in Chennai

  1. Want to do Data Science Course in Chennai with a Certification Exam? Catch the best features of Data Science training courses with Infycle Technologies, the best Data Science Training & Placement institutes in and around Chennai. Infycle offers the best hands-on training to the students with the revised curriculum to enhance their knowledge. In addition to the Certification & Training, Infycle offers placement classes for personality tests, interview preparation, and mock interviews for clearing the interviews with the best records. To have all it in your hands, dial 7504633633 for a free demo from the experts. Best software training in chennai

Post a Comment