weewar.com corner


XHTML live Chat based on the XMLHttpRequest Object (ajax)

Please consider this a proof of concept rather then a tested real world solution. I am happy for anybody use and develop this further.

For feedback and suggestions please use the No Kahuna Project.

The sources are available on GitHub or you can download a zip archive.

Known issues

Works in latest IE(win), Firefox and Safari.

Older/other Browsers might not like it at all and I have not build in any means to catch those (or have this chat degrade gracefully).

As a chat it would be more intuitive if the layout was following the usual chat scheme: input at the bottom, history moving upwards.

The frequent update cycles should be intelligent (i.e. slow down if nothing has changed or switch into a pause mode)

Where do we go from here?

Apart from this being a chat I can think of some more (even more useful?) applications:

All of these could degrade gracefully if javascript is not available!


I have used the following resources:

Creative Commons License

This web site (including XHTML, CSS, Javascript, PHP, all images), unless otherwise noted, is licensed under a Creative Commons License.

valid XHTML

chat output