Author Archives: Padraic Brady

About Padraic Brady

Padraic Brady has been an open source PHP developer since 2002. After spending three years developing PHP websites on a part time basis, and being a regular contributor/security reviewer to several online PHP games, he has since gotten a high paying job reviewing internal control systems and applications with a multinational company (who shall go nameless).Since 2004, Padraic has been working in his spare time on several PHP game projects, and has been busy developing a small PHP framework called Partholan. Plans for the future include getting a PEAR account, developing an Ajaxified Chess Server for PHP, and sharing 11+ years of programming experience with anyone willing to listen. He also contributes irregularly to several small PHP projects, the latest being ADOdb Lite.You will most likely find Padraic hanging around on the PHP Developers Network Forum, or lurking on several game forums patiently fielding questions on game design in PHP. Padraic lives in a rural area of County Wicklow, Ireland, where he often entertains the locals with stories of how many different ways websites mangle the weird a-acute character in his name. He desperately looks forward to Unicode support in PHP 6.Padraic maintain a blog over on

Ajax Chat Tutorial

      3 Comments on Ajax Chat Tutorial

p. Creating a chat application is not a difficult task. Honest!

p. This tutorial is a step by step introduction to creating a lightweight chat application using XML as a storage medium. As personal motivation, I develop PHP games as a hobby. In pursuit of that hobby I’ve found that offering a flat threadless forum in such games tends to result in heavy usage as players attempt to use it as a chat room. The reason is that even with the advent of irc and instant messengers, users continue see an alternative web based solution as attractive for a number of reasons whether its limited access to instant messengers through a corporate proxy or simply for convenience sake.

AJAX Chat Tutorial Part 3:Storage Medium, XML and the Message Process

      Comments Off on AJAX Chat Tutorial Part 3:Storage Medium, XML and the Message Process

p. As our chat application gathers pace we return to the server side of the application. At this point we have setup the Zend Framework with an IndexController class to handle server requests. After the initial loading of our HTML interface, we will expect all further server requests to be issued via AJAX (courtesy of Prototype and the XMLHttpRequest object) on the client side. We’ll see this in Part 5.