Sails.js

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 to make it easy to build custom, enterprise-grade Node.js web applications and APIs.[4][6] Emulating the MVC architecture of other frameworks, like Ruby on Rails,[3]:19 it offers similar pattern and familiarity, reducing the cognitive burden when switching between other frameworks/languages.

Sails.js
Sails.js brand logo
Developer(s)Mike McNeil and others
Initial release2012 (2012)
Stable release
1.2.3 / June 18, 2019 (2019-06-18)[1]
RepositorySails.js Repository
Written inJavaScript
Operating systemCross-platform
PlatformNode.js
TypeWeb framework
LicenseMIT License
Websitesailsjs.com

Features

Sails.js offers a host of features and attributes. Because it is built on Node.js and Express.js,[7] it enables applications to be built with 100% JavaScript. This not only includes models, views, and controllers; but also configuration files and adapters (e.g., database).

Like Ruby on Rails,[2] Sails.js provides an Object-relational mapping interface, using Waterline.js, which abstracts the database interaction.[7] This enables a uniform API regardless of the underlying database being used.[8]

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 so that many tools and frameworks (AngularJS, React.js, Android, iOS, etc.) are supported.

Community Acclaim

As compared to other libraries/frameworks, like FeathersJS, Sails offers a host of features out of the box.

References

  1. "Releases · balderdashy/sails · GitHub". Retrieved 4 September 2019.
  2. Krol, Jason (2014). Web Development with MongoDB and Node.js. Packt. pp. PT455. ISBN 9781783987313 via Google Books (Preview).
  3. Shahid, Shaikh (2016). Sails.js Essentials. Birmingham, UK: Packt. ISBN 9781783554546. OCLC 944986529 via Google Books (Preview).
  4. "Sails.js | Realtime MVC Framework for Node.js". The Sails Company. Retrieved 21 July 2017.
  5. "sails". npm, inc. Retrieved 21 July 2017.
  6. Rajput, Mehul (12 December 2016). "Top Reasons Why Sails.js Is The Best Node.js Web Framework". mindinvenory. Mindinventory. Retrieved 22 July 2017.
  7. Yang, Chuoxian. "Comparison Of Four Popular Node.js Frameworks | Toptal". toptal. Toptal, LLC. Retrieved 22 July 2017.
  8. "Waterline.js home page".
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.