Ajax Basics And Framework

download Ajax Basics And Framework

If you can't read please download the document

Transcript of Ajax Basics And Framework

Ajax Basics and Framework

K.shivaprasad9092696592

What is Ajax?

Ajax(Asynchronous Java Script and Xml)is a group of interrelated web development techniques used on the client-side to create interactive web applications

More about Ajax

With ajax web application can retrieve data from the server asynchronously in the background with out interfering with the display and behavior of the existing page.

Data are usually retrieved using the XMLHttpRequest object

Ajax uses the combination of HTML and CSS to markup and style information

Continue..

The Dom is accesed with javascript to dynamically displays and to allow the user to interact with the information presented.

Java script and the XMLHttpRequest object provide a method for exchaning data asynchronously between browser and server to avoid full page reload.

Technologies in Ajax.

HTML or XHTML and css for presentation

The Dcument Object Model for dynamicallydisplay of and interaction with data.

XML and XSLT for the interchange and manipulation and Display of date respectively

The XMLHttpRequest object for Asynchronous communication

Javascript to bring these technologies together.

Ajax Uses.

Using a Ajax web application an request may the context that needs to be updated thus draftically reducing the bandwidth usage and load time.

The use of asynchronous requests allows the clints web browser UI to be more interactive and to respond quickly to inputs and sections of pages can also be reloaded individually.

The use of Ajx can reduce connection to the server,since scripts and style only here to be requested once.

Draw Backs

Owing to their dynamic nature.Ajax interfaces are often harder to develop when comared to static pages

Pages dynamically created using successive Ajax requests do not automatically register themselves with the browsers history engine.

Dynamic web page updates also make ifdifficult for a user to bookmark a particular state of application.

Because most web Crawlers donot execute Javascript code.

Drawbacks Continue..

The same origin policy prevents some Ajax techniques from being used across domains.

Like other web technologies Ajax has its own set of changes that developers must address.

Developers familar with other web technologies may have to learn new testing and coding methods to write secure Ajax application.

Thank you..