> At the top of Application.js I see #asset and it is in a comment block.
> I read the generator_config article and see that they are compiler hints.
>
> By compile do they mean generate?  There is no compiling going on with
> qooxdoo is there?

And why not? We parse Javascript, create an AST, do transformations on it,
and write Javascript out again. If my CS classes don't fail me, this is
technically referred to as "translation" (since the target language is on
the same level as the source language), but I think compilation is as good
as a term (especially since translation has another, more colloquial sense
in qooxdoo). We create "bootstrap code", have linker functionality, select
and optimize code, create packages and variants. Sounds pretty much like
compiling, doesn't it?!

And yes, it's roughly the same as generate, because our "generator" (the
program) does the compiling as an essential step.

>
> is there any more documentation about #asset?  I'm still not sure what
> they mean and if/how I should be using them in my code.

Have a look here:
http://qooxdoo.org/documentation/0.8/ui_overview?s=asset#resource_handling

(BTW: I found all that just by entering the string "#asset" in the search
field of qooxdoo.org - just to let you know ;)

>
> Is it correct for me to assume that these can be left out at the expense
> of being a bit slower to generate?

No, they neither improve nor impede speed. If you use explicit resources
in your code you need them, so your resources (like icons) are properly
linked with your application, that's all. The above link has more.

Thomas



-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to