Fabian Jakobs wrote:
Chris Banford schrieb:
Sebastian Werner wrote:
Chris Banford schrieb:
Fabian Jakobs wrote:
Tobias Koller (GERMO GmbH) schrieb:
Hi,

one question.

Is it possible to just use the fantastic layouting in qooxdoo 0.8 to build an web-application?

It is always a big problem to layout divs and spans etc exactly in all browsers (its standard in qooxdoo) ;).

A standard-application was still very big in 0.7 (about 1mb? that’s why I’m asking about only use qx-layouts).

Did the size of a qx-application change between 07 and 0.8?

I guess I will use standard qx 0.8 including widgets but would also like to know if it would be possible to just use the layouts.

Thanks a lot.

Tobias

Hi Tobias,

It might be feasible to do but not out of the box. In 0.8 we separated the layout manager from the widgets. The layout manager always works with instances of the abstract class "LayoutItem". Right now the only concrete sub class of LayoutItem is Widget (let's ignore spacers for the moment) but widgets are probably to heavy for a classic web page. It may be interesting to evaluate how a very light weight layout item would perform. Maybe just a very small wrapper for a single DIV element, which implements the methods required by the layout manager. If this works I would expect a file size to be about 200KB.

Best Fabian
This might be a use-case where you could look to a different js library that approaches its components from the opposite end of the spectrum to qooxdoo -- libraries like YUI were designed to be able to add a small bit of functionality to existing pages, with as little as possible breaking in them if js is deactivated. qooxdoo seems to have developed from wanting to build a 'real' desktop style app that controls the whole browser window.

I know that 0.8 has moved in the direction of being able to embed "islands" of qooxdoo into a web page, but I'd bet that YUI would be better for something like you've described... http://developer.yahoo.com/yui/layout/

That said, our company is seriously looking to moving our YUI-based tools to qooxdoo for our next big release (next year is the hope). We might stick to stick with YUI for small js stand-a-lone widgets that have to function in normal web pages (200KB is way too big, even if its gzip'd).
200KB was meant as un-gzipped. When you zip it the result will maybe only 40KB.

Sebastian
Hi Sebastian,

Wasn't trying to make advertising for a sort of competing js library :-) .

Yes, I know that this shrinks down to around 40KB when zipped -- but I'm pretty sure for this concrete example, that YUI's libs would be smaller.

-Chris
They have optimized their library for this special use case, we have not. I guess if YUI layout fits your need it is currently the better choice for this job. Maybe this changes in the future :-)

Best Fabian

There's a strong reason why we're so excited about qooxdoo and seriously researching making the switch :-)

-Chris







-------------------------------------------------------------------------
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