Sails.js Essentials

Get up to speed with Sails.js development with this fast-paced tutorial

Sails.js Essentials

Essentials
Shahid Shaikh

1 customer reviews
Get up to speed with Sails.js development with this fast-paced tutorial
$23.99
$29.99
RRP $23.99
RRP $29.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Preview in Mapt

Book Details

ISBN 139781783554539
Paperback108 pages

Book Description

Sails.js makes it easy to build custom, enterprise-grade Node.js apps. It is designed to emulate the familiar MVC pattern of frameworks, but with support for the requirements of modern apps: data-driven APIs with a scalable, service-oriented architecture.

This book will provide practical examples to get you started with Sails.js and get you develop production-ready apps in no time. We will take you from a Node.js web server and single threading system to a general MVC architecture. You will then learn to develop applications that you might be already familiar with using Sails.js. Finally, we will show you how to create a chat app and a to-do application, and improve code quality using JSHINT and JSCS.

Table of Contents

Chapter 1: Revisiting Node.js Concepts
Node.js architecture
Single-threaded system and its working
Event loop and non-blocking I/O model
Summary
Chapter 2: Developing Node.js Web Server
Working of web servers
HTTP operations and their use
Developing web server using HTTP module
HTTP headers and content-type
Developing web server using Express
Summary
Chapter 3: Introduction to Sails.js and MVC Concepts
Getting started with MVC concepts
Installing Sails.js
Understanding directory structure of Sails.js project
Adding database support
Configuring the Grunt task runner file with JSHint
Summary
Chapter 4: Developing REST API Using Sails.js
Why it is called REST?
The REST CRUD operation
Database design for REST API
Building REST API in Sails.js
Summary
Chapter 5: Build a Chat System Using Sails.js
Application architecture and flow
Creating a Sails.js app
Sails.js API for chat
Model definition and MySQL integration in the app
Sails.js controller to handle the chat operation
AngularJS app for client-side interaction
Running the application
Summary
Chapter 6: Building a Real-Time News Feed App Using Sails.js
Briefing Socket.IO
Using Socket in Sails.js
Discussing the database design of the app
Implementing the application
Summary
Chapter 7: Creating a TODO Single-Page Application
MongoDB support in Sails.js
Defining model for API
TODO app view design
Summary
Chapter 8: Sails.js Production Checklist
Sails.js migrate in detail
Sails.js security checklist
Sails.js deployment checklist
Sails.js hosting
Summary

What You Will Learn

  • Find out to quick-start Sails.js and develop production-ready apps
  • Understand how to apply the MVC model of software development in Node.js using Sails.js
  • Discover how to write quality code using Sails.js
  • Integrate third-party APIs and databases such Mongo and MySQL in Sails.js
  • Get to know the advantages and importance of the MVC framework in software development

Authors

Table of Contents

Chapter 1: Revisiting Node.js Concepts
Node.js architecture
Single-threaded system and its working
Event loop and non-blocking I/O model
Summary
Chapter 2: Developing Node.js Web Server
Working of web servers
HTTP operations and their use
Developing web server using HTTP module
HTTP headers and content-type
Developing web server using Express
Summary
Chapter 3: Introduction to Sails.js and MVC Concepts
Getting started with MVC concepts
Installing Sails.js
Understanding directory structure of Sails.js project
Adding database support
Configuring the Grunt task runner file with JSHint
Summary
Chapter 4: Developing REST API Using Sails.js
Why it is called REST?
The REST CRUD operation
Database design for REST API
Building REST API in Sails.js
Summary
Chapter 5: Build a Chat System Using Sails.js
Application architecture and flow
Creating a Sails.js app
Sails.js API for chat
Model definition and MySQL integration in the app
Sails.js controller to handle the chat operation
AngularJS app for client-side interaction
Running the application
Summary
Chapter 6: Building a Real-Time News Feed App Using Sails.js
Briefing Socket.IO
Using Socket in Sails.js
Discussing the database design of the app
Implementing the application
Summary
Chapter 7: Creating a TODO Single-Page Application
MongoDB support in Sails.js
Defining model for API
TODO app view design
Summary
Chapter 8: Sails.js Production Checklist
Sails.js migrate in detail
Sails.js security checklist
Sails.js deployment checklist
Sails.js hosting
Summary

Book Details

ISBN 139781783554539
Paperback108 pages
Read More
From 1 reviews

Read More Reviews