Day: January 20, 2014

  • Symfony 2: Why You Should Move Your Logic into a Service

    In typical MVC applications, people end up storing business logic into either the controller or the model layer. The problem in this approach is that in either case, you introduce code bloat and dependencies that should not really exist. Controllers, which are essentially the observer pattern, act as a traffic light, taking requests and directing…