Chapter 19. FACILITATING DYNAMIC AJAX CALLS WITH PERL

Introducing AJAX

AJAX, or Asynchronous JavaScript and XML, is a development technique that uses client-side JavaScript to communicate using XML through to a server-side component, independent of the initial HTML download of a Web page. AJAX has the benefit of being able to change an already-loaded Web page dynamically, without needing to download and render an entirely new page just to display new content.

Normally, after an initial page load, when the user clicks a button on a Web page, the browser loads the URL link assigned to the button, and the entire Web page refreshes. After implementing AJAX, that button click actually opens up a connection to the Web server, independent of the Web browser's ...

Get Perl and Apache: Your visual blueprint for developing dynamic Web content now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.