3 ms·
Sinatra is not an "approach to web apps" -- it's a single purpose tool that maps HTTP requests to Ruby. Like Flask or Web.py (Python) and Express (JS). You are
by whalesalad 8y ago
Sinatra is not an "approach to web apps" -- it's a single purpose tool that maps HTTP requests to Ruby. Like Flask or Web.py (Python) and Express (JS).
You are comparing apples to oranges.
- menacingly 8y agoAnd you're saying oranges aren't fruit because they aren't like apples. It's actually a not-insignificant amount of code that creates an approach so cleverly transparent that you are able to interpret it as no approach at all.
- TomK32 8y ago"oranges" is a very narrow range of colours between 585 and 620 nm wavelength. I'm not surprised wikipedia has a page on that https://en.wikipedia.org/wiki/Shades_of_orange https://en.wikipedia.org/wiki/Shades_of_orange
- te_chris 8y agoNo, that's Rack.
- beat 8y agoSinatra is the DSL/object model. Rack is the http request mapper.