Encyclopedia   News & Magazines
   Art
   Business
   Citizenship
   Countries
   Design
   Everyday
   Geography
   History
   Technology
   Literature
   Mathematics
   Music
   People
   Science
   Religion
   Most Popular



 Go Ajax (programming) - Go Deeper  

Ajax (programming)

2007 Concise Encyclopedia. Related subjects: Computer Programming

Ajax, shorthand for Asynchronous JavaScript and XML, is a web development technique for creating interactive web applications. The intent is to make web pages feel more responsive by exchanging small amounts of data with the server behind the scenes, so that the entire web page does not have to be reloaded each time the user makes a change. This is meant to increase the web page's interactivity, speed, and usability.

The Ajax technique uses a combination of:

  • XHTML (or HTML) and CSS, for marking up and styling information.
  • The DOM accessed with a client-side scripting language, especially ECMAScript implementations such as JavaScript and JScript, to dynamically display and interact with the information presented.
  • The XMLHttpRequest object is used to exchange data asynchronously with the web server. In some Ajax frameworks and in certain situations, an IFrame object is used instead of the XMLHttpRequest object to exchange data with the web server, and in other implementations, dynamically added < script> tags may be used.
  • XML is sometimes used as the format for transferring data between the server and client, although any format will work, including preformatted HTML, plain text, JSON and even EBML. These files may be created dynamically by some form of server-side scripting.

Like DHTML, LAMP and SPA, Ajax is not a technology in itself, but a term that refers to the use of a group of technologies.

History

The first use of the term in public was by Jesse James Garrett in February 2005. Garrett thought of the term while in the shower, when he realized the need for a shorthand term to represent the suite of technologies he was proposing to a client.

Although the term "Ajax" was coined in 2005, most histories of the technologies that enable Ajax start a decade earlier with Microsoft's initiatives in developing Remote Scripting. Techniques for the asynchronous loading of content on an existing Web page without requiring a full reload date back as far as the IFRAME element type (introduced in Internet Explorer 3 in 1996) and the LAYER element type (introduced in Netscape 4 in 1997, abandoned during early development of Mozilla). Both element types had a src attribute that could take any external URL, and by loading a page containing JavaScript that manipulated the parent page, Ajax-like effects could be attained. This set of client-side technologies was usually grouped together under the generic term of DHTML. Macromedia's Flash could also, from version 4, load XML and CSV files from a remote server without requiring a browser refresh.

Microsoft's Remote Scripting (or MSRS, introduced in 1998) acted as a more elegant replacement for these techniques, with data being pulled in by a Java applet with which the client side could communicate using JavaScript. This technique worked on both Internet Explorer version 4 and Netscape Navigator version 4 onwards. Microsoft then created the XMLHttpRequest object in Internet Explorer version 5 and first took advantage of these techniques using XMLHttpRequest in Outlook Web Access supplied with the Microsoft Exchange Server 2000 release.

The Web development community, first collaborating via the microsoft.public.scripting.remote newsgroup and later through blog aggregation, subsequently developed a range of techniques for remote scripting in order to enable consistent results across different browsers. In 2002, a user-community modification to Microsoft Remote Scripting was made to replace the Java applet with XMLHttpRequest.

Remote Scripting Frameworks such as ARSCIF surfaced in 2003 not long before Microsoft introduced Callbacks in ASP.NET.

Since XMLHttpRequest is now implemented across the majority of browsers in use, alternative techniques are used infrequently. However, they are still used where compatibility with older Web sites or legacy applications is required.

In addition, the World Wide Web Consortium has several Recommendations that also allow for dynamic communication between a server and user agent, though few of them are well supported. These would include:

  • The object element defined in HTML 4 for embedding arbitrary content types into documents, (replaces inline frames under XHTML 1.1)
  • The Document Object Model (DOM) Level 3 Load and Save Specification



Retrieved from " http://en.wikipedia.org/wiki/Ajax_%28programming%29"

