>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

AJAX Chat Tutorial - zend php framework directory application controller tutorial chat

 
Registered tutorials: 501
Registered Users: 32529



Rating: 5 out of 1 votes cast


  
Category: Ajax and PHP

Tags Map

access accessible action add added ajax apache application applicationcontrollers based baseurl book bootstrap called chat class classes code components controller core create creating data default developer developers directories directory documentation download echo ensure extension file files final finally framework good htaccess http ibm idea include includes incubator indexphp interested introduction javascript libraries library load location method nbspnbsp news note object part path php phpflag platform point public release released request requests require required response review rewriterouter section security session set sets settings setup simple simply single specific stored structure system tells template tutorial url user users version view views web work xml zend zf

Keyword Cloud Navigation Map

AJAX Chat Tutorial

Digg this   Post to del.icio.us

Abstract: This tutorial is a step by step introduction to creating a lightweight chat application using XML as a storage medium.

Introduction

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

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.

You can download the current version of the source code for this application from: chat.tar.gz or chat.zip. This will be the final version of the code after finishing the tutorial (plus any subsequent patches).

To create this application, I'll be using standard third party libraries. I have no intention of creating new solutions for tasks which are already well covered by a range of excellent libraries. A lot of unnecessary work can be blamed on the "Not Made Here" mentality, so let's not subscribe to that mentality.

On the server side I will be utilising the Zend Framework 0.20 (released 31 October 2006). On the client side, AJAX and Javascript processing will be simplified by using the Prototype library. Should any visual effects be required, I will use Scriptaculous. Proponents of alternate solutions like jQuery, Dojo or any number of others can apply the same principles using their preferred libraries as they wish.



Read Full Tutorial...



Reviews:

Rate and Review This Site

No reviews yet


Statistic Information About this Resource:


Total Hits: 285
Unique Hits: 230


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 0.4 0.5 2.4 3.2 7.5 10.3
Current 0 0 3 4 13 18
Previous 2 3 0 0 14 17
Nov 19 1 1 2 3 16 22
Nov 18 0 0 0 0 3 4
Nov 17 0 0 7 8 9 13
Nov 16 0 0 0 0 7 11
Nov 15 0 0 3 6 0 0
Nov 14 1 1 2 2 4 6
Nov 13 0 0 3 5 6 8
Nov 12 0 0 4 4 3 4
Highest 3 5 9 10 29 35


Script Execution Time: 0.77686 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2