It’s past my bedtime so this will be short. I wrote an Ajax chat plugin for CakePHP a few months ago. It wasn’t working so well with RC3, plus it used Prototype, so I decided to fix it up for RC3 and switch to jQuery.

Code is available in my GitHub repo

There is a demo at sandbox.pseudocoder.com