Ajax – Tutorials, Examples, and History

April 1, 2007 30 Comments

Ajax (Asynchronous JavaScript and XML) is a method of building interactive applications for the Web that process user requests immediately. Ajax combines several programming tools including JavaScript, dynamic HTML (DHTML), Extensible Markup Language (XML), cascading style sheets (CSS), the Document Object Model (DOM), and the Microsoft object, XMLHttpRequest. Ajax allows content on Web pages to update immediately when a user performs an action, unlike an HTTP request, during which users must wait for a whole new page to load. For example, a weather forecasting site could display local conditions on one side of the page without delay after a user types in a zip code.

Google Maps is one well-known application that uses Ajax. The interface allows the user to change views and manipulate the map in real time. Ajax applications do not require installation of a plug-in, but work directly with a Web browser. Because of the technique’s reliance on XMLHttpRequest, early applications worked only with Microsoft’s Internet Explorer browser, but most other browsers now support Ajax.

Applications created with Ajax use an engine that acts as an intermediary between a user’s browser and the server from which it is requesting information. Instead of loading a traditional Web page, the user’s browser loads the Ajax engine, which displays the page the user sees. The engine continues to run in the background, using JavaScript to communicate with the Web browser. User input or clicking on the page sends a JavaScript call to the Ajax engine, which can respond instantly in many cases. If the engine needs additional data, it requests it from the server, usually using XML, while it is simultaneously updating the page.

Ajax is not a proprietary technology or a packaged product. Web developers have been using JavaScript and XML in combination for several years. Jesse James Garrett of the consultancy firm Adaptive Path is credited with coining the name “Ajax” as a shorthand way to refer to the specific technologies involved in a current approach.

The ten best tutorials, and examples. 

 

  1. Ajax Tutorial: Ajax What is it Good For?
    1. This site covers not only how to code in Ajax, and to implement it into your site, but also the history of it, and how it came to be.  It is a good place to start.
  2. Rasmus’ 30 second Ajax Tutorial
    1. This is a quick and dirty introduction to Ajax.  It doesn’t go in depth, but in 30 seconds (ok, a few minutes) you should be able to comprehend it; if you have coding knowledge.
  3. Ajax: Getting Started
    1. This is from the Mozilla developer center.  This is also a somewhat basic introduction to Ajax, but it is quite nicely laid out.
  4. Interactivity with Remote Scripting
    1. This is just like the first two, basic, yet understandable.  A good read if you are still having trouble understanding Ajax, and remote scripting.
  5. Ajax Examples
    1. This site isn’t so much a tutorial, as it is a comprehensive list of Ajax examples.  The author lists real world uses of Ajax to give you ideas on what you can use it for in your sites.
  6. Ajax (programming)
    1. Wikipedia usually has a plethora of information and links for many, many topics.  This is also true for Ajax programming.  There is some great information here, and make sure to check out the external links at the end of the wiki.
  7. Ajax in ASP.NET
    1. If you are an ASP.NET developer, than this is the place to take a look at once you understand the basics of Ajax.  Microsoft is busy working on their own implementation of Ajax; called Atlas, but it isn’t ready yet.
  8. Ajax with J2EE
    1. Another tutorial of Ajax, this time implementing with J2EE.
  9. Ruby on Rails
    1. There is a very active group of developers that swear by Ruby on Rails.  It is a framework that accelerates the development of Ajax.  It is considered a very fleshed out and easy to use version of Ajax.  As a bonus; Ruby is incredibly easy to learn to code in.
  10. Ajax: A New Approach to Web Applications
    1. It’s probably best to actually include the article that coined the term Ajax.  It doesn’t have code examples, but does give a nice walkthrough of how Ajax actually works.
Software, Technology

