Dane Lowe

Articles tagged 'Ruby'

30 January 2015

If Business Logic worked like a business

It often seems as if half the battle with building and maintaining large web applications is determining where the logic should go.

We start off by making our controllers 'skinny'. This is almost a given, and makes sense when you consider them as simple 'adapters' in a hexagonal architecture. All the controller needs to do is make sure it can serve the request, and act as a mediator between the application and the user.

P.S. If you really want to see what hell fat controllers can cause...