Hi Christian, Sebastian has been brought this (or something similar) up before. I think it's slated for after the release of the RENDERER branch.
--Fred On Tuesday 25 October 2005 10:07 am, Christian Boulanger (Bibliograph) wrote: > However, this would exclude people who use templates to generate the XML > (I use PHPTAL, for example). Of course, if the compilation could be > on-the-fly... Best would be an XSLT transformation, because it is > language-neutral. > > Talking of QxBuilder / QxCompiler, one problem with the current > implementation is that QxBuilder has to provide for all the exeptions to > the rule that children are bound to parent widgets with the add() method > - for example in the QxCombobox, where you have to use > widget.getList().add(child). This leads to a ugly long list of if() ... > else if() statements and is hard to maintain -- each time a new widget > is added, you have to adapt the QxBuilder class. > > It seems to me to make more sense if this would be handled at the widget > level, and QxBuilder should only provide a generic way of adding > children. I propose to add a addGenericChild() method to the QxWidget > prototype which defaults to add() but can be overridden by the specific > widget to check for special cases. QxComboBox, for example, can then > check the Prototype of the child, and add QxListItems to the list, > QxTabpane can check whether it adds a tab to the tabpane or a page to > the page pane. > > What do you guys think? > > Christian > > Dietrich Streifert schrieb: > > That would be great! > > > > Most of the qx code of my (yet to be developed) application is static > > and should be fine when the generated javascript is included. > > > > > > BTW: when can we expect the (alpha) of QxBuilder for the renderer branch? > > > > Thank you for all that work! > > > > Sebastian Werner schrieb: > >> Hi All, > >> > >> Bindows, our commercial competitor has announced a new compiler > >> (http://bindows.net/news/#BindowsCompiler), which compiles xml widget > >> trees to real javascript code, so that the bindows user can integrate > >> this "compiled code" instead of the xml. This should accelarate the > >> bindows application as the developers say. > >> > >> I think this would also be a great idea for our QxBuilder. Then the > >> current performance impact, when using QxBuilder instead of 'real' > >> code, will be removed. What do you think? > >> > >> Regards, > >> > >> Sebastian > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by the JBoss Inc. > >> Get Certified Today * Register for a JBoss Training Course > >> Free Certification Exam for All Training Attendees Through End of 2005 > >> Visit http://www.jboss.com/services/certification for more information > >> _______________________________________________ > >> Qooxdoo-devel mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel -- ========================================================== Fred R. McDavid, III 540-248-0838 [EMAIL PROTECTED] BitDaddy Systems, Inc * Complex System Design, Management, and Hosting ========================================================== ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
