News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

IBM developerWorks:
Ajax and XML Ajax for chat
December 06, 2007 @ 10:24:00

The IBM developerWorks blog has a new tutorial posted today about using the combination of PHP and Ajax to create a simple chat application (with a database backend).

Learn to build a chat system into your Web application with Asynchronous JavaScript + XML (Ajax) and PHP. Your customers can talk to you and to each other about the content of the site without having to download or install any special instant-messaging software.

Complete code is included (even the database table schemas) to create the simple application. They make the four pages to get it working and call that part of it good. The second part of the article, though, builds on this base and adds a fix for performance issues caused by constant polling of the database by the ajax request.

0 comments voice your opinion now!
ajax tutorial chat application performance issue intermediate ajax tutorial chat application performance issue intermediate


blog comments powered by Disqus

Similar Posts

Richard Lord's Blog: Why I like the Zend Framework

PHPMag.ru: Zend Framework: models auto-loading

Federico Cargnelutti's Blog: Building a RESTful Web API with PHP and Apify

Jeremy Cook's Blog: Implementing IteratorAggregate and Iterator

php|architect: The Magic __set_state Method


Community Events

Don't see your event here?
Let us know!


performance opinion api laravel release conference community composer symfony2 framework install introduction configure interview php7 podcast example application series library

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework