A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Simple PHP + AJAX + XML Chat Tutorial

A short but complete tutorial on how to write a Chat Application using PHP, AJAX and XML.

Developers talk a lot about community when the term Web 2.0 comes up. And whether you think it’s hype or not, the idea of engaging your customers or readers in an instantaneous conversation about the topics at hand or the products you’re selling is pretty compelling. But how do you get there? Can you put a chat box on the same page as your product listing so that your customers don’t have to install special software or even Adobe Flash Player? Sure! Turns out, you can do it all with free, off-the-shelf tools such as PHP, MySQL, dynamic HTML (DHTML), Ajax, and the Prototype.js library.

Without further ado, let’s jump right into the implementation.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>