News Feed
Sections




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

Zend Developer Zone:
AJAX Chat Tutorial Part 6 Updating the User List
August 22, 2007 @ 12:04:00

The Zend Developer Zone has posted part six of their tutorial creating an Ajax chat application with the help of the Zend Framework. This part of the series focuses on updating the user list for the current participants in the conversation.

Updating the user list should occur whenever the user adds a new chat message or refreshes the chat window. Since we already use the MessageAction() method on our PHP IndexController class to forward such responses to the browser, we'll simply amend it to also return a list of currently online users.

They work through the code updates to make it happen - changes to the MessageAction in the IndexController that include the addition of a few new methods.

0 comments voice your opinion now!
ajax tutorial chat zendframework user list ajax tutorial chat zendframework user list


blog comments powered by Disqus

Similar Posts

Community News: Senza Limiti Acquires Ajax-based PHP Grid, Plans to Open Source It

PHPBuilder.com: Smarty PHP Template Engine: Building PHP Apps in a Flash

PHPFreaks.com: PHP Loops

O'Reilly Broadcast: Getting Drupal and mod_security to Play Nicely Together on Red Hat 5.x Servers

Padraic Brady's Blog: An Example Zend Framework Blog App - Part 2: The MVC Application Architecture


Community Events

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


extension community performance conference example application series voicesoftheelephpant release laravel opinion symfony2 podcast introduction php7 framework api version library interview

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