25 ms·
I'd love to see someone put together a guide to Node and the current javascript world for the Rails developer. I've looked at Node a few times, but it's so much
by rufugee 15y ago
I'd love to see someone put together a guide to Node and the current javascript world for the Rails developer. I've looked at Node a few times, but it's so much lower-level than Rails...I'd think it would be more valid to compare it to Rack. What about the other components of a Rails app? What should you use as an ORM? What about views? What about routing? Etc, etc.
- jasonkostempski 15y agoHere's a good list of available modules https://github.com/joyent/node/wiki/modules https://github.com/joyent/node/wiki/modules. If you get involved in the community you'll quickly discover which ones are widely used in your area of concern. I've played with express http://expressjs.com/ http://expressjs.com/ routing and views with the jade https://github.com/visionmedia/jade https://github.com/visionmedia/jade view engine. I found them quite easy to learn. When I got into node I also got into MongoDB http://www.mongodb.org/ http://www.mongodb.org/ so I haven't played with any ORM tools because there was no mapping of objects to a relation db needed, no mapping at all really since I pretty much keep everything in JSON format from front to back.