3 ms·
My opinion is that Node.js follows a lot more the philosophy of small reusable modules, which is a lot more flexible with the disadvantage of a lot more initial
by franciscop 9y ago
My opinion is that Node.js follows a lot more the philosophy of small reusable modules, which is a lot more flexible with the disadvantage of a lot more initial work. I still don't think server.js is Django.js-like, since it leaves most decisions up to the developers. The main difference is that Django, Rails, Sails, etc are opinionated about both the libraries AND the code structure, while I tried to keep server opinionated only about some basic functionality, but leaving the more advanced and code structure totally up to the devs using it.
But I do try to do batteries-included, because express-like workflow involves following a bunch of steps that are basically the same for most projects.
Edit, maybe you are interested on Sails: https://sailsjs.com/ https://sailsjs.com/