News for hackers. Stuff that matters.
Re:Rethinking Rails 3 Controllers and Routes - PeepCode Blog by binspace on Thursday June 03, 2010 @01:51AM (#1400525)
I don't understand how a monolithic route mapping layer & a separate resource layer is more reusable than a modular resource + route layer. Care to explain?

I find the Sinatra approach leads to less code and less complexity, especially for larger apps. This is because it is easy to extract middleware using Sinatra, since I break up separate resources anyways, instead of the single Application object.

There are no comments on this comment yet.