How to build a realtime jQuery plugin

Back in January this year jQuery announced a new plugins registryplugins registry, so now seemed like a great time to write a tutorial combining building a jQuery plugin with my passion – realtime web technologies.