Re: [qooxdoo-devel] elaborate GUI

2010-06-29 Thread panyasan
Hi Kenny, that is indeed interesting stuff, and I would love to see more of this high-level-GUI-maintenance best-practices discussed ... here is how I do it in qcl/qxtransformer:

Re: [qooxdoo-devel] elaborate GUI

2010-06-29 Thread flj
>> PS/off topic: the only place where I found an example of an event >> declaration was in the framework classes. Maybe custom events would >> benefit from a page in the manual or some example in the demo >> browser. >> > > Please open a bug for this. Done so: #3811

Re: [qooxdoo-devel] elaborate GUI

2010-06-28 Thread Kenneth Tilton
panyasan wrote: > > Kenneth Tilton wrote: >> The databinding mechanism also looks a lot hairier than messages, only >> to provide a less agile tool. Why bother? >> > > Hi Kenny, > > I think you underestimate the power of databinding - it is a different > animal compared with the message syste

Re: [qooxdoo-devel] elaborate GUI

2010-06-28 Thread Kenneth Tilton
Fritz Zaucker wrote: > I am not talkinf about data binding, just plain events (there are too types, > one allowing to sent data along). Cheers, Fritz > That is still not as loosely-coupled as subscribe/unsubscribe to a string ID. kt -- http://www.stuckonalgebra.com "The best Algebra tutor

Re: [qooxdoo-devel] elaborate GUI

2010-06-28 Thread panyasan
Kenneth Tilton wrote: > > The databinding mechanism also looks a lot hairier than messages, only > to provide a less agile tool. Why bother? > Hi Kenny, I think you underestimate the power of databinding - it is a different animal compared with the message system --- which I use myself a lot

Re: [qooxdoo-devel] elaborate GUI

2010-06-28 Thread Fritz Zaucker
I am not talkinf about data binding, just plain events (there are too types, one allowing to sent data along). Cheers, Fritz -- Fritz Zaucker Oetiker+Partner AG Aarweg 15 CH-4600 Olten +41 62 755 9903 On 28.06.2010, at 12:05, Kenneth Tilton wrote: > > > Fritz Zaucker wrote: >> I don't see th

Re: [qooxdoo-devel] elaborate GUI

2010-06-28 Thread Kenneth Tilton
Fritz Zaucker wrote: > I don't see the fundamental difference between custom (data) events and > messages. > > But if somebody has an example for something what can't be done with an event > and can be done with the message bus or some guideline when to use which this > would be useful. >

Re: [qooxdoo-devel] elaborate GUI

2010-06-28 Thread thron7
> PS/off topic: the only place where I found an example of an event > declaration was in the framework classes. Maybe custom events would > benefit from a page in the manual or some example in the demo > browser. > Please open a bug for this. T.

Re: [qooxdoo-devel] elaborate GUI

2010-06-27 Thread Fritz Zaucker
I don't see the fundamental difference between custom (data) events and messages. But if somebody has an example for something what can't be done with an event and can be done with the message bus or some guideline when to use which this would be useful. Cheers, Fritz -- Fritz Zaucker Oetike

Re: [qooxdoo-devel] elaborate GUI

2010-06-27 Thread jeff
Took a look at that. I see your point now. On Sun, 2010-06-27 at 18:00 -0400, Kenneth Tilton wrote: > > jeff wrote: > > Thanks for the input. I am going to take a look at using events. > > > > It may not be an widget event that determines which widgets to > > access/manipulate. It could be t

Re: [qooxdoo-devel] elaborate GUI

2010-06-27 Thread Kenneth Tilton
jeff wrote: > Thanks for the input. I am going to take a look at using events. > > It may not be an widget event that determines which widgets to > access/manipulate. It could be the content of data returned from the > server or the value of a user input that determines which widgets to > man

Re: [qooxdoo-devel] elaborate GUI

2010-06-27 Thread jeff
Thanks for the input. I am going to take a look at using events. It may not be an widget event that determines which widgets to access/manipulate. It could be the content of data returned from the server or the value of a user input that determines which widgets to manipulate. Really like this

Re: [qooxdoo-devel] elaborate GUI

2010-06-27 Thread Kenneth Tilton
On 06/26/2010 03:00 PM, jeff wrote: > What I came up with is this: > > this.widgets = new Array(); > ... > ... > var subjectCB = new qx.ui.form.ComboBox(); > ... > this.widgets['subjectCB']=subjectCB; > > Seems to work. But is there a better method ?

Re: [qooxdoo-devel] elaborate GUI

2010-06-27 Thread Fritz Zaucker
Jeff I am currently on vacation in the Swiss country side and have only limited internet access and even less time (three little kids ...). I hope fls's example gets you further. Search for addListener and fireEvent in the API manual. You can also look at the framework code (use grep to search

Re: [qooxdoo-devel] elaborate GUI

2010-06-27 Thread flj
Idunno how you do it with other frameworks, in qooxdoo it's very swing-ish, but more flexible, javascript being dynamically typed and not requiring statically declared and implemented interfaces. Whatever object needs to be aware of changes/events in another object simply registers a listener f

Re: [qooxdoo-devel] elaborate GUI

2010-06-26 Thread jeff
Fritz, Could you post a simple example. Don't think I understand how that would work. Thanks Jeff On Sat, 2010-06-26 at 22:12 +0200, Fritz Zaucker wrote: > You could add event handlers to your widgets an fire a custom event whenever > you want to update them. This way you don't have to keep track

Re: [qooxdoo-devel] elaborate GUI

2010-06-26 Thread Fritz Zaucker
You could add event handlers to your widgets an fire a custom event whenever you want to update them. This way you don't have to keep track of them. Cheers, Fritz -- Fritz Zaucker Oetiker+Partner AG Aarweg 15 CH-4600 Olten +41 62 755 9903 On 26.06.2010, at 19:37, jeff wrote: > Hi, Brand new t

Re: [qooxdoo-devel] elaborate GUI

2010-06-26 Thread jeff
What I came up with is this: this.widgets = new Array(); ... ... var subjectCB = new qx.ui.form.ComboBox(); ... this.widgets['subjectCB']=subjectCB; Seems to work. But is there a better method ? On Sat, 2010-06-26 at 13:37 -0400, jeff w

[qooxdoo-devel] elaborate GUI

2010-06-26 Thread jeff
Hi, Brand new to qooxdoo but pretty impressed so far. I'm coming from application programming with PerlTk and Wxperl. Looking at qooxdoo for a cross platform migration of a wxperl app. The interface is fairly complicated and various callbacks need to supply data to widgets/elements and enable/disa