Skip to content

Commit 2c84e13

Browse files
committed
adding some updates to the sails comparison
1 parent cc90e81 commit 2c84e13

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

getting-started/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Out of the box Feathers provides a lot of what you need to build a modern app. A
2929
- **Logging** - Feathers comes with a very simplistic logger that has sane defaults for production. However, it is easily swappable to allow you to customize to your needs.
3030

3131
### First Class Websockets
32-
Most real-time frameworks only emit messages over websockets. You interact with your server over REST and then receive events over websockets. Feathers allows you to **send** and **receive** data over websockets, so you could even remove REST altogether and simply use websockets to communicate with your app.
32+
Most real-time frameworks only clients to **receive** messages over websockets. You interact with your server over REST and then receive events over websockets. Feathers allows you to **send** and **receive** data over websockets, so you could even remove REST altogether and simply use websockets to communicate with your app.
3333

3434
## Built on the Shoulders of Giants
3535
Because we utilize some already proven modules, we spend less time re-inventing the wheel, are able to move incredibly fast, and have small well-tested, stable modules.

getting-started/vs/sails.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Feathers vs. Sails
22

3-
From a feature standpoint Feathers and Sails are probably the closest. Both provide real-time REST API's, multiple db support, and are client agnostic. Both frameworks also use Express, but Feathers supports Express 4, while Sails only supports Express 3.
3+
From a feature standpoint Feathers and Sails are probably the closest. Both provide real-time REST API's, multiple db support, and are client agnostic but Feathers can be used on the client as well as the server. Both frameworks also use Express, but Feathers supports Express 4, while Sails only supports Express 3.
44

5-
Even though the features are very similar, Feathers achieves this with MUCH less code, which means less stuff to break and maintain making it easy to continuously upgrade to the latest version of Express. We also don't assume how you want to manage your assets by letting you use your build tool of choice. Feathers provides lightweight services and hooks instead of a full-blown ORM, and we let you write code instead of long config files to define relationships and security policies.
5+
Both Feathers and Meteor are real-time JavaScript platforms that provide front end and back end support. However, in addition to allowing clients to subscribe to events, Feathers allows clients to push data to the server over websockets. Meteor only allows clients to receive messages over websockets.
6+
7+
Sails follows the MVC pattern whereas Feathers provides lightweight services to define your resources. We use hooks to define your business logic including validations, security policies and serialization in reusable, chainable modules, instead of configuration files.
8+
9+
Feathers supports multiple ORMs while Sails only supports their Waterline ORM.
10+
11+
Just like Meteor, Sails allows you to receive messages via websockets on the client but does not support the client sending messages to the server over websockets.
12+
13+
Even though the features are very similar, Feathers achieves this with much less code. We also don't assume how you want to manage your assets by letting you use your build tool of choice and scale by easily splitting into services as opposed to spinning up multiple monolithic apps (which you can also do with Feathers if you want).

0 commit comments

Comments
 (0)