Iliad applications with Comet

Tagged:  •  

Iliad 0.8 features a Comet implementation using XmlHttpRequest long polling. In this post I'll explain here how to build a very simple Comet application with a counter.

Application instances will share the same counter model. Comet counter widgets are similar to the counter example widget, except that they will register to comet events, and trigger them when the count value changes, pretty much like announcements.

When a comet event is triggered, all widgets which registered to the event class will be rebuilt.

Syndicate content

User login