Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To me a controller is just another thin client and models provide an (internal) API. What breaks this and leads to fat clunking controllers is ActiveRecord and 'model as table row' mindset (particularly when a model doesn't handle collections).

The missing part here is turning that API into an external one, which requires a layer in any case to cover things like authorisation, caching, queuing, reporting, QoS, orchestration.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: