News Feed
Jobs Feed
Sections




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

Insidesigns Blog:
Create a scalable private messaging application using PHP5
December 08, 2010 @ 11:21:24

From the Insidesigns blog there's a new tutorial showing how you can create a scalable messaging application that works similarly to the instant message platforms users are used to. Their method combines PHP and a MVC approach.

Most social networking sites support two types of messages: public and private messages. Private messages are generally sent in a similar fashion to e-mails, and public messages being posted on user's profiles for other users to see. In this article by Michael Peacock, author of the book PHP 5 Social Networking, we will learn how to allow users to post private messages to each other.

They start with the database structure (specifying things like sender, message and the message) and move into the models to connect the scripts to them. Then they progress into the controllers and views for listing messages, reading a message, viewing and deleting a message. Full code is provided in the post, ready for cut and paste.

0 comments voice your opinion now!
private messaging application scalable tutorial mvc


blog comments powered by Disqus

Similar Posts

Developer Tutorials Blog: Running PHP cron jobs - regular scheduled tasks in PHP

Zend Developer Zone: The Standard PHP Library (SPL)

SitePoint PHP Blog: Debugging with Xdebug and Sublime Text 3

IBM developerWorks: Use Ajax with PHP and DB2 9 - Xajax

PHPBuilder.com: Refactor Your PHP Site Using MySQL Procedures and Views


Community Events











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


facebook language security hack hhvm package podcast install application framework composer threedevsandamaybe opinion series component code symfony2 unittest introduction release

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