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

-Chris

PS. By the way, it looks like YUI will be moving quite a bit in the direction of qooxdoo with their next big release YUI 3 -- shows how far out in front you guys are with your fantastic work! :-) . http://developer.yahoo.com/yui/3/




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