Share » Learn » eZ Publish » Clean Up Your Applications Using AJAX

Clean Up Your Applications Using AJAX

Thursday 12 April 2007 6:13:00 am

  • Currently 3 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

PHP enables you to do a lot with web applications using an extremely thin client. One of its drawbacks, however, is the delay between page loads and its inability to get new data without submitting a form. AJAX gives you an additional communication channel with your PHP server, allowing you to send and receive data without reloading the page. This opens up a whole new world of possibilities and, when matched with JavaScript DOM manipulation, lets you create rich, interactive applications that remove the "click-and-wait" you have suffered through for years.

This article gives a practical introduction to AJAX. We will describe two successful PHP libraries and create a small application, a Google Suggest-like search field.

To get the most out of this article, you should have good skills in object-oriented programming in PHP4 or PHP5. You should also have some knowledge of JavaScript.

36 542 Users on board!

Tutorial menu

Printable

Printer Friendly version of the full article on one page with plain styles

Author(s)