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 an 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 the 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. Sails could be considered a more full-fledged enterprise level framework than Express, as it has almost every feature that a popular framework such as rails has.
Web Development with MongoDB and NodeJS Second edition
Web Development with MongoDB and NodeJS Second edition
Overview of this book
Table of Contents (19 chapters)
Web Development with MongoDB and NodeJS Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Welcome to JavaScript in the Full Stack
Getting Up and Running
Node and MongoDB Basics
Introducing Express
Templating with Handlebars
Controllers and View Models
Persisting Data with MongoDB
Creating a RESTful API
Testing Your Code
Deploying with Cloud-Based Services
Single-Page Applications with Popular Frontend Frameworks
Popular Node.js Web Frameworks
Index
Customer Reviews