Reputation: 93196
There are a lot of frameworks for the frontend:
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.
Upvotes: 1
Views: 489
Reputation: 10167
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.
Upvotes: 2