Compatibilidad del módulo Node.js NPM con marcos populares
I understand that this is probably a really stupid question, but after just dipping my toes in Node.js for the first time, i'm wondering if todos modules/packages found on NPM work with popular frameworks such as Sails.js, Meteor etc. This is obviously not the case with many PHP frameworks, for instance Laravel uses Composer, and I was wondering if the same fragmentation applies for Node?
preguntado el 12 de febrero de 14 a las 06:02
Most of them do, unless stated otherwise.
It's usual in node.js to create universal libraries that can be used anywhere, not just for one particular framework.
PS: sails and meteor are way over-engineered though. I won't be surprised if they break something.
So in node.js you build your app from scratch, and on each step you pick those small pieces of code other people wrote. This way you have full control over whatever application you're developing, and can freely change anything.
Thanks. As for which framework, I'm currently considering Sails as it is Rails-like and reasonably well supported. As you mention Sails is over-engineered, what other frameworks do you recommend? - Martin
express. Tenga en cuenta que
sailsestá basado en
express, so you'll be using almost the same tools. But this way you'll have more granular control over your application. - alex