4 ms·
Except, we're talking about Express here and not barebones Node.js. Express implies a web framework competing against all the techs you listed: Rails, Grails,
by taude 13y ago
Except, we're talking about Express here and not barebones Node.js. Express implies a web framework competing against all the techs you listed: Rails, Grails, Django....
- kaoD 13y agoNot at all. Express is more like Rack than Rails. It provides routing and middleware setup... and that's pretty much it. It's a microframework designed to be minimal, so you are crticising its core design. You should compare Rails/Django to full-fledged frameworks such as Geddy/Tower/Locomotive/Meteor/Compound... Many of these frameworks are built on top of Express, leveraging it just like Rails/Sinatra leverage Rack. That's why you should never criticise what you don't know! :)
- andreypopp 13y agoSo Rack doesn't handle errors properly now? Node.js error handling sucks, period.
- matthieupiguet 13y agoWell, you do seem to be an expert ... Error handling works pretty well if you know how to code (we run a seever in production with 2M requests per day on node and we manage errors pretty well)
- andreypopp 13y agoI didn't say it is impossible, it just sucks compared to other platforms/languages.