MVC Architecture
Sails.js follows a Model-View-Controller (MVC) pattern, making it easier to organize and maintain code, particularly for larger applications.
Auto-Generated REST APIs
Automatically generates RESTful APIs based on your models, saving development time and reducing boilerplate code.
WebSocket Support
Built-in support for WebSockets allows for real-time features without needing additional configurations.
ORM Integration
Waterline, Sails.js' built-in ORM, provides a straightforward way to interact with databases, supporting multiple database systems with the same codebase.
Modularity
Encourages modular development by supporting hooks and middleware, which can be reused or extended for various functionalities.
Blueprints
Blueprints provide automatic actions for basic CRUD operations, streamlining common tasks and making development faster.
Scalability
Designed to be scalable, allowing you to build applications that can handle a large number of simultaneous connections.
Sails.js is a solid choice for developers who are already familiar with Node.js and require a well-structured framework to build scalable and maintainable applications quickly. Its convention over configuration approach can significantly increase development efficiency, though it may introduce a learning curve for developers unfamiliar with its conventions. Overall, it's a robust tool for building apps that need real-time features or are backed by databases.
We have collected here some useful links to help you find out if Sails.js is good.
Check the traffic stats of Sails.js on SimilarWeb. The key metrics to look for are: monthly visits, average visit duration, pages per visit, and traffic by country. Moreoever, check the traffic sources. For example "Direct" traffic is a good sign.
Check the "Domain Rating" of Sails.js on Ahrefs. The domain rating is a measure of the strength of a website's backlink profile on a scale from 0 to 100. It shows the strength of Sails.js's backlink profile compared to the other websites. In most cases a domain rating of 60+ is considered good and 70+ is considered very good.
Check the "Domain Authority" of Sails.js on MOZ. A website's domain authority (DA) is a search engine ranking score that predicts how well a website will rank on search engine result pages (SERPs). It is based on a 100-point logarithmic scale, with higher scores corresponding to a greater likelihood of ranking. This is another useful metric to check if a website is good.
The latest comments about Sails.js on Reddit. This can help you find out how popualr the product is and what people think about it.
He's building js apps with https://sailsjs.com ? - Source: Hacker News / 10 months ago
I haven't used either so I can't chime in on that front, but long ago I was pretty into Sails which is written by a team that loves rails, but switched to NodeJS so it's basically Node on Rails. I actually thought they discontinued it, but I just searched and it still exists. It was a solid framework like 5 years ago when I used it last so I assume it's quite mature now. https://sailsjs.com/. - Source: Hacker News / about 2 years ago
Sails is a realtime JavaScript framework built on top of Express. Sails offers built-in realtime communication support and a flexible routing system. - Source: dev.to / over 2 years ago
Sails is a realtime MVC framework for NodeJS built on top of Express. Sails has a flexible routing system and comes with built-in realtime communication support. - Source: dev.to / over 2 years ago
Sails.js: Sails.js pitched itself as the MVC framework for Node.js, bringing a Rails-like experience while being database agnostic. - Source: dev.to / almost 3 years ago
Disclaimer: I didn't know much about Websockets 1 week ago, all the experience I had with Websockets was when I developed a chat application back in 2016 using a JS framework that tried to be a Ruby on Rails implementation called SailsJS, so I decided to research about this technology and consumed multiple resources which I will link in this blog post and each section. - Source: dev.to / almost 3 years ago
Perhaps Sails.js. They mention RoR. An Angular teacher used it to create a fast API. Source: about 3 years ago
First hurdle. ExpressJS isn't a great framework on it's own for building web sites. You need to cobble together some combination of a view engine, templating etc otherwise out of the box you'll end up handcrafting HTML which I don't think is what you want right now. I'm not up on the latest server-side web frameworks and don't think now is the time to get into react + nodejs. So I'll just suggest Sails:... Source: over 3 years ago
NestJs 's typescript support is just stellar since it is a pure typescript project from the ground up. Some missing frameworks in your list - Hapi - feathers - adonisJs - sailsjs (something about this framework never ticked, typescript is a clear after thought compared to the others in the list). Source: almost 4 years ago
Sails.js on the other hand is a framework for Node.js. It does offer a tool to bootstrap a project though. Source: almost 4 years ago
Sails.js, sometimes known as Sails, is a real-time MVC framework for developing enterprise-ready Node.js applications. Source: about 4 years ago
To learn the TailwindCSS I have created a pilot project with SailsJs and improved it over the time to master the skills. - Source: dev.to / about 4 years ago
Node based Here's a list of Node Frameworks. Most people go for Express, but it's very minimal. If you want something more complete and opinionated, you can check out AdonisJS, NestJS or Sails. They're mostly working with TypeScript, but depending on your knowledge of JS the switch might be easy enough. Source: over 4 years ago
Also, there is a project called Sails.js if you're explicitly looking for a complete MVC framework in JS. I will say that I have not seen it used by any of the teams I've been on/around that work in JS, so it is a much less popular choice than building something starting with the simpler building blocks mentioned above. Source: over 4 years ago
Based on your ask, I would strongly suggest you look into Sails.js. It's built on Node + Express and based on my experience with it, it sounds like it may be a good fit for your needs. Source: over 4 years ago
Bonus: Another example of unwanted routes are default routes like those available in Sails and Feathers. Fortunately Express only has a default error and 404 handlers which we will cover in the following section. - Source: dev.to / over 4 years ago
I started my career with Rails, then some frontend, and now work a full-time job in Node. Agree with most or all of these points - full-stack javascript is kind of a mess and hasn't really progressed despite individual tools having done so. I think https://sailsjs.com set out to solve a lot of these issues many years ago, by trying to be a JavaScript version of Rails. I'm not sure if they ever reached... - Source: Hacker News / over 4 years ago
As a rails and django dev some things in django are such a pain to set up/maintain, despite being a "less opionated" framework. Also, I hear SailsJS is a good JS framework inspired by rails. Source: over 4 years ago
Sails.js [0] has been around for years. I don't know how good/bad it is, but there are lot of big name shops using it. 0. https://sailsjs.com/. - Source: Hacker News / almost 5 years ago
This is fairly close https://sailsjs.com. I've used it on some side projects and it definitely felt like it made doing node apps faster than doing things by hand. - Source: Hacker News / almost 5 years ago
This amazing framework will help you to build a robust Node.js API. Itโs important to know that there are other options to take like Sails, Meteor, Happi, among others. In this case we will use Express which is the most used one but it doesnโt limit you to use other one. You can read the whole Express documentation here. - Source: dev.to / almost 5 years ago
Sails.js is a web application framework designed for building enterprise-grade Node.js applications, with a focus on real-time features and an MVC architecture. It is commonly referred to as a "Node on Rails" due to its attempt to bring some of Ruby on Rails' conventions and ease-of-use to the JavaScript ecosystem. Built on top of the widely-used Express.js, it offers a more comprehensive solution for developers who require more than what Express alone can provide.
Sails.js enjoys a reputation for being a robust framework, especially praised for its real-time capabilities and built-in WebSocket support, which facilitate the development of real-time applications such as chat services. It offers a database agnostic ORM called Waterline, which allows developers to switch databases without modifying their codebase, a feature beneficial for complex, data-driven applications.
The framework provides a complete set of features out-of-the-box, which makes it attractive for developers looking for a "batteries included" solution. It includes an integrated file uploading system, security features, and a CLI for project scaffolding, streamlining the initial setup of new projects. Additionally, Sails' convention-over-configuration approach helps to decrease the complexity often associated with manually setting up routing or middleware.
Despite its strengths, the usage and popularity of Sails.js have diminished compared to other frameworks. The community landscape indicates that while Sails.js has seen significant utility in the past, its prominence has waned due to the emergence of competitors like Nest.js, which boasts more modern features like TypeScript support, an area where Sails.js is seen as inadequate.
Several developers who have historically worked with Sails.js recall it as a stable and mature framework. Nonetheless, they often express surprise upon realizing the framework's continued existence, suggesting it is not at the forefront of current development trends. The community chatter highlights that while Sails.js might still see application in specific scenarios, it is less commonly chosen for new projects or by teams working on cutting edge JavaScript web solutions.
Notably, some criticisms of Sails.js revolve around its perceived stagnation in development relative to its competitors. Discussions reflect a narrative of the framework potentially not achieving full "feature parity" with Rails, which it initially aspired to emulate. There's also a sentiment that Sails.js can be more cumbersome than lighter-weight frameworks, such as Express.js, for developers who prefer more control over their application architecture.
Moreover, TypeScript's absence as a core feature is seen as a drawback, as many modern JavaScript projects are pivoting towards type safety, which Nest.js offers robustly because it was written with TypeScript in mind from the start. This gap makes Sails.js less appealing for developers prioritizing a modern TypeScript-first development approach.
While Sails.js provides a feature-rich environment suitable for building real-time, data-intensive applications, its popularity is overshadowed by more modern frameworks that better align with current developer preferences. Its real-time capabilities, comprehensive nature, and Rails-like developments are appreciated by those familiar with the framework, yet its decline in visibility indicates a need for renewed innovation to recapture the interests of the broader development community.
Do you know an article comparing Sails.js to other products?
Suggest a link to a post with product alternatives.
Is Sails.js good? This is an informative page that will help you find out. Moreover, you can review and discuss Sails.js here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.