Need advice about which tool to choose?Ask the StackShare community!

Sails.js

306
462
+ 1
291
Sinatra

584
462
+ 1
212
Add tool

Sails.js vs Sinatra: What are the differences?

Developers describe Sails.js as "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. On the other hand, Sinatra is detailed as "Classy web-development dressed in a DSL". Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.

Sails.js and Sinatra can be primarily classified as "Microframeworks (Backend)" tools.

"Data-driven apis " is the primary reason why developers consider Sails.js over the competitors, whereas "Lightweight" was stated as the key factor in picking Sinatra.

Sails.js and Sinatra are both open source tools. Sails.js with 20.7K GitHub stars and 1.85K forks on GitHub appears to be more popular than Sinatra with 10.6K GitHub stars and 1.9K GitHub forks.

Product Hunt, thoughtbot, and New Relic are some of the popular companies that use Sinatra, whereas Sails.js is used by TestLegends, HYPH, and Giguana. Sinatra has a broader approval, being mentioned in 92 company stacks & 34 developers stacks; compared to Sails.js, which is listed in 32 company stacks and 13 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Sails.js
Pros of Sinatra
  • 48
    Data-driven apis
  • 46
    Waterline ORM
  • 36
    Mvc
  • 32
    Easy rest
  • 24
    Real-time
  • 20
    Open source
  • 19
    Service-oriented architecture
  • 18
    Scalable
  • 10
    Convension over configuration
  • 9
    Node machines and machinepacks
  • 9
    Rails-like asset pipeline
  • 7
    Easy route/controller generation
  • 6
    Ruby on Rails basic stuff for JS devs
  • 3
    CLI for scaffolding project pieces
  • 3
    WebSocket support
  • 1
    Supportive community
  • 65
    Lightweight
  • 50
    Simple
  • 35
    Open source
  • 20
    Ruby
  • 13
    Great ecosystem of tools
  • 10
    Ease of use
  • 8
    If you know http you know sinatra
  • 5
    Large Community
  • 5
    Fast
  • 1
    Flexibilty and easy to use

Sign up to add or upvote prosMake informed product decisions

Cons of Sails.js
Cons of Sinatra
  • 4
    Waterline ORM
  • 3
    Defaults to VueJS
  • 0
    Standard MVC
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    What is Sails.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.

    What is Sinatra?

    Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Sails.js?
    What companies use Sinatra?
    See which teams inside your own company are using Sails.js or Sinatra.
    Sign up for Private StackShareLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Sails.js?
    What tools integrate with Sinatra?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    DockerSlackAmazon EC2+17
    18
    5675
    What are some alternatives to Sails.js and Sinatra?
    Django
    Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
    ExpressJS
    Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.
    Flask
    Flask is intended for getting started very quickly and was developed with best intentions in mind.
    Django REST framework
    It is a powerful and flexible toolkit that makes it easy to build Web APIs.
    Koa
    Koa aims to be a smaller, more expressive, and more robust foundation for web applications and APIs. Through leveraging generators Koa allows you to ditch callbacks and greatly increase error-handling. Koa does not bundle any middleware.
    See all alternatives