Oracle Magazine Special offer for AjaxImpact.com Visitors!! Subscribe to Oracle Magazine for Free!
AJAX IMPACT


ARTICLES
A Hype-Free Introduction to AJAX
04/19/2006, By Chris Schalk



You've probably heard all the AJAX hype by now, as well as seen the many products that claim AJAX support or "compliance." However, you probably haven't seen a good, simple technical explanation of what AJAX really "is." In this article, you'll get an overview of the core fundamentals of what makes AJAX possible without all the usual product-pushing hype.

AJAX Under The Hood

Before reviewing more advanced examples of AJAX integrated with other technologies, such as with JSF, it is useful to understand the core AJAX architecture involved in an AJAX client-server transaction.

AJAX is possible providing the two core technologies are present:

  • A Javascript-enabled browser that supports either XMLHTTP or XMLHttpRequest objects


  • An HTTP Server technology that can respond in XML


  • Because all the popular browsers support Javascript and the necessary XMLHTTP request objects and almost any Web server technology can generate XML (or any markup), the core AJAX technology is widely available.

    An AJAX application in its simplest form is essentially a standard HTML user interface with Javascript functions to interact with an HTTP server that can generate XML dynamically. Any dynamic Web technology ranging from CGI to servlets—including JSF as we’ll review later—can serve as a server-side AJAX technology.

    The key elements of a core AJAX application are:

    1. An HTML page that contains:

  • UI elements that interact with AJAX Javascript functions
  • Javascript Functions that interact with AJAX server


  • 2. A server-side Web technology that can process HTTP requests and respond in XML markup.

       Read Full Article...

     Rate this Ajax Articles
    Error connecting to mysql