Node.js Rest Framework

I plan to write a fairly large web application using JavaScript. I believe that I will develop webapp using CanJS to organize my client parts.

I strongly consider using Node.js for my server-side component, but I was wondering what is the best way to configure Node to receive and process REST requests. I did something on Google and stumbled upon something called Express. Any comments on this?

Any help / suggestions would be greatly appreciated.

+8
javascript rest express javascriptmvc
source share
4 answers

restify is a node.js module specifically designed to create the right REST web services.

http://mcavage.github.com/node-restify/

Express is more focused on a complete web application (rendering HTML, etc.). Restify is for web services only.

In addition, the guy who created Restify works at Joyent, the company where Ryan Dahl developed node.js (which is a kind of quality guarantee).

+15
source share

To process a REST request, express-resource is a more targeted solution than railjs, which is also built on top of expressjs.

+3
source share

You can try http://railwayjs.com/ , it is built on top of http://expressjs.com/

Express is good and fast :) The railway has a similar stack of ruby ​​on rails.

+2
source share

http://expressjs.com is a standard de factor, makes Sinatra-like routing. If you need really easy automatic resource generation (e.g. Rails style), try one of these libraries above.

If you want it to be really simple at the top of the expression, try http://github.com/deitch/booster

Disclosure: I just released Booster this week.

0
source share

All Articles