Intro to SailsJS

sailsJS

SailsJS is a very customizable MVC NodeJS framework that allows you to build Node apps in a matter of days! It is built on top of ExpressJS framework.

What is Node.js?

“Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.” – nodejs.org

What is ExpressJS?

“Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.” – expressjs.com

Sails has a lot of awesome features such as:

  • All Javascript code, unlike other MVC web frameworks!
  • You can use any database you want, for example MySQL, MongoDB, Redis, as well as the local disk
  • Its comes with Powerful associations to create relational models making data modeling more practical (sailsjs beta version only)
  • Auto generated REST APIs, which is one of the best features. All you have to do is run “sails generate api apiName” and your CRUD RESTful is ready!
  • Support of WebSockets

For the full features, check out their website

For a demo on how to create a sailsjs app, check the following Youtube videos.

Into to Sails

Creating a restful json api in less than 15 seconds

SailsJS Links:

If you have used SailsJS before, please let us know what do you think about it in the comments sections below!

Thanks!




Leave a Comment

Your email address will not be published. Required fields are marked *