Hey,

I meant the manual documentation. I found it on first read not completely
clear. It might be that it is because I read the manual a long time ago and
now only revisited the part about data binding, but I got the feeling that
the way all the concepts work together (store, controller, marshal, etc..)
was not explained clearly enough. I think that something that for me was
especially missing is a crystal-clear explanation of the concept of a model
in qooxdoo, what constitutes a model, what role it plays exactly in data
binding, the different ways to create models and convert them (e.g
qx.util.Serializer.Json), etc...
Thanks for the feedback. I just created an enhancement report to get a bit more 
details into the models description of the manual:
http://bugzilla.qooxdoo.org/show_bug.cgi?id=5434


Another thing that I think can help make the manual clearer is putting many
of the "tricks" which are often employed in qooxdoo into the manual, for
example the way you create a "converter" function to bind properties in a
data dependent way.
This is already covered in the single value binding section. Did you see that? 
Or wasn't it clear that this could also be used with the controller?
http://manual.qooxdoo.org/1.5.x/pages/data_binding/single_value_binding.html#options-conversion-and-validation

Small update: after having used data binding for a few hours I already love
it! I'm already embarrassed not to have used it till now - it really saves A
LOT of coding.
Thats exactly how it should be. ;)

And a small question - is there a way to delay the synchronization of the
model data between a tree controller and a form controller? I have a form
which I want to update whenever the tree selection changes (it displays
properties of a selected item), and I would like to allow the user to change
these properties, but I don't want it to be reflected on the tree until the
user has submitted the form.
The form controller offers such a feature already. If you add true as third 
parameter to the form controller, you can call updateModel on it to get the 
values back to the model. Just check out the API docs for more details:
http://demo.qooxdoo.org/current/apiviewer/#qx.data.controller.Form

Regards,
Martin
------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to