commonjs frameworks
DESCRIPTION
List of the some of the more interesting CommonJS frameworks for web development.TRANSCRIPT
![Page 1: CommonJS Frameworks](https://reader033.vdocuments.net/reader033/viewer/2022042623/54c856284a7959bf1e8b45b8/html5/thumbnails/1.jpg)
CommonJS frameworksJanne Kuuskeri
Monday, April 11, 2011
![Page 2: CommonJS Frameworks](https://reader033.vdocuments.net/reader033/viewer/2022042623/54c856284a7959bf1e8b45b8/html5/thumbnails/2.jpg)
RingoJS
Node.js
Narwhal
Monday, April 11, 2011
![Page 3: CommonJS Frameworks](https://reader033.vdocuments.net/reader033/viewer/2022042623/54c856284a7959bf1e8b45b8/html5/thumbnails/3.jpg)
RingoJS
“Traditional” web framework
Runs on JVM (Rhino)
JSGI
Middlewares
Database access
Monday, April 11, 2011
![Page 4: CommonJS Frameworks](https://reader033.vdocuments.net/reader033/viewer/2022042623/54c856284a7959bf1e8b45b8/html5/thumbnails/4.jpg)
exports.middleware = [ 'ringo/middleware/gzip', 'ringo/middleware/etag', 'ringo/middleware/error', 'ringo/middleware/notfound'];
exports.urls = [ [ '/docs', 'myapp/docs', 'getDocument' ], [ '/', 'myapp/actions' ]];
Monday, April 11, 2011
![Page 5: CommonJS Frameworks](https://reader033.vdocuments.net/reader033/viewer/2022042623/54c856284a7959bf1e8b45b8/html5/thumbnails/5.jpg)
Node.js
Evented I/O
Reactor pattern
Asynchronous
Runs on V8
A lot of packages available
Monday, April 11, 2011
![Page 6: CommonJS Frameworks](https://reader033.vdocuments.net/reader033/viewer/2022042623/54c856284a7959bf1e8b45b8/html5/thumbnails/6.jpg)
Narwhal
Runs on node, JSC and Rhino
Many CommonJS specs implemented
“Moving target”
Many packages available
Monday, April 11, 2011
![Page 7: CommonJS Frameworks](https://reader033.vdocuments.net/reader033/viewer/2022042623/54c856284a7959bf1e8b45b8/html5/thumbnails/7.jpg)
Conclusions
Is JavaScript ready for the server?
Easier for startups and new apps
More limited support for legacy app integration
CommonJS is good initiative, time will show how it turns out
Node.js (and SSJS) is really hot at the moment
Learn the language if you are going to use it
Monday, April 11, 2011
![Page 8: CommonJS Frameworks](https://reader033.vdocuments.net/reader033/viewer/2022042623/54c856284a7959bf1e8b45b8/html5/thumbnails/8.jpg)
Links
https://github.com/joyent/node/wiki/modules
http://ringojs.org/
http://www.persvr.org/
http://redis.io/
http://www.mongodb.org/
http://couchdb.apache.org/
Monday, April 11, 2011