Derby vs FeathersJS
When comparing Derby vs FeathersJS, the Slant community recommends FeathersJS for most people. In the question“What are the best full-stack Node.js frameworks?” FeathersJS is ranked 4th while Derby is ranked 7th. The most important reason people chose FeathersJS is:
Feather can sync events happening in two different Node processes or even servers in real-time. For example: an event happens in server A, the user connected to server B is instantly notified of that event. This is done through a central Redis or Mongo collection or through a websocket libraries' clustering library.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Real time communication between server and client
Derby enables the client and server to sync models across the board in real-time.
Pro Views are rendered on the server
Derby renders it's client-side views on the server. This means that there's no "delay" in serving the content to the browser when the user requests it. It's also very helpful for SEO purposes.
Pro Same code can be run on the client and server
The same code can be run on both the server and the client, because Derby is a full-stack JavaScript-everywhere platform.
Pro Can sync events between different Node instances
Feather can sync events happening in two different Node processes or even servers in real-time. For example: an event happens in server A, the user connected to server B is instantly notified of that event.
This is done through a central Redis or Mongo collection or through a websocket libraries' clustering library.
Pro Easy REST APIs
Through services, Feathers provides instant CRUD functionality, it also can easily expose a RESTful and real-time API through HTTP/HTTPS and websockets.
Pro Can be integrated in an existing ExpressJS project
Since Feathers itself is built on top of Express (it's a thin wrapper over socket.io, primus and Express) and because of Feathers' highly modular nature, it's very easy to integrate Feathers in an existing Express project.
Pro Plug-in any feature you need
Feathers makes extensive use of modules (which are called Feathers services). These services work like ExpressJS middleware and can be used with app.use('/path', serviceObject)
.
Services help developers keep their applications modular and as minimal as possible, without any unnecessary libraries or bloat.
Pro Support for different socket transports
FeatherJS uses primus which is a universal wrapper for real-time frameworks. Through primus you can easily choose which socket transport you want to use.
Cons
Con Small community
Derby seems to have a small community of followers, at least compared to other Node full-stack frameworks. So it could be difficult for a beginner to find examples or help if they get stuck somewhere in their development.
Con Not so widely used
Could be problematic to convince the client use this framework in his/her project.
Con Not very beginner friendly
Although the documentation for Feathers is very good, it still needs some configuration in order to get Feathers up for developing something with it.