>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 3 - xml message php zend chat text author file

 
Registered tutorials: 501
Registered Users: 32529



Rating: 3.5 out of 2 votes cast


  
Category: Ajax and PHP

AJAX Chat Tutorial 3

Digg this   Post to del.icio.us

Abstract: This tutorial shows how to store a chat message from the user. It uses file based solution using XML. With the release of PHP 5.1.3 manipulating (and not simply reading) XML documents has never been easier.

As our chat application gathers pace we return to the server side of the application. At this point we have setup the Zend Framework with an IndexController class to handle server requests. After the initial loading of our HTML interface, we will expect all further server requests to be issued via AJAX (courtesy of Prototype and the XMLHttpRequest object) on the client side. We'll see this in Part 5.

It's important to note that using AJAX requires no additional changes to the current design of our application on the server side. As usual our server side code will receive HTTP requests containing user data which will need to be filtered and validated - just another typical request. We should keep in mind that because requests are being made automatically by Javascript code in the client browser, the data contained in such requests is still user data, i.e. it must be filtered/validated server side.

Read Full Tutorial...



Reviews:

Rate and Review This Site

No reviews yet


Statistic Information About this Resource:


Total Hits: 164
Unique Hits: 129


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 0 0 0.4 0.4 4.9 6.5
Current 0 0 0 0 1 1
Previous 0 0 0 0 3 3
Nov 19 0 0 1 1 1 2
Nov 18 0 0 0 0 16 25
Nov 17 0 0 0 0 12 16
Nov 16 0 0 0 0 2 3
Nov 15 0 0 0 0 0 0
Nov 14 0 0 2 2 2 2
Nov 13 0 0 0 0 6 7
Nov 12 0 0 1 1 6 6
Highest 3 4 6 10 18 25


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