views:

57

answers:

2

There are a lot of frameworks for the frontend:

  • jQuery
  • Prototype
  • Mootools
  • YUI
  • ExtJS
  • Dojo

Could these be used on the server side to extend Javascript native classes for example:

object2 = object1.clone();

And is this a good way of extending Javascript?

Cause I don't want to create every basic function I need but lacks from Javascript core.

+1  A: 

MooTools gives a special server oriented version of its library : http://mootools.net/download/get/mootools-1.2.5-core-server.js

All functions related to the browser aren't include in this package. Since the purpose of this framework is to enhance javascript natives objects and not only focus on DOM handling and widgets things, this is a good choice.

Delapouite
+2  A: 

Underscore might work for you.

checkout this list of Node modules.

FallingBullets