Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21ab3eaf9fda3ae

Jump to content

Sails.js

From Wikipedia, the free encyclopedia
Sails.js
DevelopersMike McNeil and others
Release2012; 14 years ago (2012)
Stable release
1.5.11 / May 24, 2024; 2 years ago (2024-05-24)[1]
Written inJavaScript
Operating systemCross-platform
PlatformNode.js
TypeWeb framework
LicenseMIT License
Websitesailsjs.com
RepositorySails.js Repository

Sails.js (or Sails)[2] is a model–view–controller (MVC) web application framework developed atop the Node.js environment,[3]:1,19 released as free and open-source software under the MIT License.[4][5] It is designed for Node.js web applications and APIs [4] with similar architecture to Ruby on Rails.[3]:19

Features

[edit]

Sails.js is built on Node.js and Express.js, enabling applications to be written in JavaScript. This includes models, views, controllers, configuration files, and adapters (e.g., database). Similar to Ruby on Rails,[2] Sails.js provides an object-relational mapping interface using Waterline.js, which abstracts the database interaction layer.[6]

A number of other packages are included to enable fast auto-generated REST APIs, WebSockets by default using Socket.io;[2] and compatibility features making it front-end agnostic (AngularJS, React.js, Android, iOS, etc.).

See also

[edit]

References

[edit]
  1. "Releases · balderdashy/sails". github.com. Retrieved 2024-11-14.
  2. 1 2 3 Krol, Jason (2014). Web Development with MongoDB and Node.js. Packt. pp. PT455. ISBN 9781783987313 via Google Books (Preview).
  3. 1 2 Shahid, Shaikh (2016). Sails.js Essentials. Birmingham, UK: Packt. ISBN 9781783554546. OCLC 944986529 via Google Books (Preview).
  4. 1 2 "Sails.js | Realtime MVC Framework for Node.js". The Sails Company. Retrieved 21 July 2017.
  5. "sails". npm, inc. Retrieved 21 July 2017.
  6. "Waterline.js home page".
[edit]