37 sites, 22,877 entries and counting...     Get a free blog; Join a Weblog Network!
Top

Getting Started with Ajax

July 4, 2010

The commencement by 2005 came across the ascent of a comparatively fresh technology, nicknamed “Ajax” by Jesse James Garrett of Adaptive Path. Ajax means Asynchronous JavaScript and XML. In a nutshell, it’s the function of the nonstandard XMLHttpRequest() object to pass on server-side scripts. It can commit as easily as get data in a mixture of formats, including XML, HTML, and even documents. Ajax’s most imploring feature, nevertheless, is its “asynchronous” nature, which intends it can do all of this without being forced to refresh the page. This lets you to update parts of a page established on user events and allows one among the foundations of Rich Internet Applications (RIA) cited in discussions of “Web 2.0.”

The DOM plays into Ajax in different ways. How you use the DOM depends on how you handle the content delivered from the server. You will be able to address the con­tent as simple text by utilising the responseText attribute of the server response, or you can address it as XML using responseXML. Presuming the content you pull back from the server is an (X)HTML snippet and you have gotten it as responseText, you dismissed content into a particular spot on the page using innerHTML. On the flip side, if the content you pull back is XML and you’ve gotten it as responseXML, you will be able to traverse its DOM, cherry-picking or performing functions on the elements, attributes, and text nodes.

This in all likelihood sounds very puzzling, but it’s pretty comfortable once we check a couple of easy examples.

Comments

4 Responses to “Getting Started with Ajax”

  1. Tweets that mention Getting Started with Ajax : Ajax Blog Ajax Tutorial Examples -- Topsy.com on July 4th, 2010 5:49 am

    [...] This post was mentioned on Twitter by Michael Davis. Michael Davis said: RT @emekaokoye: RT @jQueryBot: via @xil3 #ajax #javascript Getting Started with Ajax http://dlvr.it/2HWvs #php #jquery @myen [...]

  2. Getting Started with Ajax : Ajax Blog Ajax Tutorial Examples | Programming Blog Imagik.org on July 4th, 2010 6:16 am

    [...] posted here: Getting Started with Ajax : Ajax Blog Ajax Tutorial Examples No [...]

  3. Getting Started with Ajax : Ajax Blog Ajax Tutorial Examples | Yoobz.com on July 4th, 2010 9:31 am

    [...] Getting Started with Ajax : Ajax Blog Ajax Tutorial Examples Share and [...]

  4. pandora on July 8th, 2010 12:11 am

    Your home page is very good, the contents is new very incisive, glad to leave your message here and participate in the discussion. Thanks for that recommendation; it is really helpful for me to say!

    billig ed hardy bekleidung/ed hardy clothes/ed hardy/louis vuitton

Got something to say?





Credit Counseling - Arizona Landscaping - click fraud protection - Renegade Motorhomes
Bottom