Hi Sascha,

Sascha Kruening wrote:
> Hello,
>  
> I'm new to Qooxdoo. 
Welcome to the project!

> I've started looking at it using the Demo Browser. I
> feel that it is a bit sluggish.
> 
> By looking at the Log File, you can proof it.
> 
> Group Box example: all together 6850 ms
> Combo Box example: all together 3750 ms
> AS I understood the mechanism, the resulting HTML objects are being
> created at runtime on the client machine using JavaScript. 
> Thus, the speed depends on the client machine.
My values are much lower for these examples. GroupBox is around 550ms 
and ComboBox 1100ms on Firefox 2. FF3 is much faster. As you already 
mentioned as a client-side framework qooxdoo relies heavily on the speed 
of the machine and even more on the used browser. Which browser did you use?

> I'd like to use qooxdoo in a client - server environemnt from classic
> ASP, to be precise.
> 
> I wonder if there is a way to create the resulting HTML objects on the
> server already, and link them to the JavaScript objects on the client
> side.
Are you talking about data binding or about to completely layouting the 
widgets on server-side?

> Also, the contents of list boxes, for example, are not static but come
> from a database.
> Again, these values are already known on the server side.
> 
> How are they supposed to be made available to the client? 
> 
> Like this?
> 
> var listItems = [<%=ListOfItems()%>]; //provided by the server
> :
> var comboBox = new qx.ui.form.ComboBox();
>  comboBox.setWidth(300);
> 
>  // fill the combo box with some stuff
>  for (var i=0; i < listItems.length; i++)
>  {
>    var tempItem = new qx.ui.form.ListItem(listItems[i]);
>    comboBox.add(tempItem);
>  }
Actually never tried that approach. This way you can have the values at 
application startup, but if the values are changing during the 
application life-cycle there need to be a server-request anyway. Do you 
thought about transferring the data with JSON-Requests the client and 
vice-versa?

cheers,
   Alex

-------------------------------------------------------------------------
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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to