On 01/10/2012 03:13 PM, totty wrote:
> Hello!
>
> I'm always thinking in a way of integrating server with client and in this
> case I found the first well implemented javascript framework for RIA apps. I
> like it's points (no HTML and no CSS) that's really perfect.
>
> Because of this I want to ask you if is possible to use this framework on
> serverside in order to generate HTML+CSS (for SEO reasons) and then pass the
> objects to the client in order to still work and keep links to html elements
> intact between server (where those were created) and the client (where the
> html is already generated but it's interactive).

I'm not sure I completely understand what you're after. As John wrote 
you can use the qxoo package [1], to have the basic OO infrastructure of 
qooxdoo in a DOM-less environment. This can of course be used to 
generate HMTL and CSS, but there is no specific support for this in 
qxoo. (You might be able to use a DOM-less HTML templating engine like 
Moustache, though).

But this all amounts to passing strings to the client, and not "objects" 
like you wrote. Each new HTML page you send to the client will be 
replacing the last. There is no way to "keep links to html elements 
intact between server ... and client ..." across page changes.

There is another train of thought that is not about generating HTML+CSS, 
but to have a DOM on the server side that is synchronized with the DOM 
in the client. Here you could really keep client elements intact and 
linked to server objects. But that's a completely different story, and 
I'm not sure you would be sending HTML+CSS to the client at all, meaning 
you lose the SEO advantage. Jaxer [2] (old) and YUI Manhattan/Cocktail 
[3] (new) seem go in that direction.

T.

[1] http://manual.qooxdoo.org/1.6.x/pages/server/overview.html
[2] https://en.wikipedia.org/wiki/Jaxer#Aptana_Jaxer
[3] 
http://developer.yahoo.com/blogs/ydn/posts/2011/11/yahoo-announces-cocktails-–-shaken-not-stirred/


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to