Summary
Venture forward to Web V2.0 when you transport data with Ajax
This tutorial demonstrated three unique methods to get data from your server without reloading the page.
From my own experience, I recommend either using the XMLHttp or the
<script> tag method. In either case, I prefer to use JavaScript as the
transport language, because it's far easier and faster for the client to interpret.
As to the method of transport, I recommend the <script> tag approach,
because it allows users on your site to use View Source functionality on your page, grab your code, and use
it on their own pages to display your data in their context. As long as it's attributed appropriately, this
borrowing can give your site viral reach, and Web V2.0 is all about viral marketing.
That said, if this tutorial is anything, it's a demonstration of just how many ways to handle simply the data-transport portion of the Ajax equation. You must decide for yourself the most appropriate method for
your Web V2.0 applications.
6 of 9 |
Previous |
Next
Comments
Back to top
Help: Update or add to My dW interests
What's this?
This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.
And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.
View your My developerWorks profile
Return from help
static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML, Java technology, Open source, Web development
ArticleID=126179
TutorialTitle=The Ajax transport method
publish-date=06062006
author1-email=jherr@pobox.com
author1-email-cc=dwxed@us.ibm.com