We have been looking into the best way of putting several widgets on a 
homepage. There are certainly a few ways to do it.

Conditions: 3 independent widgets need to be inlined in the normal flow of a 
homepage. As the widgets contain totally different functionality, they are 
developed separately.

Solutions:
1. putting 3 different inlined separately generated applications does not work 
as only the first one will be seen. The last two are ignored. Big problem here 
is the 3x code overhead....!

2. generating the 3 applications by an include mechanism of the generator to 
keep their separation at development time might work unless they are not linked 
to a DOM element, cause that creates an error:

el is null
    el.style.overflow = "hidden";
Inline...3900255 (line 70)
It seems that an inline type of application ALWAYS need a DOM element anchored 
else it generates an error. The error message seems to be able to be improved.

Each of the applications are activated by inlined javascript tags in the right 
position of the page flow.

3. using an application type of standalone seems to take over the whole page.

4. a common code base including the qooxdoo framework by incremental generating 
the code. Unfortunately this does not exist at the moment and in foreseen 
future.

Result:
The combination of the above seems to give only one alternative, which does not 
seem to be optimal: generating all apps in one inline app package (longer load 
time); use package loading to keep down load time; connect all apps to DOM 
elements not to get errors, even if it is for example a popup; trigger the 
respective app by inline javascript tags in the flow of the page.

How would the core team advice it to be done?

Stefan
                                          
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to