Software:Sails.js
Sails.js brand logo | |
Developer(s) | Mike McNeil and others |
---|---|
Initial release | 2012 |
Stable release | 1.5.7
/ July 22, 2023[1] |
Repository | Sails.js Repository |
Written in | JavaScript |
Operating system | Cross-platform |
Platform | Node.js |
Type | Web framework |
License | MIT License |
Website | sailsjs |
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] 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.
Features
Sails.js offers a host of features and attributes. It is built on Node.js and Express.js, enabling applications to be made with 100% JavaScript. This includes models, views, controllers, 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. This enables a uniform API regardless of the underlying database being used.[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 so that many tools and frameworks (AngularJS, React.js, Android, iOS, etc.) are supported.
See also
References
- ↑ "Releases · balderdashy/sails". https://www.github.com/balderdashy/sails/releases.
- ↑ 2.0 2.1 2.2 Krol, Jason (2014). Web Development with MongoDB and Node.js. Packt. pp. PT455. ISBN 9781783987313. https://books.google.com/books?id=hZifBAAAQBAJ&dq=Sails.js&pg=PT455.
- ↑ 3.0 3.1 Shahid, Shaikh (2016). Sails.js Essentials. Birmingham, UK: Packt. ISBN 9781783554546. OCLC 944986529. https://books.google.com/books?id=01hLDAAAQBAJ.
- ↑ 4.0 4.1 "Sails.js | Realtime MVC Framework for Node.js". The Sails Company. https://sailsjs.com.
- ↑ "sails". npm, inc.. https://www.npmjs.com/package/sails.
- ↑ "Waterline.js home page". http://waterlinejs.org/.
External links
Original source: https://en.wikipedia.org/wiki/Sails.js.
Read more |