|Ratings|| ||Unique User Downloads|| ||Download Rankings|
| 52%||Total: 19,539 This week: 2||All time: 36 This week: 55|
|Version|| ||License|| ||PHP version|| ||Categories|
|ajax-chat 2.13||Freely Distributable||5.0||Chat, AJAX|
This class can be used to implement a simple Web based chat system that uses AJAX to update the chat dialog display area without reloading the whole page.
The class generates a page with a Web form to submit what each chat line that the users type.
The chat lines are sent to the server using a jQuery AJAX API.
The chat lines are received by a server side script that uses the class to store what each user entered in a MySQL database table.
In response, the class outputs the chat list already formatted to by displayed in the user browser pages.
Prize: One subscription to the PDF edition of the magazine by PHP Architect
|Chat applications are usually very interactive. Users exchange many messages, often very frequently.
Some Web based chat applications are a bit annoying, as they require frequent page reloading to update and display the messages that the users exchange.
Nowadays, using AJAX is an obvious approach to avoid unwanted page reloads. This class implements a AJAX based chat system precisely to take advantage of that possibility.
$chattext = strip_tags( $_GET['chattext'] );
||Applications that use this package
If you know an application of this package, send a message to the author to add a link here.