AFLAX & Real-time Chat

In case you don’t know what AFLAX is, prepare to be amazed. It’s a great Javascript Library for the Flash platform, developed by Paul Colton (also the creator of JRun and founder of Aptana Inc.).

Looking at the demos from AFLAX website I found that you can use XMLSockets to create a Real-time connection between a client and server. As oposed to Ajax or Frame based chat scripts, using XMLSockets makes messages to be more spontaneus.

If you download the library you will see that the Sockets example is using a Perl Sockets Server that has to be started from command-line. I will write that sockets server script in PHP these days so come back to get it.

Many usefull applications of this comes into my mind now, but I’ll let you think about it too :) .

Resources

Leave a Comment

CAPTCHA Image Audio Version
Reload Image