Project Overview

When designing an application, you start with the idea of what the application is supposed to do. In the case of phpChat, the application is supposed to provide a browser-based chat service.

The chat should have the following features:

  • Real-time chat. No deferred relaying of messages and no refreshes.

  • No client-side programming. The browser should be confronted only with pure HTML (and eventually some JavaScript).

  • Networkable. It should be possible to link chat boxes.

  • Generic. Make as few assumptions about the target systems as possible and introduce as few requirements as possible.

  • No design enforcements. Separation of code and page layout.

  • Easy to use and administer.

  • Unlimited number of clients and chat rooms.

Once you've gotten ...

Get Web Application Development with PHP 4.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.