Hi, I was just going through the forum to find some information about handling resources in my qooxdoo application. I wanted to point out that the URL given below in the posts (http://qooxdoo.org/documentation/0.8/ui_overview?s=asset#resource_handling) looks old and doesn't point to the correct path anymore.
The correct URL is http://qooxdoo.org/documentation/0.8/ui_resources cheers Amit thron7 wrote: > >> 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 > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > -- View this message in context: http://n2.nabble.com/asset-tp760285p1515339.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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 qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel