Hi!I come from a vanilla php background and 4 years ago my job required me to work in Rails. I fell in love with the framework and mainly, the convention, but the language just felt foreign to me no matter how much I did with it.While stepping in to node and express, I felt the syntax was great, but the structure just wasn't there that I loved from rails. Then I found Sails. I love it.However, one thing that I wasn't keen on with Rails is gems and dependencies. I've had a number of issues with version managers in rails, c compilers and integrating other peoples code in to my applications. Which when upgrading mac OS meant I was unable to work on something without going back to a previous OS. (rmagick gem and rails 1.8.7 i think)...Now that I'm stepping in to node I want to try avoid what I felt was rails biggest downfall - dependencies. I understand they are stored in the application, but for piece of mind I prefer to write everything myself... thats the vanilla php coming out in me!Does Sails look like it will last? I understand it is built on express, but surely it requires more dependencies? Express is not 'opinionated', which to me is a downfall. My issue with working with express is, I'm not at the standard where I can make it opinionated - and right now, it doesn't feel right.I've watched a tonne of tutorials, but each one is a different version of express, syntax and aproach. The Sails tutorial that I felt was the best stops 1/3 the way though the series.I guess my question is, should I bother investing my time in to Sails, or should I just keep going with express and trying to force an MVC structure on it. I'm aware there are examples of express with MVC, but absolutely nothing is explained and I dont understand the 'why' of certain things.Thanks
Submitted February 05, 2016 at 09:57PM by _reddy
No comments:
Post a Comment