> Christian Boulanger wrote:
>> I think the event system is powerful and can be used as a general
>> message
>> bus for non-time-critical business logic. Instead of objects calling
>> each
>> others' methods, objects issue messages with data which are then picked
>> up
>> by other objects for handling.
>
> That is, in fact, exactly how I have been using it.  :)

Me, too, but this is not supported out of the box. Event listeners so far
are always registered with an existing object, which you need to know in
advance. However, a true message system should not depend on having to
know where events are dispatched - it should only need to know about the
events.

For qxtransformer, we have created the concept of "global events", i.e.
events registered and dispatched at the level of the application object.
However, it would be much better if qooxdoo would support this concept
natively and would allow to route events, for example also to the server.

Christian


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to