Chapter 14. MooTools on Deck
Before CommonJS, there was ServerJS, a movement to advance the state of JavaScript on the server. Server-side JavaScript isn't something new: there have been several attempts to bring JavaScript to the backend of applications, but none of them was really successful. ServerJS (eventually renamed CommonJS) changed that.
The idea of JavaScript on the server might seem weird to some people. After all, there are already dozens of established languages that can be used to write the backend of web applications. There's a big allure, however, to being able to write both parts of an application—server and client—in the same language, and that alone is enough to warrant exploration into server-side JavaScript.
In this chapter, ...
Get Pro JavaScript with MooTools: Learning Advanced JavaScript Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.