Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m

Next lesson playing in 5 seconds

  • Overview
  • Transcript

1.2 About Sails.js

In this lesson, I'll tell you a little bit about what makes Sails.js special and how it can help us easily develop real-time web apps. I'll also describe what you can expect from this course.

1.2 About Sails.js

Hi folks, Sails.js is an MVC web framework that runs on Node.js and which is great for full-stack JavaScript development. Sails is built on Node.js and uses other well known and respected frameworks, like Express. So, it's built on a solid foundation which you may already be familiar with depending on your experience. It also makes use of socket IO and automatically translates all incoming HTTP requests to your routes to web socket messages. Which is great for making use of bi-directional, blazing fast communication between the server and connected clients. Sails comes with a powerful database abstraction called waterline an object relation mapping and object document mapping tool that allows Sails to use Pre-built adaptors, which talk to a huge range of different databases. You can use the same syntax to communicate with any database you wish to use, and even make use of several, depending on your application's needs. It's also great from a front-end perspective. Sails comes with grunt installed, and configured, and ready to build your CSS from less files. Your Java Script from Coffee Script and to minify and package everything up ready for deployment. It's also super easy to add new grunt modules to run other essential front-end tasks like lending and unit testing. Sails is also completely front-end agnostic, it makes no assumptions about which front-end frameworks you prefer. So your applications are ready to have shiny front ends consisting of angular, React, or whatever else you want to use. Lastly Sails is perfect for rapid development with its powerful blueprints and default file based database we can have a backend up and running and responding to requests in minutes. Perfect for getting the front end up and running and in a demoable state quickly. That's not everything, Sails offers of course, but these are some of the main features. To complete this course, you should have a good working knowledge of JavaScript and know the basics of web application development. All concepts will be explained in full, however, so don't worry too much if you consider yourself a beginner. I should also mention I'll be presenting this course and running the examples on a Windows computer. If you don't have a Windows computer you should still be able to complete the course, and end up with a fully working demonstration app at the end of it. However, the process of installing and configuring the software that we'll use such as NodeJS and MongoDB May differ depending on your platform. But once everything is in stood and working the actual code will write should work anyway. It's just JavaScript after all, so let's move on now to the next lesson and get setup ready. Thanks for watching.