DESCRIPTION
Node.js has rapidly become a viable choice for large-scale web
applications that previously relied on Java, PHP, or Rails. Sails.js is a
modern MVC framework for Node that radically simplifies back-end
web development. Sails provides full support for data access, real-time
programming with web sockets, enterprise-caliber security, and
modern development workflow patterns. It also offers powerful
productivity features like rapid API development via Sails blueprints,
task automation via node-machines, and easy integration with frontend
frameworks like Ember and Angular.
Sails.js in Action is a comprehensive guide to building enterprisecapable
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. Readers follow perfectly-paced, gap-free instruction as
they learn to build the back end of a typical Single Page Web
Application. As readers hone skills, they explore advanced features
like services, hooks, and file uploads. Along the way, they learn to
fully understand Node's asynchronous programming model and the
syntax and conventions used to implement it.
KEY FEATURES
• Real-world examples and crystal-clear explanations
• Comprehensive guide to building enterprise level web apps
• Learn to build Single Page Web Applications
• Teaches concepts and practical techniques
AUDIENCE
Readers should be comfortable with JavaScript and front-end web
development. Perfect for back-end developers making the transition to
JavaScript and Node.
ABOUT THE TECHNOLOGY
Sails.js is a modern MVC framework for Node that radically simplifies
back-end web development. Node.js has rapidly become a viable choice for
large-scale web applications that previously relied on Java, PHP, or Rails.
Summary
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.
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 ReaderReaders should be comfortable with JavaScript and frontend web development.
About the AuthorMike McNeil is the creator of Sails.js.
Irl Nathan is the producer of sailsCasts, a series focused on using Sails.
Table of Contents- Getting started
- First steps
- Using static assets
- Using the blueprint API
- Custom backend code
- Using models
- Custom actions
- Server-rendered views
- Authentication and sessions
- Policies and access control
- Refactoring
- Embedded data and associations
- Ratings, followers, and search
- Realtime with WebSockets
- Deployment, testing, and security