Sinatra is a lightweight web application framework written in Ruby. It provides a simple and easy-to-use syntax for building web applications. The framework focuses on being minimalistic, allowing developers to quickly create web applications without having to deal with a lot of the boilerplate code and relatively rigid way of doing things that accompany larger and more popular frameworks like Rails. - Source: dev.to / 3 months ago
Sinatra is the best ruby framework available in the market for web development. Sinatra is a simple and easy-to-use DSL written in Ruby and often used popularly in place of Ruby on Rails as a web development framework. Sinatra is named after the legendary musician Frank Sinatra and is powerful enough to set up a fully functional web application with just a single file. - Source: dev.to / 2 months ago
You're bike shedding [0]. Rails/DHH took already established design patterns and made strong opinions into a convention on the folder hierarchy of where you store your code. You can change that hierarchy, its not set in stone. It will require a lot of change. I've been on teams and it isn't just on-boarding time, its countless hours trying to find code written by someone no longer there that had their own layout... - Source: Hacker News / 6 months ago
I'm practicing my JavaScript skills and I am building a simple REST API. I'm using Sinatra for the back and and all that does is is define some end points and return JSON. I then use a JavaScript file to call `fetch` on the server and then update/change and display the page using that. At the moment I'm only doing GET requests but will look at POST later. Source: 9 months ago
Today, among beginners with Ruby, it's common to think about two possible paths when developing an application; if you want a simple single-file API, just use Sinatra and for everything else, use Ruby on Rails. Well, in this article, allow me to provide a way to manage a big application using Sinatra as the HTTP library and dry-rb libraries as the glue to a modular architecture. - Source: dev.to / 10 months ago
This Ruby app tutorial will demonstrate how to efficiently create and construct a landing page using the Ruby programming language with a lightweight application framework called Sinatra powered by ButterCMS. We’ll be building a landing page for a fictional Puppy training business, read on here! Source: 11 months ago
Yes, and it was not that well designed to be honest... The successor is quite a lot nicer and it's called Javalin[1]. Same philosophy but just got things right where Spark, being the "first" (in the Java world, using the design inherited by Sinatra[2]) had a few design issues. [1] https://javalin.io/ [2] https://sinatrarb.com/. - Source: Hacker News / 11 months ago
In this article, we'll introduce Ruby on Rails' lesser-known but powerful cousin Sinatra. We'll use the framework to build a cost-of-living calculator app. - Source: dev.to / 12 months ago
This is something that kind of annoys me; there's even a /r/rails sub-reddit specifically for Ruby on Rails stuff. Understandably Rails helped put Ruby on the map. Before Rails, Ruby was just another fringe language. Rails became massively popular, helped many startups quickly build their Web 2.0 sites, and become successful companies (ex: GitHub, LinkedIn, AirBnB, etc). Like others have said, "Rails is where the... Source: about 1 year ago
Neat! I do gotta say, since I wasn't able to find their Github at all through the website (I will totally believe I just missed it), they're currently failing my "clicks to code" test. Given that it's not necessarily aimed at engineers, that's fine tho. (the winner, at zero, remains https://sinatrarb.com/). - Source: Hacker News / over 1 year ago
To create a Ruby web application, our best option is to use Sinatra, one of the most popular Micro Frameworks in the Ruby world. We might need to install some additional gems:. - Source: dev.to / over 1 year ago
Hello I created this sub for those that love to work with sinatra https://sinatrarb.com/. Source: over 1 year ago
To wrap up my current phase of learning, I've been tasked to create a React application that utilizes Sinatra. As an avid D&D fan, I decided that for this project I'd create a character manager. I thought it would be a challenging way to create a backend database of users who manage their characters. I also created a DB Diagram to show my tables and relationships:. - Source: dev.to / over 1 year ago
In the context of yada and Rails, it's worth considering Sinatra, a Ruby library released in 2007 which is similar in scope to yada or any other of the Clojure web "libraries". It's interesting that even though Sinatra has been available alongside Rails for almost 15 years, I don't think I've seen any job postings for "Sinatra" developers lately (though I'm sure they're out there, just like Clojure devs). Source: over 1 year ago
I'm a big fan of Sinatra, but recently I came across Roda which is by Jeremy Evan's whose wonderful ORM gem Sequel I've used in several projects. Looking at the documentation, Roda seems quite nice and performance gain is always appreciated. Source: over 1 year ago
My most recent project was a Bingo game, with a focus on backend development. (The repo for the backend is here, and the frontend is here.) The frontend is a pretty basic React application, and the backend uses a SQLite database with the Active Record ORM, and Sinatra to handle the routes. - Source: dev.to / almost 2 years ago
If not rails, perhaps you want to wrap it in sinatra? http://sinatrarb.com/. Source: about 2 years ago
If you want to install a lightweight web framework, you can try Sinatra [0] or Roda [1] . [0]: http://sinatrarb.com/ [1]: http://roda.jeremyevans.net/. - Source: Hacker News / about 2 years ago
Not everything written in Ruby is using Rails (although it's quite likely). If I remember correctly, Stripe used to be big on Sinatra (http://sinatrarb.com). - Source: Hacker News / about 2 years ago
You can get very bare bones with Ruby though. The Sinatra framework is a router + templating engine. Everything else is up to you. It's my go to choice for when I just want a few endpoints wrapped up in a few files. For example, I built a simple web app that reads a CSV file written by the WiiScale app (for Mac), and displays a chart using HighCharts. My app.rb file is 175 lines of code. Very simple. Source: over 2 years ago
Ratpack is idealized in the simplicity of the sinatra (ruby) framework in its goal, and attempts to be an alternative to other async HTTP frameworks such as tower, warp, axum, and tide. Source: over 2 years ago
Do you know an article comparing Sinatra to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Sinatra. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.