Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Examples showing nodeJS's strengths

I'm getting interested in nodeJS and the idea you can run JS on the server, so just wondering if anyone has some examples or can explain the potentialities of nodeJS (documentation on the site is not big)

like image 965
sebarmeli Avatar asked Dec 07 '10 12:12

sebarmeli


1 Answers

I'm programing an app with nodejs right now, I can say that one of the biggest advantages is the performance. You can usa a documental dabase like mongoDB, and you'll have a turbo APP.

There is a web framework like Sinitra for Ruby, the ExpressJS, it's very simple to use, and does great to small apps. http://expressjs.com/

For database, mongoDB is very simple to use and works great with javascript, since you can read and persist JSON objects. http://www.mongodb.org/

To use mongoDB, there is the Mongoose module, it will abstract the usage and provides the connection. https://github.com/ciaranj/mongoose

Here is a tutorial to get started: http://howtonode.org/express-mongodb

like image 200
szanata Avatar answered Sep 23 '22 22:09

szanata