SEO-Mix

  • Blogs
  • News
  • Technology
  • Business
  • Art
  • Music
  • Literature
  • History
  • Psychology
  • Health
  • Religion
  • Travel
  • Open Source
  • Web 2.0

AJAX Resources - Asynchronous Java and XML

AJAX - Asynchronous Java and XML

"AJAX is not a new programming language, but a technique for creating better, faster, and more interactive web applications. With AJAX, your JavaScript can communicate directly with the server, using the JavaScript XMLHttpRequest object. With this object, your JavaScript can trade data with a web server, without reloading the page. AJAX uses asynchronous data transfer (HTTP requests) between the browser and the web server, allowing web pages to request small bits of information from the server instead of whole pages. The AJAX technique makes Internet applications smaller, faster and more user-friendly."

W3Schools - AJAX = Asynchronous JavaScript and XML

Ajax: A New Approach to Web Applications

Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together in powerful new ways. Ajax incorporates:

  • standards-based presentation using XHTML and CSS;
  • dynamic display and interaction using the Document Object Model;
  • data interchange and manipulation using XML and XSLT;
  • asynchronous data retrieval using XMLHttpRequest;
  • and JavaScript binding everything together.

The classic web application model works like this: Most user actions in the interface trigger an HTTP request back to a web server. The server does some processing — retrieving data, crunching numbers, talking to various legacy systems — and then returns an HTML page to the client. It’s a model adapted from the Web’s original use as a hypertext medium, but as fans of The Elements of User Experience know, what makes the Web good for hypertext doesn’t necessarily make it good for software applications.

How Ajax is Different

An Ajax application eliminates the start-stop-start-stop nature of interaction on the Web by introducing an intermediary — an Ajax engine — between the user and the server. It seems like adding a layer to the application would make it less responsive, but the opposite is true.

Instead of loading a webpage, at the start of the session, the browser loads an Ajax engine — written in JavaScript and usually tucked away in a hidden frame. This engine is responsible for both rendering the interface the user sees and communicating with the server on the user’s behalf. The Ajax engine allows the user’s interaction with the application to happen asynchronously — independent of communication with the server. So the user is never staring at a blank browser window and an hourglass icon, waiting around for the server to do something.

Every user action that normally would generate an HTTP request takes the form of a JavaScript call to the Ajax engine instead. Any response to a user action that doesn’t require a trip back to the server — such as simple data validation, editing data in memory, and even some navigation — the engine handles on its own. If the engine needs something from the server in order to respond — if it’s submitting data for processing, loading additional interface code, or retrieving new data — the engine makes those requests asynchronously, usually using XML, without stalling a user’s interaction with the application.

"Any Ajax framework is able to communicate with the server, and thus, to read data or to send it data or commands. In the last case a server-side script is required. The frameworks often add components that make use of the asynchronous communication with the server. The classical examples are buttons, tabbed panels, grids, listboxs and other such widgets. A more innovative example, the 'boxes', are more and more often implemented, and Lightbox and Slimbox are two of them. There are image galleries that place them side by side on the screen and that are making use of Ajax to display them instantanously. Framework may be server-driven also, and in this case, component are created on the server with a scripting language such as PHP, and sent to the browser. Ajax is used to transmit user actions to the server part, and to handle the results. The ability to work offline as it is offered by Google Gears, may be added to the Ajax framework as well."

Ajax Frameworks: Main Tools for Ajax Programming

Ajax - Google & Adaptive Path

Google is making a huge investment in developing the Ajax approach. All of the major products Google has introduced over the last year — Orkut, Gmail, the latest beta version of Google Groups, Google Suggest, and Google Maps — are Ajax applications. (For more on the technical nuts and bolts of these Ajax implementations, check out these excellent analyses of Gmail, Google Suggest, and Google Maps.) Others are following suit: many of the features that people love in Flickr depend on Ajax, and Amazon’s A9.com search engine applies similar techniques.

These projects demonstrate that Ajax is not only technically sound, but also practical for real-world applications. This isn’t another technology that only works in a laboratory. And Ajax applications can be any size, from the very simple, single-function Google Suggest to the very complex and sophisticated Google Maps.

Jesse James Garrett is President and a founder of Adaptive Path. He is the author of the widely-referenced book The Elements of User Experience. Jesse’s other essays include The Nine Pillars of Successful Web Teams and Six Design Lessons From the Apple Store.

Article re-published under Creative Commons license.
Source:
http://adaptivepath.com/ideas/essays/archives/000385.php

Log InSign Up!
Username:
Password:
Forgot your password?

Social Bookmarks

  • SEO-Mix - All Links
  • Best of the Web
  • SEO Sites & Links
  • Web Publishing
  • Social Networking
  • Social Bookmarking
  • Free Blog Sites
  • Forums & Bulletin Boards
  • Wiki Sites
  • Link Exchanges
  • Banner Exchanges
  • Free Classified Ads
  • Search Engines
  • Affiliate Programs
  • Web Rings
  • Other Sites & Links

Top 10 SEO-Mix Links

  • 14 Ucapan Selamat Tahun Baru 2012
  • 10 Download Mozilla Firefox 5
  • 9 Payday Loans UK
  • 8 iPaymu.com Pembayaran Online Indonesia
  • 8 PU B.com Part 2 Result 2011, Punjab University Bcom Part II Results 2011
  • 7 YEH DOORIYAN DVDsr-Xvid Hindi Movie Online Free | YEH DOORIYAN (2011) Hindi Movie Online Free | YEH DOORIYAN Hindi Movie Online
  • 7 Tas Batik Jogja Murah
  • 7 NATPC M009S Spec UK Price Review
  • 7 Watch New Zealand v Japan live Streaming HQ Online TV Channels Rugby World Cup on 16 Sep 2011 GMT 08:00
  • 6 Freemotion 790 Interactive Treadmill

Popular Tags

alchemy American History art Artificial Intelligence Avesta Behavior Buddhanet Charles Bukowski Colonial Williamsburg Deleuze destinations Erik Erikson Facebook Freud Gnosis Guattari Health History Commons History Magazine Indian History James Joyce Korean History Kurt Vonnegut levity Mind Neuropsychology psychological instruments psychology rhizome search engine optimization SecondLife seo Taoism Templenet Transpersonal Psychology TS Eliot Vatican Web History WebMD wired
more tags
Blogs | News | Technology | Art | Music | Literature | History | Psychology | Religion | Travel | Open Source | Web 2.0 | Best of the Web | SEO Sites | Web Publishing | Social Networking | Social Bookmarking | Free Blogs | Forums & BBS | Wikis | Link Exchanges | Banner Exchanges | Classifieds | Search Engines | Affiliates | Web Rings | Other

Creative Commons License
Creative Commons Attribution 3.0 License
Community | Twitter | Privacy | Terms | Contact Us