Get Advice Icon

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

Sinatra
Sinatra

418
315
+ 1
209
Slim
Slim

198
154
+ 1
120
Add tool

Sinatra vs Slim: What are the differences?

What is Sinatra? Classy web-development dressed in a DSL. Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.

What is Slim? A PHP micro framework. Slim is easy to use for both beginners and professionals. Slim favors cleanliness over terseness and common cases over edge cases. Its interface is simple, intuitive, and extensively documented — both online and in the code itself.

Sinatra and Slim belong to "Microframeworks (Backend)" category of the tech stack.

"Lightweight" is the top reason why over 63 developers like Sinatra, while over 27 developers mention "Microframework" as the leading cause for choosing Slim.

Sinatra and Slim are both open source tools. Sinatra with 10.6K GitHub stars and 1.9K forks on GitHub appears to be more popular than Slim with 9.95K GitHub stars and 1.84K GitHub forks.

Product Hunt, thoughtbot, and New Relic are some of the popular companies that use Sinatra, whereas Slim is used by Coderus, Helpful, and Die Coder GmbH. Sinatra has a broader approval, being mentioned in 92 company stacks & 34 developers stacks; compared to Slim, which is listed in 29 company stacks and 21 developer stacks.

What is Sinatra?

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

What is Slim?

Slim is easy to use for both beginners and professionals. Slim favors cleanliness over terseness and common cases over edge cases. Its interface is simple, intuitive, and extensively documented — both online and in the code itself.
Get Advice Icon

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

Why do developers choose Sinatra?
Why do developers choose Slim?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
      Be the first to leave a con
      Jobs that mention Sinatra and Slim as a desired skillset
      What companies use Sinatra?
      What companies use Slim?

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

      What tools integrate with Sinatra?
      What tools integrate with Slim?

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

      What are some alternatives to Sinatra and Slim?
      Rails
      Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
      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.
      hapi
      hapi is a simple to use configuration-centric framework with built-in support for input validation, caching, authentication, and other essential facilities for building web applications and services.
      See all alternatives
      Decisions about Sinatra and Slim
      Y. Taborda
      Y. Taborda
      Full Stack Developer · | 1 upvotes · 45.6K views
      PHP
      PHP
      Lumen
      Lumen
      Yii
      Yii
      Slim
      Slim

      I'm about to start a new project to build a REST API, and I got to this point: Yii2 Vs Lumen Vs Slim, I used Yii 1.1 a while a go and it was awesome, really easy to work with, as a developer you don't have to worry about almost anything, just setup the framework, get your php extensions, and start coding your app.

      But, I was told about performance and someone recomended Lumen or Slim to work with a micro framework and a less bloated framework, what worries me is the lack of advantages that Yii2 offers, ACF and RBAC as a native tool on the framework, gii, the model validations and all the security props already in it.

      Is it worth it? Is the performance so great on those frameworks to leave aside the advantages of a framework like Yii2?

      How do you suggest to make the test to prove wich one is better?

      PHP Lumen Yii Slim

      See more
      Interest over time
      Reviews of Sinatra and Slim
      No reviews found
      How developers use Sinatra and Slim
      Avatar of datapile
      datapile uses SinatraSinatra

      Scalatra (we had to pick Sinatra on StackShare since Scalatra is has not yet been officially added) is the slickest (not to be confused with Slick for Scala) web/applet server framework we've had the pleasure of playing with in Scala.

      For all intensive purposes, Scalatra is the Scala version of Sinatra (which for anyone who doesn't know is a Ruby web server DSL).

      Avatar of Karma
      Karma uses SinatraSinatra

      We use Sinatra a lot. I love Sinatra for APIs. It's really simple, really lightweight. It's awesome.

      Avatar of Tristan Bailey
      Tristan Bailey uses SlimSlim

      Knocking up apis and smaller than laravel work projects

      Avatar of InApplet
      InApplet uses SlimSlim

      Framework usado no código da aplicação principal

      Avatar of Takkaa
      Takkaa uses SlimSlim

      we create our API with this microframework

      Avatar of Björn Pfoster
      Björn Pfoster uses SlimSlim

      A fast, slim and scalable PHP Framework

      Avatar of EdgeTheory
      EdgeTheory uses SinatraSinatra

      Microservices, RESTful APIs

      Avatar of Satoru Ishikawa
      Satoru Ishikawa uses SinatraSinatra

      WebAPIつくるのに。

      How much does Sinatra cost?
      How much does Slim cost?
      Pricing unavailable
      Pricing unavailable
      News about Slim
      More news