Intro to Sails.js
Why Stack Overflow recommends it
Stack Overflow users link it as the introductory tutorial for Sails.js when answering setup, convention and REST-behaviour questions about the framework.
Recommended by 1 people across 1 different months, 2013 to 2014.
What it is
A 2013 introductory walkthrough of Sails.js, a Rails-style MVC framework for Node.js, presented by its creator Mike McNeil. It covers generating models and controllers and the framework's API-first and realtime features.
What people said
Recommends Loed · 2013-04 · Stack Overflow · on “Sails.js authentication for model actions”
Just modified all the policies en renamed the controllers, as stated in de CLI: 'sails generate model example' gives an notification about the controller being named as singular. So I didn't need to redirect all model actions to the plural controller (examples). Now all the basic CRUD actions are working as it should. The sails.js video tutorial helped me a lot: [this video]
Cites Faris Nasution · 2014-02 · Stack Overflow · on “REST convention for handling verb”
After watching intro to sails.js [this video] , I realize that he can create/update a record using a simple GET request with parameters on its url, but what I know is you have to use specific method for specific action, e.g. use POST to create a new record. Is that the correct way to do rest?
Cites mikermcneil · 2014-03 · Stack Overflow · on “Sails.js vs Meteor - What are the advantages of both?”
I can't speak for Meteor, but I can help provide a little background on Sails because I created it. tldr; Sails is not a panacea for all of the web's problems-- but I believe Node.js is. The goal of Sails is to provide a practical framework for developing complete, scalable, startup and enterprise-friendly applications built on node.js. I started Balderdash [LINK] with the question "Can we use Node.js for everything?". Sails is the answer. From our new docs [LINK] : Sails is, of course, a web framework. But take a step back. What does that mean? Sometimes, when we refer to the "web", we mean the "front-end web." We think of concepts like web standards, or HTML 5, or CSS 3; and frameworks lik