4 ms·
Actually, using n-rack mini-apps to replace, your Rails web app is not advisable. However, on cases where you need more fine grain control and customizing Rails
by laktek 16y ago
Actually, using n-rack mini-apps to replace, your Rails web app is not advisable. However, on cases where you need more fine grain control and customizing Rails can be a PITA, it's better to build the app from barebone Rack & Sinatra, using necessary middleware & libraries.
Though each mini-app looks like a controller, it beyond a controller because it's self contained.
- aeden 16y ago"cases where you need more fine grain control and customizing Rails can be a PITA" I'd love to see some examples where customizing Rails is a PITA and made easier by using Sinatra. Personally I have little trouble making Rails do what I want, since I can get at the underlying Rack objects when I need to do things at the HTTP protocol level.