taboca / TelaSocial

Social Dashboard Browser Player for Television Panels - Linux based, Gecko-based
www.telasocial.com
10 stars 2 forks source link

Intervention Scenario — an event triggers widget execution for unknown time duration #19

Open taboca opened 12 years ago

taboca commented 12 years ago

Use case scenario to the Choreographer/TagVisor system:

An event, that comes from external data-source of via feed, reaches out to the event/rules execution system that is managed by our choreographer. This event can also be generated by a widget from within the current execution thread. This event will work in a way that is similar to a function call in a normal computer program. When this call is executed, the current/previous execution state is hold, then this new execution state happens and until the end ( or expiry expected end ) of the new thread the prior is on hold. When the newer ends, then system needs to continue its prior thread execution state.

It's important to observe that these are iframes and other JavaScript-based elements in operation so we need to be able to make this work with a document tree and not to make a mess. It needs to be incredibly simple, so for example, these could be DOM mutation events and expected DOM tree states, so an event model that associates JavaScript execution when nodes are in place ( think jquery, xpath expected data ).