More dynamic websites thanks to AJAX

AJAX POWER

Article from Issue 62/2006
Author(s):

AJAX technology adds dynamic elements to enhance sluggish websites. All it takes is a server-side Perl program and some client-side JavaScript code.

Web developers were rudely awakened when Google introduced its Maps service. All of a sudden users could move maps dynamically, as though the application were running as a local GUI rather than in a browser. All of a sudden, time-consuming client-server round trips were hardly noticeable, since the current page didn’t need to be reloaded in order to reflect state changes in the application. Today, Ajax applications are sprouting all over the web. The beta release of Yahoo! Webmail, for example, looks very much like a desktop application; you have to take a very close look to see that your web browser is running the show. AJAX (Asynchronous JavaScript and XML) is based on dynamic HTML and client-side JavaScript. The XMLHttpRequest object, originally added by Microsoft and flying under the radar until Google helped it to fame, allows a JavaScript script downloaded from a website to exchange data asynchronously with the web server. It then dynamically smuggles this data into the HTML page, meaning that only minor changes need to take place on the page.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • AJAX

    AJAX offers a fast and efficient approach for building interactive websites. We’ll show you how to call upon the powers of AJAX for your own web creations.

  • Google Web Toolkit

    The Google Web Toolkit lets you develop complex web applications in Java and automatically converts them to AJAX apps.

  • Web-based Office Tools

    A mobile office without a laptop? No problem – a new generation of web applications converts your browser into a word processor or spreadsheet.

  • Bricolage 2.0 Web CMS Based on Ajax

    The first major release of the software since 2001 provides numerous new features.

  • Google Web Toolkit

    The Ingenious Google Web Toolkit builds optimized JavaScript applications in a hurry.

comments powered by Disqus

Direct Download

Read full article as PDF:

Perl_AJAX.pdf (268.83 kB)

News