Eventrouter Future
Revision as of 15:14, 11 September 2007 by Which Linden (talk | contribs) (Originally penned by donovan, I'm just copying this here.)
This is a notes page on a possible future direction for eventrouter.
- public events are published at app/event/[0..]
- private events are published at app/<cap>/event/[0..]
- events are generated by callbacks triggered by a generic rest store
rest_root = {} def root_changed_callback(router, change_description): router.broadcast('event', {}) app = Router() real_root = {'store': rest_root, 'app': app}
- js api for changing the server is REST only