Join Alexander Zanfir for an in-depth discussion in this video A look at the Sails framework, part of Learning Node.js.
- Now let's head over to sailsjs.org…and take a look at Sails.…The most interesting part about Sails is that…it's actually built on top of express.js.…And so we get all of the nice features Express has to offer.…But on top of that, we also get a very rich feature set.…This is provided by some of Sails sub-frameworks.…Let's scroll down to take a look at some of them.…In the features section,…we can see that we can access any database…using the powerful ORM,…or object relational mapper, called Waterline.…
Another powerful features is the auto-generated REST APIs,…which allows us to easily interact…with resources from our web API.…There is also some automatic web socket support…for our resources.…But we won't take a look…at this more advanced feature in this course.…But it's good to know that Sails has this support.…Another great feature is the reusable security policies,…which allows us to secure our resources,…and provide role-based access to those resources.…So as you can see, Sails is the most feature-rich framework.…
- Installing Node.js
- Writing modules and packages
- Reading and writing files
- Working with frameworks: Express, Sails, and Koa
- Generating promises
- Working with generator functions
Skill Level Beginner
Q: When I try to install Bluebird/Express/Gulp/Sails/KOA using the Node Package Manager, it seems to install correctly in the terminal. But why doesn't my project folder change?
A: You need to make sure that you've navigated to your project folder in the terminal. For example, in this course Alexander is working from the C:\Dev\ folder both in Brackets and in the terminal.