almost-sinatra
almost-sinatra copied to clipboard
Coffee, and possibly horses
Yeah, so I don't think is really going to scale to meet the growing needs of HorseBook. I need to support 1,000,000 requests per second and the only way you can do this is with a lightweight modern platform like CoffeeScript.
I've ported your framework to Coffee and am already running it in production. Features:
- Routes based on path and method
- Sets
paramsto url-encoded body or query string values - Before blocks
- Renders HAML and EJS
- In-memory sessions
- Works great with MongoDB
I hope you can see how this is clearly better than doing it in Ruby, which everyone knows isn't a real language.
Oh and it supports PATCH which is a real deal-breaker for the Ruby version. Can Ruby even do PATCH, idk?
Nice. Does it support fibers?
The irony that this is 28 lines largely because you can't use semi-colons in Coffeescript overwhelms me.
Fiber support is coming when I rewrite in Fargo.
The irony that this is 28 lines largely because you can't use semi-colons in Coffeescript overwhelms me.
It's 15 lines if you replace semicolons with newlines in the Ruby version.
@rkh how the heck is this PR still open
Hahaha. Amazing. It's not mergeable anymore, could you maybe rebase?
Still needs a rebase.
#sorrynotsorry
@rkh Why can't you just merge it anyway. Don't be such a pedant.

Any updates on this?
lmao
@rentalcustard or, maybe, I could not
@jcoglan as a man in the Open Source Community I demand your labour time on this
Still needs a rebase.
@jtarchie yes, still waiting for rebase.
Any movement on this? I require this critical infrastructure for my application.
Anyway to get this merged in? We've been waiting awhile for the new features.
We missed the chance to merge this on its tenth anniversary. We should revisit it in 2032.