Thank you Franck and Tino,
your tips helped me a lot to get started with qooxdoo on node.js!

Cheers, Florian

2011/9/16 Tino Butz <[email protected]>

> Hi,
>
> First you should install npm:
>
> http://npmjs.org/
>
> To install qxoo just use the following command:
>
> npm install qooxdoo
>
> As an alternative you could add qooxdoo as a project dependency in the
> package.json file.
>
> "npm install -d" will install all dependencies. (or use "npm update -d" to
> update all dependencies)
>
> In your program you just require the qooxdoo module:
>
> var qx = require('qooxdoo');
>
> and you define classes like that:
>
>
> qx.Class.define("Dog", {
>   extend : qx.core.Object,
>   members : {
>     bark : function() {
>       console.log("BARK!");
>     }
>   }});
>  var dog = new Dog();
> dog.bark();
>
> When you want to extract the classes to a module just move the code to a
> separate module file. See the documentation for modules here:
>
> http://nodejs.org/docs/v0.4.12/api/modules.html
>
> Please find more information in the following blog post :
>
> http://news.qooxdoo.org/qooxdoo-on-npm
>
> Another alternative to use qooxdoo in a JavaScript server environment, but
> more advanced:
>
> http://news.qooxdoo.org/new-node-rhino-server-batch-non-browser-skeleton
>
> Best regards,
> Tino
>
>
>
>
> Am 16.09.2011 um 08:30 schrieb Florian Giesen:
>
> Hello List,
> I want to try server-side JavaScript with Node.js. As "old" qooxdoo user I
> want of course use qxoo in my server scripts where possible. Can you give me
> a hint / documentation where I can get started with this toppic (I am also
> very new in Node.js and its module system)? Shall I create the qxoo file by
> myself with the generator or can I use Fabians qxoo Node.js module? What is
> the recommended way and how do I get it running as Node.js module?
>
> Regards, Florian
>
> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
>
> http://p.sf.net/sfu/rim-devcon-copy2_______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>  Tino Butz
> Mobile Architect
>
> 1&1 Internet AG - Web Technologies
> Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
> Telefon: +49 721 91374-4488
> [email protected]
>
> Amtsgericht Montabaur / HRB 6484
> Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Robert
> Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen
> Aufsichtsratsvorsitzender: Michael Scheeren
>
>
>
> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> http://p.sf.net/sfu/rim-devcon-copy2
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to