Sails.js: Difference between revisions

Content deleted Content added
revision to citation; addition of primary source inline for two ref instances
addition of citation, some wikification and copyediting
Line 12:
}}
'''Sails.js''' (or '''Sails''')<ref name=":1">{{Cite book|url=https://books.google.com/books?id=hZifBAAAQBAJ&lpg=PT455&dq=Sails.js&pg=PT455#v=onepage&q=Sails.js&f=false|title=Web Development with MongoDB and Node.js|last=Krol|first=Jason|publisher=Packt|year=2014|isbn=9781783987313|___location=|pages=PT455|via=Google Books (Preview)}}</ref>, is a [[Model–view–controller|Model-View-Controller]] (MVC) [[web application framework]] developed atop the [[Node.js]] environment,<ref name=":0">{{Cite book|url=https://books.google.com/books?id=01hLDAAAQBAJ|title=Sails.js Essentials|last=Shahid|first=Shaikh|publisher=PaktPackt|year=2016|isbn=9781783554546|___location=Birmingham, UK|pages=|oclc=944986529|via=Google Books (Preview)}}</ref>{{Rp|1, 19}} released as [[free and open-source software]] under the [[MIT License]].<ref name="SailsJS" />{{Primary source inline|date=July 2017}} It is designed to make it easy to build custom, enterprise-grade Node.js [[web application]]s and [[API]]s.<ref name="SailsJS">{{cite web|url=https://sailsjs.com|title=Sails.js {{!}} Realtime MVC Framework for Node.js|last=|first=|date=|website=|publisher=The Sails Company|archive-url=|archive-date=|dead-url=|access-date=21 July 2017}}</ref>{{Primary source inline|date=July 2017}} Emulating the MVC architecture of other frameworks, like [[Ruby on Rails]],<ref name=":0" />{{Rp|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. Because it is built on Node.js and [[Express.js]],{{Citation needed|date=July 2017}} 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,<ref name=":1" /> Sails.js provides an [[ORM|Object-relational mapping]] interface, using [[Waterline.js]], which abstracts the database interaction. This enables a uniform API regardless of the underlying database being used.<ref name="WaterlineJS">{{cite web|url=http://waterlinejs.org/|title=Waterline.js home page}}</ref>
A number of other packages are included behind the scenes to enable fast '''auto-generated [[REST APIS'''API]]S, '''[[WebSocket|WebSockets''']] by default using [[Socket.io]],;<ref name=":1" /> and compatibility features making it '''front-end agnostic''' so that many tools and frameworks ([[AngularJS]], [[React.js]], [[Android]], [[iOS]], etc) are supported.
 
== Community Acclaim ==