Sailsjs Intro
WELCOME :D
@barrynijenhuis
Contents

What is Sailsjs?

Defining features

Components

Realtime

NeXt level sh#t

Playtime
What is Sailsjs?

MVC backend framework for Node.js

Built on top of Express

Inspired by RoR

Quick facts

First commit: jan 17, 2012

Current version 0.12.1

Creator: @mikermcneil
Defining features

ORM: Waterline

Associations

Combining different db technologies

Blueprints

API routes without code

Realtime

Same RESTful API

Websockets

Production ready

CLI

Front-end: asset pipeline
Components

Routes

Controllers

Models

ORM: Waterline

Services

Configuration

Middleware

Security
Realtime

Built-in, works out of the box

Socket.io

Resourceful pub sub
NeXt level sh#t

Deploying

Production

To the cloud

Scaling

Session

Sockets

Treeline.io

Sitespirit ♥ Sails

Newrelic

Stormpath

AngularSails

Bluemix
Playtime:install

Install

npm -g install sails

sails new myProject

CLI

Generate new API

sails generate chatmsg
Playtime:LIFT THE SAILS!!
Questions?

NijmegenJS - SailsJS intro march 10 2016

Editor's Notes

  • #6 Waterline: https://github.com/balderdashy/waterline-docs Documentation: http://sailsjs.org/documentation/concepts/