30 Responses to “Ajax – Tutorials, Examples, and History”

  1. 1
    Hipolito M. Wiseman Says:

    Between me and my husband we’ve owned more MP3 players over the years than I can count, including Sansas, iRivers, iPods (classic & touch), the Ibiza Rhapsody, etc. But, the last few years I’ve settled down to one line of players. Why? Because I was happy to discover how well-designed and fun to use the underappreciated (and widely mocked) Zunes are.

  2. 2
    motorola reviews Says:

    In searching for sites related to web hosting and specifically comparison hosting linux plan web,

  3. 3
    acai berry power 500 Says:

    You wouldn’t believe it but I’ve wasted all day digging for some articles about this. You’re a lifesaver, it was an excellent read and has helped me out to no end. Cheers!

  4. 4
    Shira Buchmann Says:

    Very timely post for me. All I’ve been hearing lately is affiliate marketing and list building. And I’m finally taking action by writing an ebook to accomplish both! I am actually reorganizing my whole business based on affiliate marketing and referrals! Selling other people’s products is a solid gig.

  5. 5
    Wei Odeh Says:

    Great tips you have on your site. I am a new blogger and learning to write effective contents. I had started to jot down notes so the idea will not slip out when I sit in front of the com.

  6. 6
    News on Personal Loans Says:

    What is captcha code?, pls provide me captcha code codes or plugin, Thanks in advance.

  7. 7
    se nuke Says:

    gr8 resrch bro…

  8. 8
    auto traffic avalanche Says:

    Truly genuinely very good weblog publish which has got me considering. I never looked at this from your point of view.

  9. 9
    Free Full Movie Downloads Says:

    Can I just say what a relief to find someone who definitely knows what theyre talking about on the internet. You really know how to bring an dilemma to light and make it important. Much more folks must read this and understand this side of the story. I cant feel youre not additional well-known because you definitely have the gift.

  10. 10
    get rid of yeast infection Says:

    Wow! Amazing.

  11. 11
    Connie Seliba Says:

    Youre not the average weblog writer, guy. You certainly have anything powerful to add on the net. Your style is so powerful that you could almost get away with being a bad writer, but youre even amazing at expressing what you could have to say. Such a great blog. Ill be back for far more.

  12. 12
    lose stubborn body fat Says:

    I am your new reader from now onwards.

  13. 13
    Roseline Gentille Says:

    Aw, it was a quality content. Theoretically I would like to write like this too – taking skill and true effort to make a good posting… however what could I say… I put things off a whole lot and never seem to get something carried out…

  14. 14
    Amazine Diet Says:

    I love your blog too much. Keep working on it.

  15. 15
    Reid Decorte Says:

    I fully accept the above comment, the web is undeniably growing into the most essential channel of communication across the globe and it’s thanks to blogs such as this that thoughts are spreading so fast.

  16. 16
    burn stubborn pounds Says:

    I can’t say enough thank for such a wonderful post.

  17. 17
    My Coffland Says:

    In that case, has been given the benefit of the doubt and this is the latest news.

  18. 18
    Eugena Bergreen Says:

    It is easy to pick up a new any time that you are in need of something like that.

  19. 19
    Jerome Hopper Says:

    I imagine that they may handle the volume.

  20. 20
    Kelsey Petrillo Says:

    Hey, I just wanted to let you know, I really like the written material on your website. But I am utilising Chromium on a machine running version 9.04 of Ubuntu as well as the seem and really feel aren’t pretty satisfying. Not a strong deal, I can still essentially study the articles and search for info, but just wanted to inform you about that. The navigation bar is kind of challenging to use while using config I’m running. Retain up the superb operate!

  21. 21
    770 Says:

    This is only going to assist you more in the long run.

  22. 22
    partition Says:

    However, most fans are willing to pay for.

  23. 23
    Darcel Benthall Says:

    Found your web site and decided to use a quick study, not what a typically do but great a single. Good to see a website to get a change that isn’t full of spam and rubbish, and in fact makes some sense. Anyway, nice write up.

  24. 24
    ldlc a sous sans telechargement Says:

    This is because you aren’t just talking out of your ass.

  25. 25
    casino en ligne en francais Says:

    That is sort of free advertising.

  26. 26
    casino en ligne français Says:

    Then again, don’t be concerned, I’m getting to this.

  27. 27
    casino en ligne fr Says:

    Still, Patience is a virtue.

  28. 28
    casino tropez Says:

    When mobs have a bad experience with , they can’t wait to tell others.

  29. 29
    casino en ligne acceptant Says:

    I’d be in deep trouble right now.

  30. 30
    jeux casino en ligne gratuit Says:

    However, doing needs a boatload of preparation.

Leave a Reply

Powered by WP Hashcash

World Trade Center Building 7 was NOT hit by an aircraft.

9/11 Controlled Demolitions of September 11, 2001 World Trade Center Building 7 was NOT hit by an aircraft. This...

HAPPY DIWALI AND NEW YEAR, CELEBRATE Diwali

HAPPY DIWALI AND NEW YEAR TO U *. * . * . * . * . * . *...

Dipawali 2009 pooja time, Diwali Muhurats 2009, Auspicious time forLakshmi Puja

Diwali Pooja Muhurats, Auspicious time, Shubh Samay in 2009 Pushya Nakshatra October 12, 2009 is the ‘Pushya Nakshatra’ which...

Diwali sms, Free Diwali sms, Happy Diwali sms, Free Send Diwali sms

Diwali sms Diwali aai, masti chahi, rangi rangoli, Diwali aai, masti chahi, rangi rangoli, deep jalaye, Dhoom Dhadaka, chhoda...

Munna bhai Free SMS, Mobile Text Messages, Tapoti Style Akdom Zakasss

Tera bahot memory aa rela tha,Itna tem ho gela hai,tere ko dekha bhi nai,Akha life mei tere jesa 1...

Find Popular Searches in the web solutions Development Outsourcing

cheap internet marketing web design birmingham website hosting website submission ecommerce web hosting content management systems strategic internet marketing...

Some easy steps you can take to tackle a flu / swine flu virus of any kind

It is essential to remember that all kinds of viruses and bacteria can attack you when your immune system...

Mobile Phone Etiquettes – all good things should be enjoyed responsibly

We all love our mobiles… we talk, we text, we listen to music and we stay in touch.Can we...

Adsense Alternatives – available to webmasters wishing to monetize the web

Here are the Adsense Alternatives that are available to webmasters wishing to monetize the web! Adbrite AdEngage Adgenta Adhearus...

Worldwide Mobile Operator MMSC Settings – For receiving and sending MMS

Worldwide Mobile Operator MMSC Settings Setting For receiving and sending MMS From your mobile phone or GSM Modem [Albania...