Sails.js Essentials

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

Sails.js Essentials

Shahid Shaikh

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

Quick links: > What will you learn?> Table of content> Product reviews

eBook
$5.00
RRP $23.99
Save 79%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$5.00
$29.99
RRP $23.99
RRP $29.99
eBook
Print + eBook

Frequently bought together


Sails.js Essentials Book Cover
Sails.js Essentials
$ 23.99
$ 5.00
Learning Vue.js 2 Book Cover
Learning Vue.js 2
$ 35.99
$ 5.00
Buy 2 for $10.00
Save $49.98
Add to Cart

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

Recommended for You

Learning Vue.js 2 Book Cover
Learning Vue.js 2
$ 35.99
$ 5.00
Getting Started with hapi.js Book Cover
Getting Started with hapi.js
$ 23.99
$ 5.00
Node.js Essentials Book Cover
Node.js Essentials
$ 19.99
$ 5.00
The Majesty Of Vue.js Book Cover
The Majesty Of Vue.js
$ 31.99
$ 5.00
Developing Microservices with Node.js Book Cover
Developing Microservices with Node.js
$ 31.99
$ 5.00
Angular 2 By Example Book Cover
Angular 2 By Example
$ 35.99
$ 5.00