PHP Classes
elePHPant
Icontem

AJAX driven simple chat: Web based chat using AJAX to update the dialog

Recommend this page to a friend!

  Author Author  
Name: Ashraf Gheith <contact>
Classes: 9 packages by
Country: Bosnia and Herzegovina Bosnia and Herzegovina
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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.

  Classes of Ashraf Gheith  >  AJAX driven simple chat  >  Download Download .zip .tar.gz  >  Support forum Support forum (11)  >  Blog Blog (1)  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: AJAX driven simple chat
Base name: ajax-chat
Description: Web based chat using AJAX to update the dialog
Version: 2.13
PHP version: 5.0
License: Freely Distributable
 
  Groups   Screenshots Screenshots   Applications   Files Files  

  Groups  
Group folder image Chat Chating and instant messaging View top rated classes
Group folder image AJAX Interact with the Web server without page reloading View top rated classes

  Files folder image Screenshots  
chat.jpg
File Role Description
Accessible without login Image file chat.jpg Screen Chat page
Accessible without login Image file index.jpg Screen home page


  Recommendations  

Live Chat Using Ajax,PHP and Mysql
i need source code to an Ajax, Php and MYsql live chat.


  Innovation Award  
PHP Programming Innovation award nominee
July 2006
Number 3


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.

Manuel Lemos

  Applications that use this package  
Live example 2
This is a new example of this chat with who is online.
Live example
I have made a live chat with some adds-on.. (email me to send you this one)
Bulgarian
This is an implentation on a Bulgarian site
Yet Another Example
The prototype example

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imageinc (1 file)
Files folder imagecss (1 file)
Files folder imagejs (2 files)
Plain text file config.php Conf. config file
Plain text file chat.sql Data The SQL code
Plain text file refresh.php Example Retrieve data from class
Plain text file submit.php Example Submits data to the class
Plain text file login.php Aux. Example file
Plain text file index.php Aux. Example file

  Files folder image Files  /  inc  
File Role Description
  Plain text file chatClass.php Class The Main Class

  Files folder image Files  /  css  
File Role Description
  Plain text file main.css Data Style sheet file for the example

  Files folder image Files  /  js  
File Role Description
  Plain text file jquery.min.js Data Jquery library for the example
  Plain text file main.js Data Javascript file for the example

Install with Composer Install with Composer - Download Download all files: ajax-chat.tar.gz ajax-chat.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.