Sails.js: Difference between revisions

Content deleted Content added
Update last sails release
 
(5 intermediate revisions by 5 users not shown)
Line 14:
| website = {{URL|https://sailsjs.com/}}
| genre = [[Web framework]]
| latest release version = 1.45.211
| latest release date = {{release date and age|20212024|0305|1024}}<ref>{{cite web
| url = https://www.github.com/balderdashy/sails/releases
| title = Releases · balderdashy/sails
| website = github.com
| access-date = 20212024-0411-2814
}}</ref>
| repo = {{URL|https://github.com/balderdashy/sails|Sails.js Repository}}
}}
 
'''Sails.js''' (or '''Sails''')<ref name=":1">{{Cite book|url=https://books.google.com/books?id=hZifBAAAQBAJ&dq=Sails.js&pg=PT455|title=Web Development with MongoDB and Node.js|last=Krol|first=Jason|publisher=Packt|year=2014|isbn=9781783987313|pages=PT455|via=Google Books (Preview)}}</ref> is a [[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=Packt|year=2016|isbn=9781783554546|___location=Birmingham, UK|oclc=944986529|via=Google Books (Preview)}}</ref>{{Rp|1, 19}} released as [[free and open-source software]] under the [[MIT License]].<ref name="SailsJS" /><ref name="NPM">{{cite web|url=https://www.npmjs.com/package/sails|title=sails|access-date=21 July 2017|publisher=npm, inc.}}</ref> It is designed to make it easy to build custom, enterprise-gradefor 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|publisher=The Sails Company|access-date=21 July 2017}}</ref> Emulatingwith the MVCsimilar architecture of other frameworks, liketo [[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. It is built on Node.js and [[Express.js]],<ref name="toptal">{{cite web|last1=Yang|first1=Chuoxian|title=Comparison Of Four Popular Node.js Frameworks {{!}} Toptal|url=https://www.toptal.com/nodejs/nodejs-frameworks-comparison|website=toptal|publisher=Toptal, LLC|access-date=22 July 2017}}</ref> enabling applications to be made withwritten 100%in JavaScript. This includes models, views, controllers, configuration files, and adapters (e.g., database). Similar to Ruby on Rails,<ref name=":1" /> Sails.js provides an [[object-relational mapping]] interface using Waterline.js, which abstracts the database interaction layer.<ref name="WaterlineJS">{{cite web|url=http://waterlinejs.org/|title=Waterline.js home page}}</ref>
Like Ruby on Rails,<ref name=":1" /> Sails.js provides an [[object-relational mapping]] interface using Waterline.js, which abstracts the database interaction.<ref name="toptal"/> 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 to enable fast auto-generated [[REST API]]s, [[WebSocket]]s 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 (operating system)|Android]], [[iOS]], etc.) are supported.
 
== See also ==