just want to validate that I am using the right approach, 'it
compiles', but I'm not sure it's optimal.
Basically I copied working code form client side, but made it a server
side Node file/module 'MyClass.js':
exports = MyClass = new Class({..
(is that right?)
and then call it the normal way.
require('./client/gamina/more/MyClass.js')
var sm = new MyClass();
sm.foo();
Also in this thread they said MooTools might be slow on server side:
http://groups.google.com/group/nodejs/browse_thread/thread/a244a2c50455d0fc/fe9bf37c461b578f?lnk=gst&q=mootools#fe9bf37c461b578f
I can't see why.
And last, is there a way I can use the same exact code from client
side on server side? I don't think so.