Re: [qooxdoo-devel] Global event system

2006-06-22 Thread Christoph Dorn
Yes. Thanks. I'll see how it performs with larger XML definitions. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hugh Gibson Sent: June 22, 2006 5:04 AM To: qooxdoo-devel@lists.sourceforge.net Subject: Re: [qooxdoo-devel] Global event s

Re: [qooxdoo-devel] Global event system

2006-06-22 Thread Christian Boulanger
> Christian Boulanger schrieb: >> Yes, a bus systems sounds good. But keep the ability to send data with >> the >> event, this is very useful! >> >> Of course, my example xml wasn't taking the event system idea seriously >> enough. It should be: >> >>> label="Paste"

Re: [qooxdoo-devel] Global event system

2006-06-22 Thread Sebastian Werner
Christian Boulanger schrieb: > Yes, a bus systems sounds good. But keep the ability to send data with the > event, this is very useful! > > Of course, my example xml wasn't taking the event system idea seriously > enough. It should be: > >>> >> label="Paste" >>> ic

Re: [qooxdoo-devel] Global event system

2006-06-22 Thread Christian Boulanger
Yes, a bus systems sounds good. But keep the ability to send data with the event, this is very useful! Of course, my example xml wasn't taking the event system idea seriously enough. It should be: >> > label="Paste" >> icon="icons/16/edit-paste.png" >>

Re: [qooxdoo-devel] Global event system

2006-06-22 Thread Sebastian Werner
Christian Boulanger schrieb: > Hi everybody, > > The existing event system which can be attached to a "global/central" > point - be it window.application or whatever already delivers already > exactly what everybody is calling for. For example, enabling or > disabling a whole set of "paste" but

Re: [qooxdoo-devel] Global event system

2006-06-22 Thread Hugh Gibson
> => Yes, but apparantly qx.client.QxBuilder is quite slow in > generating the application based on the xml Did you see the thread at http://www.nabble.com/QxBuilder-t1412370.html ? That might help. Hugh All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained tech

Re: [qooxdoo-devel] Global event system

2006-06-22 Thread Sebastian Werner
ge bus. Sebastian > > Sorry if this did not come across in my previous wording. > > Christoph > > > > *From:* [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] *On Behalf Of > *Danny Adair > *Sent:* June 21, 200

Re: [qooxdoo-devel] Global event system

2006-06-22 Thread Sebastian Werner
Signals and Slots is IMHO just another type of event system, but not something which could compared to a real communication layer. Sebastian Danny Adair schrieb: > What about something along the lines of > http://tetlaw.id.au/view/blog/signals-and-slots-for-prototype-easy-custom-javascript-eve

Re: [qooxdoo-devel] Global event system

2006-06-22 Thread Christian Boulanger
Hi everybody, The existing event system which can be attached to a "global/central" point - be it window.application or whatever already delivers already exactly what everybody is calling for. For example, enabling or disabling a whole set of "paste" buttons - in the menubar, in the context me

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Danny Adair
What about something along the lines ofhttp://tetlaw.id.au/view/blog/signals-and-slots-for-prototype-easy-custom-_javascript_-events/ On 6/22/06, Sebastian Werner <[EMAIL PROTECTED]> wrote: Danny Adair schrieb:> Ouch. So that won't work then.> Mmh, everyone has a parent, so wouldn't it be easy to h

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Sebastian Werner
Danny Adair schrieb: > Ouch. So that won't work then. > Mmh, everyone has a parent, so wouldn't it be easy to have all events > (optionally) bubble up? Only widgets have a parent. What's about if you want to react on some selection event or something like this? No, bubbling is not a good choice

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Danny Adair
Ouch. So that won't work then.Mmh, everyone has a parent, so wouldn't it be easy to have all events (optionally) bubble up?Kind regards,DannyOn 6/22/06, Sebastian Werner <[EMAIL PROTECTED]> wrote: Christoph Dorn schrieb:> I am not familiar event.setBubbles(true). Is that a feature of Qooxdoo?This

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Sebastian Werner
Hi! Also interesting is some global communication layer. In my opinion we need both, something to communicate in *one* application. We don't want to use hard connections here. We want to make this application or part as flexible as possible. After this we need some application/part communicati

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Sebastian Werner
; -Original Message- > From: Lumir Stol [mailto:[EMAIL PROTECTED] > Sent: June 21, 2006 4:19 PM > To: [EMAIL PROTECTED]; qooxdoo Development > Subject: Re: [qooxdoo-devel] Global event system > > Hi, > > sorry for little OT: what is please wrong with > event.s

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Christoph Dorn
The XML representation that qx.client.Builder can eat supports event listeners.    => Yes, but apparantly qx.client.QxBuilder is quite slow in generating the application based on the xml. Especially for large applications. Also, having a server implementation of qx.client.QxBuilder (XML defi

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Christoph Dorn
Ooops. Sorry about that.     On 6/22/06, Danny Adair <[EMAIL PROTECTED]> wrote: [...]Your also creating lots of events on the same (global) level that probably don't have anything to do with each other.I don't know if this is already possible but it would be nice if an object could l

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Danny Adair
did not come across in my previous wording.   Christoph     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Danny AdairSent: June 21, 2006 5:03 PMTo: [EMAIL PROTECTED]; qooxdoo Development Subject: Re: [qooxdoo-devel] Global event system Hello,Could you (maybe both)

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Danny Adair
On 6/22/06, Danny Adair <[EMAIL PROTECTED]> wrote: [...]Your also creating lots of events on the same (global) level that probably don't have anything to do with each other.I don't know if this is already possible but it would be nice if an object could listen to events of a specifed type fired by

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Christoph Dorn
2006 5:03 PMTo: [EMAIL PROTECTED]; qooxdoo DevelopmentSubject: Re: [qooxdoo-devel] Global event system Hello,Could you (maybe both) clarify this a bit?qooxdoo _is_ event-driven http://old.qooxdoo.org/documentation/event-systemNo matter what it is that happens, it will have been kicked off

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Danny Adair
Hello,Could you (maybe both) clarify this a bit?qooxdoo _is_ event-driven http://old.qooxdoo.org/documentation/event-systemNo matter what it is that happens, it will have been kicked off by an event (startup,mouse,keyboard,timer,transport...). Christian, could you give a couple of examples of metho

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Christoph Dorn
I am not familiar event.setBubbles(true). Is that a feature of Qooxdoo? -Original Message- From: Lumir Stol [mailto:[EMAIL PROTECTED] Sent: June 21, 2006 4:19 PM To: [EMAIL PROTECTED]; qooxdoo Development Subject: Re: [qooxdoo-devel] Global event system Hi, sorry for little OT: what

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Lumir Stol
Hi, sorry for little OT: what is please wrong with event.setBubbles(true) ? What is reason for not to use events like this for 'global events'? Thanks, Lumir. All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat c

Re: [qooxdoo-devel] Global event system

2006-06-21 Thread Christoph Dorn
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Boulanger Sent: June 21, 2006 2:24 PM To: qooxdoo Development Subject: [qooxdoo-devel] Global event system Hi, I am currently converting my app away from using objects which call each other's methods t

[qooxdoo-devel] Global event system

2006-06-21 Thread Christian Boulanger
Hi, I am currently converting my app away from using objects which call each other's methods to for some behaviour to objects which communicate which each other through global events (window.application.createDispatchEvent("foo"), window.application.createDispatchDataEvent("foo", {blub:true}