This site loads all its content through Ajax, so the following text is placed here for google to find and index:
Ajax for Dommies!
Who is this for?
If you have a project that requires that your clients request and recieve pieces of content in specific parts of a web application or web page without reloading the page.
This is also interesting for you if you have an existing web project and you want to "Ajaxify" it without having to rewrite a bunch of code or going deep into Json's realm.
What is DomAxh?
Simply put, it's a script that parses XHTML parting from a XMLResponse object.
Why is this important?
How does it achieve this?
Basically, you just send your ajax request using your favorite handler, you can use prototype.js's for example. Then you set up your server's script so that it returns valid XHTML (just as if it where a web page but only with the piece of code you wish to display... a div, news results, etc.).
This is where the magic starts because when you recieve the XMLRespose, all you have to do is pass it to DomAxh and tell it where to insert/update the new html and that's it! DomAxh takes the XML object and translates it to HTML, and inerts/replaces it where ever you told it to.
Whats the impact on the average developer?
Yeah right! Proove it.
Well thats easy, just take a look at the source code of this page, and you will realize just how simple it was to create this slide show:
So where are we at?
DomAXh is still in development stage, but its being used in full fledge real applications today.
Who originally wrote DomAxh?
The code for DomAxh was developed by Thomas Woodard as part of his work for the MinCI (Ministry of Communications of Venezuela), and released as Open Source at SourceForge.net