Maybe better, just run these commands in a directory of you choice, and 
inspect the ensuing directory structure:

create-application -n shared -s router.basic
create-application -n client    -s router.client
create-application -n server  -s router.server

Each of these namespaces could then have a file Router.js (so you'd have 
router.basic.Router, router.client.Router and router.server.Router). 
This could be one way to do it, I think you will find this instructive.

T.

On 04/24/2012 06:27 PM, totty wrote:
> Can you put some directory structure and paths? I understand better that
> way..
>
> thanks
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Reusing-server-side-code-in-the-client-side-how-to-get-rid-of-the-require-in-nodejs-suggestion-tp7452919p7496553.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to