News Feed

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

HowTo Forge: Installing Lighttpd With PHP5 And MySQL Support On Mandriva 2008.0

SitePoint PHP Blog: Popular Users per Language and Region with Silex and Github

SitePoint PHP Blog: How to Deploy Symfony Apps with Capifony Introducing UDASSS! Programming With Yii2: Blameable Behaviors

Community Events

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

example interview series symfony part2 application laravel opinion framework php7 project podcast language community api list yii2 introduction composer programming

All content copyright, 2015 :: - Powered by the Solar PHP Framework