background preloader

Ajax

Facebook Twitter

How AJAX Works: 10 Practical Uses For AJAX | Noupe. Jun 14 2009 AJAX has gotten more and more popular over the years, and has allowed web applications to act more and more like desktop applications. AJAX can provide a lot of additional functionality that could not be accomplished any other way. What Is AJAX? How Does It Work? AJAX stands for Asynchronous JavaScript and XML.

Here is how the usual AJAX script goes: Some action triggers the event, like the user clicking a button.The AJAX call fires, and sends a request to a server-side script, using XMLThe server-side script (PHP, ASP, or whatever) takes the input from JavaScript, can access the database if it needs to, and processes the data.Using XML again, the script sends the data back to the original client-side page that made the requestA second JavaScript function, called a callback function,catches the data, and updates the web page Throughout this tutorial, we will discuss how various scripts use this routine to accomplish a wide variety of effects. 1. Example: Digg.com (top of page) 2. 10 Promising JavaScript Frameworks - Six Revisions. Popular JavaScript frameworks/libraries like jQuery, MooTools, Prototype, and YUI (to name a few of the most popular JavaScript frameworks out there) definitely have a solid foothold in the JavaScript framework arena. But for the more adventurous developers looking for new or alternative frameworks/libraries – there are some excellent frameworks outside the popular ones that’s worth checking out.

It’s always good to consider all of your options before settling on a JavaScript framework that’s right for you and/or your team – and though there’s definitely a lot of compelling reasons to stick to the big names – it won’t hurt you any to at least try the alternatives. This article showcases 10 alternative and capable JavaScript frameworks/libraries to explore. Links to some of their demos (when available) are included in the entry so that you can see the framework in action. 1. SproutCore SproutCore demonstrations: Photos, Sample Controls 2. Spry is Adobe’s Ajax framework. 3. 4. qooxdoo 6. 7.

25 Excellent Ajax Techniques and Examples - Six Revisions. Ajax allows for rich-internet applications that mimic the responsiveness and complex user interfaces typically associated with desktop applications. Moving applications to the web browser opens many possibilities, including the ability to save user data, connecting with other users for collaboration and sharing, and making deployment and using the application easier since web browsers are standard-issue with most computers regardless of operating system. If you’re interested in expanding your understanding of Ajax techniques and practices, check out these 25 hand-picked Ajax articles and tutorials that outline various methods and concepts involved in the development of Ajax-based applications.

Though most are geared for budding and intermediate developers, veterans might find a trick or two they haven’t encountered before. 1. Ajax RSS reader Build a simple RSS reader that takes remote XML data from RSS feeds using Ajax, PHP, and MySQL. 2. Ajax Desktop demo 3. 4. 5. 6. Quick Calendar demo. Uncluttr (alpha) Mootools.