Hi Mike!
> Actually, what I am trying to accomplish is to build the app so that my code
> is delivered to the browser in "source" format and qooxdoo library code is
> delivered in "build" format. Doing this has several advantages while
> developing
>
> 1. Makes debugging so much easier (ex. 800 fewer files in the Firebug script
> tab)
> 2. Makes the app load faster than an all "source" version.
> 3. shortens the "edit-build-run" cycle since I don't really "build" anything
>
> I thought the "packages" feature could do this for me - but looks like I am
> mistaken. Still trying to get comfortable with the new tool chain.
>
> Perhaps the tool chain could include this type of build as a standard job. I
> think many developers would appreciate the benefits.
A while ago we talked about the same idea: during regular application
development to use a qooxdoo library file ("build") while keeping all
individual custom classes ("source"). This would help keeping browser
reloads fast. Need to see if we missed to file a ticket for such a
behavior, which I think could become even the default behavior for
qooxdoo app development (i.e. the "source" generation). Thomas is sick
and not at work, but I'll talk with him about this feature soon.
> > When you want to built library like packages an include statement with
> > explicit "=" classs lists would be more ideal. Not sure if there exist
> > documentation around this topic though.
> >
>
> That sound like what I need. I looked through the docs but didn't see
> anything.
It should all be in the generator docs, see
http://qooxdoo.org/documentation/0.8#tooling
> The new "window.qxloader =" scheme is very different from how 0.7.x loaded
> the JS files.
>
> I wonder if I could hack the window.qxloader.uris after a "source" build of
> my app - like the following - (where qx-0.js is the entire Qooxdoo library)
>
> window.qxloader =
> {
> parts : {"myapp":[1],"qooxdoo":[0]},
> uris : [
> ["../script/qx-0.js"],
>
> ["../script/class/my/ui/View.js",../script/class/my/ui/Control.js",<REST_OF_MY_CLASSES>"]
> ],
> boot : "qooxdoo",
> ...
> }
>
> Do you think that will work?
Do not bother to mess with the loader script! It's going to change,
since the loading of a qooxdoo app is to be improved to the level of 0.7
(i.e. a single JS file, not two) and beyond (e.g. providing useful
"domready" event, etc.).
Bye,
Andreas
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel