Currently in blueprint, there isn't a step where the json is converted into
native qooxdoo code. The json is processed directly into the form object.
For example, here's the full code for the blueprint.ui.form.Button stub:

qx.Class.define("blueprint.ui.form.Button",
{
        extend : qx.ui.form.Button,
        include : [ blueprint.MBlueprintManager ],
        construct : function(vData, namespace, skipRecursion)
        {
                this.base(arguments);
                this.set(vData.qxSettings);
        }
}

Most of the work done in Blueprint is done in the
blueprint.MBlueprintManager mixin. This handles the recursion, objectId
registration, functions, and scripts. I like the idea of speeding form
processing up by generating static code, but I'm not sure how easy it would
be to implement. Thanks for the suggestion though. I can see that having
access to generated qx code could be useful.

-Dan


Jean-Baptiste BRIAUD -- Novlog wrote:
> 
> Yes, thanks, it clarify the use.
> 
> One more question, because a form should not evolve at runtime, why  
> not saving the real qooxdoo form generated currently at runtime ?
> This would improve speed, so at runtime, the only thing the client  
> side will see is a "normal" qooxdoo js file produced by the generator  
> from the json string that describe a form.
> In other words, each client connected recompute the form each time.
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9-12, 2009. Register
> now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/New-qooxdoo-contrib%3A-Tartan-Blueprint-Serialization-and-WYSIWYG-Form-Designer-tp25622063p25623773.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to