Need advice about which tool to choose?Ask the StackShare community!
Sails.js vs Spark Framework: What are the differences?
Sails.js: Realtime MVC Framework for Node.js. Sails is designed to mimic the MVC pattern of frameworks like Ruby on Rails, but with support for the requirements of modern apps: data-driven APIs with scalable, service-oriented architecture; Spark Framework: A micro framework for creating web applications in Kotlin and Java 8 with minimal effort. It is a simple and expressive Java/Kotlin web framework DSL built for rapid development. Its intention is to provide an alternative for Kotlin/Java developers that want to develop their web applications as expressive as possible and with minimal boilerplate.
Sails.js and Spark Framework can be categorized as "Microframeworks (Backend)" tools.
Sails.js is an open source tool with 20.7K GitHub stars and 1.85K GitHub forks. Here's a link to Sails.js's open source repository on GitHub.
Redox Engine, HYPH, and LapNghiep are some of the popular companies that use Sails.js, whereas Spark Framework is used by Kasa Smart, AfricanStockPhoto, and Khartec ltd. Sails.js has a broader approval, being mentioned in 47 company stacks & 150 developers stacks; compared to Spark Framework, which is listed in 5 company stacks and 4 developer stacks.
I developed Hexagon heavily inspired in these great tools because of the following reasons:
- Take full advantage of the Kotlin programming language without any strings attached to Java (as a language).
- I wanted to be able to replace the HTTP server library used with different adapters (Jetty, Netty, etc.) and though right now there is only one, more are coming.
- Have a complete tool to do full applications, though you can use other libraries, Hexagon comes with a dependency injection helper, settings loading from different sources and HTTP Client, so it comes with (batteries included).
Right now I'm using it for my pet projects, and I'm happy with it.
Pros of Sails.js
- Data-driven apis49
- Waterline ORM47
- Mvc37
- Easy rest32
- Real-time25
- Open source21
- Service-oriented architecture19
- Scalable18
- Convension over configuration10
- Rails-like asset pipeline9
- Node machines and machinepacks9
- Easy route/controller generation7
- Ruby on Rails basic stuff for JS devs6
- CLI for scaffolding project pieces3
- WebSocket support3
- Supportive community1
Pros of Spark Framework
- Very easy to get up and running. Lovely API2
- Java1
- Native paralelization1
- Ideal for microservices1
- Fast1
- Easy1
Sign up to add or upvote prosMake informed product decisions
Cons of Sails.js
- Waterline ORM5
- Defaults to VueJS4
- Standard MVC0





