4 ms·
I love Sinatra, but there's a long-running joke that if you look at the source for any Sinatra application with even a little complexity, you'll find a half-bak
by larrywright 14y ago
I love Sinatra, but there's a long-running joke that if you look at the source for any Sinatra application with even a little complexity, you'll find a half-baked re-implementation of Rails inside. I've built apps like that and it's definitely not an exaggeration.
- mhartl 14y agoAh, so following Greenspun's tenth rule [1], perhaps we have this: Any sufficiently complicated web application contains an ad hoc, informally specified, bug-ridden, slow implementation of half of Ruby on Rails. [1] http://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule http://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
- jaggederest 14y agoThat was my road to Ruby: Developing in PHP "mvc" frameworks. Even had a PHP active record implementation. Create function was used heavily ... http://php.net/manual/en/function.create-function.php http://php.net/manual/en/function.create-function.php
- larrywright 14y agoThat's probably almost the exact quote I saw :)
- Argorak 14y agoYep, especially as there are sinatra stacks that already do that for you in a sane fashion, e.g. Padrino. Also: yes, building from minimal makes you appreciate the work that big frameworks have already done.