This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

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

Clean Up Your Applications Using AJAX

Thursday 12 April 2007 3:13:00 pm

  • 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)

Proudly Developed with from