Hi Halcwb,

I guess you can use

http://demo.qooxdoo.org/current/apiviewer/#qx.event.message.Bus

to build something along these lines

cheers
tobi


Today halcwb wrote:

> thron7 wrote
> > On Mon, Dec 29, 2014 at 9:03 PM, halcwb <
>
> > halcwb@
>
> > > wrote:
> >>
> >> 2. It enables an abstraction of the observer pattern. At the moment there
> >> is
> >> still a direct relation between the event publisher and the event
> >> handler.
> >> I
> >> can say many bad things of ExtjJs, but there event handling is very
> >> powerful. They have a so called event bus. The event bus handles all
> >> event
> >> publishers and handlers. So, in a controller, I can say, listen to any
> >> combox dropdown event and act upon it, without having any direct
> >> reference
> >> to all the comboxes. See this  reference
> >> <http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.app.EventDomain
> > > >
> >>
> >
> > Without looking into the ExtJs docs, I'd say you have something similar in
> > qooxdoo. This tutorial section was the first thing that I could get a hold
> > on:
> > http://manual.qooxdoo.org/4.1/pages/desktop/tutorials/tutorial-part-4-1.html#accessing-the-form-values
> >> .
> >>
> >> Building on that last bit, I could even take this further and I have a
> >> central event declaration file in which I can declare exactly which
> >> classes/widgets listen to what classes/widgets. And thats quite powerful.
> >>
> >
> > In qx.Desktop, everything is done programmatically, sorry (sort of "one
> > ring to rule them all" ;).
> >
> > T.
>
> I have read the manual, so I know how qooxdoo is dealing with this. I advice
> you to read the link I provided. It is NOT the same. And it is one of the
> things, ExtJs does very well, so learn from it.
>
>
>
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Quickly-reference-widgets-in-browser-and-code-tp7586543p7586607.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch t...@oetiker.ch +41 62 775 9902


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to