Hi Roman,

Today Roman Schmid wrote:

> Or do you simply set the input fields as public properties of the form
> and then read/write them? That wouldn't be good OOP Practice, wouldn't it?
>
> Well, I'm kinda stuck here since there are some many feasible ways to
> this. If you lot could share some of your insight on that topic i would
> be grateful :)

as you say, there are many ways, I try to limit the amount of
repetitive code, by having a map (either local or supplied from the
server) that describes the form and then a factory to produce the
actual form according to the instructions in the map.

cheers
tobi

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to