Rails is a framework on top of Ruby. So you can't compare Rails to Node.JS. You can do CRUD with Node.JS. You can do in Nodejs everything that can be done in Ruby. Only the default paradigm is different. One is synchronous, blocking and the other is asynchronous, non-blocking by default. You can use libraries like EventMachine for nonblocking I/O in Ruby, but that also means you need to write your own libraries for HTTP, TCP, File I/O, Database wrappers etc (There are many available now like em-http-request, em-websocket etc). The reason to use NodeJS is the fact that its Javascript and all the modules written for Node are inherently asynchronous, non-blocking. If you want Rails in Node.JS you have Geddy<http://geddyjs.org/features.html>. Geddy <http://geddyjs.org/features.html> is an MVC framework.
On Thu, Aug 30, 2012 at 10:45 AM, ANIKET KADAM <[email protected]>wrote: > is said that in many blogs that => rails is suitable for "*Traditional > web app*" so Please tell me why* node.js* with *espress.js* is not > suitable for *Traditional app* with has lot of CRUD things. or is node.js > is just meant for Real time app > > > On Thu, Aug 30, 2012 at 4:19 AM, Diogo Resende > <[email protected]>wrote: > >> Yes. Node is just a javascript environment with a usable async API. >> Express is on top of Node. >> >> Stick with JavaScript, learn the basis, play with it in the browser if >> you like, you can use jQuery if you want, just stick with JS. After that, >> jump to Node and read the entire docs, it's not that big. >> >> -- >> Diogo Resende >> >> On Wednesday, August 29, 2012 at 21:50 , ANIKET KADAM wrote: >> >> did one should master javascript for learning node.js and express.js >> >> On Thu, Aug 30, 2012 at 2:18 AM, Sugarstack <[email protected]> wrote: >> >> Using coffeescript requires you to understand the JavaScript it generates >> and how/why it generates it that way >> >> I would not use it until you are comfortable with js first. >> >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> >> >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> >> >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
