Book Image

Web Development with MongoDB and Node.js

By : Jason Krol
Book Image

Web Development with MongoDB and Node.js

By: Jason Krol

Overview of this book

Table of Contents (19 chapters)
Web Development with MongoDB and Node.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
12
Popular Node.js Web Frameworks
Index

Sails


Sails is another great MVC framework for building web applications using Node.js that sometimes compares itself to Ruby on Rails. Unlike Meteor, Sails is database agnostic, so it doesn't matter which data store you choose. Sails includes some handy scaffolding tools such as automatic RESTful API generation. Socket.io, a real-time communication framework for Node.js, is built into Sails; so, including real-time functionalities in your application should be a breeze. Sails features some nice production-level automation that would typically need to be handled by a tool such as Grunt.js or Gulp (this includes minification and bundling of CSS and JavaScript for the frontend). Sails also includes basic security and role-based authentication for your app should you require that level of functionality.

The Sails website (http://sailsjs.com) is shown in the following screenshot:

More information about Sails can be found at its website as well as its official GitHub repo at https://github.com...