On 08/30/2013 09:45 AM, benco wrote:
> Hi Thomas,
>
> Thanks for your reply. I recognize the description of my problem is not very
> clear.
>
>
> thron7-2 wrote
>> Use qx-oo.js ("qx.Server").
> Actually I already achieved to package qx.core.Environment in the past but I
> was using the old (and now removed) "bom" skeleton (the final size was about
> 30Kb). As it doesn't exist anymore, I tried using the "native" one.

Mh, so what exactly is keeping you from using qx.Server?

(The old 'bom' skeleton was also just another build, a bunch of classes 
stuffed together in a .js file. Other skeletons don't support this as 
they are about build apps, not just a single .js file).


>
>
> thron7-2 wrote
>> It's not possible to extend a static class so that won't work.
> I am aware of that but I didn't know if a Bootstrap was mandatory or not...

I'm not sure I understand what you mean with "Bootstrap". Do you mean 
the class qx.Boostrap specifically, or just any class defined with 
'qx.Boostrap.define'?

> considering q = qxWeb uses it but should be qualified as a static one too in
> practice. Anyway, when I define a Bootstrap (and include it in the "job
> section" of my config.json), it is not instantiated what look logical but
> when I declare a new object of this class, it throws an error.

But you are aware that static classes *are not to be instantiated*, 
right?! That's the whole point of static classes. They are simply 
containers for methods that you call directly on the class, not on any 
instance.

>   And I don't
> understand how qxWeb can be autoinstantiated...

But it isn't. qxWeb is just a container for static methods, full stop. 
Or do you mean the collections that are returned by those methods?


>
>
> thron7-2 wrote
>> What is your goal, size? functionality?
> Size and minimal functionality limited to q.c.E.

qx.Server is your friend. If you are desperate you can even sqeeze it 
further, e.g. by turning off custom events and data binding.

T.


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to