Skip to Main Content

Sails.js in Action

Published by Manning
Distributed by Simon & Schuster



Free shipping when you spend $40. Terms apply.

Buy from Other Retailers

About The Book


Sails.js in Action is a comprehensive guide to buildingenterprise-capable web applications using Node and Sails. Written by the creators of the Sails.js framework, this book carefully introduces each concept, technique, and tool with real-world examples and crystal clear explanations.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Sails makes professional web development a breeze. This instantly familiar MVC framework automatically handles the tedious application boilerplate, so you can concentrate on developing features and creating business value. You get powerful tools for rapid API development, task automation, an ORM, and easy integration with any web, mobile, or IoT frontend. And because you're using Node.js, it's JavaScript all the way down.

About the Book

Sails.js in Action is a comprehensive guide on how to build enterprise-capable web applications. Written by the creators of Sails.js, this book introduces each concept and technique with real-world examples and thorough explanations. As you read, you'll learn to build the backend of a typical web application while you explore real-time programming with WebSockets, security fundamentals, and best practices for building Sails/Node.js apps.

What's Inside

  • Creating the backend for a web, mobile, or IoT app
  • Real-time programming with WebSockets
  • User management, authentication, and password recovery
  • Using Sails to autogenerate REST APIs
  • Custom backend development and third-party API integrations

About the Reader

Readers should be comfortable with JavaScript and frontend web development.

About the Author

Mike McNeil is the creator of Sails.js. Irl Nathan is the producer of sailsCasts, a series focused on using Sails.

Table of Contents

  1. Getting started
  2. First steps
  3. Using static assets
  4. Using the blueprint API
  5. Custom backend code
  6. Using models
  7. Custom actions
  8. Server-rendered views
  9. Authentication and sessions
  10. Policies and access control
  11. Refactoring
  12. Embedded data and associations
  13. Ratings, followers, and search
  14. Realtime with WebSockets
  15. Deployment, testing, and security

About The Authors

Mike McNeil is an open-source developer based in Austin, TX, and the creator of Sails.js. He is the co-founder of Balderdash, a mobile and web studio, an avid contributor to many popular open source projects, and a speaker at numerous conferences including Powered by Javascript, All Things Open, NodePDX, Geeklist #hack4good in Paris, DevOpsDays, and NodeJS Conf Italy.

Irl Nathan is the producer of Sailscasts a successful 50+ part series focusing on web programming using Sails. He's a recovering lawyer who now works with Mike and is a co-founder of Treeline.

Product Details

  • Publisher: Manning (February 9, 2017)
  • Length: 488 pages
  • ISBN13: 9781617292613

Browse Related Books

Resources and Downloads

High Resolution Images

More books from this author: Irl Nathan