Selected Articles
Programming ASP.NET AJAX--New from O'Reilly Media Building Dynamic Web 2.0-Style UIs the Easy Way.
...2007-O'Reilly UK Limited: Programming ASP.NET AJAX--New from O'Reilly Media...trainer Christopher Wenz's Programming ASP.NET AJAX (O'Reilly), you'll learn...writing cross-browser code. Programming ASP.NET AJAX contains many hard-to-find...
October 23, 2007; M2 Presswire

Building Ajax-style applications with ASP.NET Atlas; O'Reilly releases "Programming Atlas".
...ASSOCIATES: Building Ajax-style applications...Reilly releases Programming Atlas (C)1994-2006...same benefits for Ajax technologies that...In his new book, Programming Atlas (O'Reilly...ASP.NET 2.0 book, Programming Atlas dives into...technologies that make Ajax work. The book ...
November 23, 2006; M2 Presswire

Create interactive web applications using programming and usability patterns; O'Reilly releases "Ajax Design Patterns".
...interactive web applications using programming and usability patterns; O'Reilly releases Ajax Design Patterns (C)1994-2006...effectively and not just use Ajax for the coolness factor...initial seed into a book of Ajax patterns. The patterns in...technologies required for Ajax development ...
July 25, 2006; M2 Presswire

Programming Ajax.(SOFTWARE INTELLIGENCE)
Asynchronous JavaScript And XML, or its acronym Ajax, is a Web development technique for creating...interactivity, speed, and usability. The Ajax technique uses a combination of: * XHTML...asynchronously with the web server. In some Ajax frameworks and in some situations, an IFrame...
March 1, 2006; Software World

B-to-b media buy concept.(usage of Ajax web programming by media executives)(InfoWorld Media Group Inc introduces IT Exec-Connect )
...new enabling technology, Hines said, is Ajax or dynamic HTML, which allows parts of...having to reload all of it. We're using Ajax in a wide variety of ways,'' Hines said...that made Web pages stateless [such as Ajax]. Then, it came to be more about user-generated...
November 13, 2006; B to B

Mobile Ajax may give Opera the platform it needs to overtake Java.(MASTERCLASS)
...biggest hype in programming circles right now is around Ajax (Asynchronous JavaScript...and XML) for web programming. IBM has proposed...web application programming interfaces (APIs...cornerstone of the Ajax architecture. The...device application programming interfaces for...to make ...
May 1, 2006; RETHINK IT

Learning ASP.NET 2.0 with AJAX--New from O'Reilly Media Building Engaging Websites with ASP.NET and AJAX.
...NET and ASP.NET AJAX) is that you'll...with drag and drop programming and just a little...providing contract programming and database development...Learning ASP.NET with AJAX, Programming C#, Programming...servers to PHP web programming to running an eBay...ASP.NET 2.0 with ...
November 1, 2007; M2 Presswire

TIBCO Unveils PageBus, Donates Core of Ajax Message Bus Software to OpenAjax Alliance.
...establish industry standards for Ajax component interoperability...Composite applications created with Ajax can range from a few simple...integration problem. As the use of Ajax within portals, composite applications...increasingly sophisticated, the programming required can increase ...
July 30, 2007; PR Newswire

ICEsoft Joins Other Industry Leaders in Open AJAX Alliance.
...ICEsoft today announced that it has joined the Open AJAX Alliance, a new industry group dedicated to increasing the popularity and value of AJAX as an enabling technology for creating rich Internet applications...helping the alliance improve interoperability between various AJAX technologies, and in ...
June 8, 2006; PR Newswire

Tibco unveils PageBus, donates core of Ajax message bus software to OpenAjax Alliance; Company kicks off Ajax Mashup Challenge.
...establish industry standards for Ajax component interoperability...Composite applications created with Ajax can range from a few simple...integration problem. As the use of Ajax within portals, composite applications...increasingly sophisticated, the programming required can increase ...
July 30, 2007; M2 Presswire



About - Terms of Use - Subject Index - Home