On Thu, Oct 2, 2008 at 10:59 AM, panyasan <[EMAIL PROTECTED]> wrote:

> great to hear that databinding will come to qooxdoo as a integral part of
> the framework. I am looking forward to the philosophy and architecture of
> it! I'd be interested how Gaetan approached it.

Well, what I've done is related... but I haven't done that particular
usecase yet. How I envisioned things is that each of my widgets can be
bound to a textual expression, where each part (separated by dots for
example) generate an event listener, and thus create a chain of event
listeners. I already have such a mechanism in my code with the
difference that it is only evaluated once at the start. Extending it
with the chain of event listeners shouldn't be too hard I think and
this has been one of my long term goals since day 1 but I haven't got
to it yet.

> In qcl, I have a very
> simplistic and not well scalable solution, but maybe some inspiration can be
> taken from it:
>
> http://www.qxtransformer.org/a/qxtransformer.org/qxtransformer/Tutorial/Databinding
>
> What I like about this approach is its absolute simplicity - Each widget
> gets a "updateClient" (get data from server) and "updateServer" (send data
> to server) method, and everything else is done by the underlying mixin. I
> know that this is far to simplistic for a general approach, but there is
> certainly something to be said for keeping it as non-complex as possible.
>
> So - very good news!

-- 
Gaëtan de Menten
http://openhex.org

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to