Frameworks give you a rich toolset to do complex tasks very easy and developers all love it. But then you need to update your framework from one version to another and things are falling apart because of the tight coupling with your business logic.

In this talk I show a couple of actual scenarios that went wrong when we moved from one framework to another and the solutions we applied to abstract business logic from framework logic. Even if you're not planning on migrating frameworks yet, decoupling is a good practice that will give you less headaches in the future.


Comments are closed.

Sean Prunka at 15:50 on 16 Nov 2016

Good intro into decoupling business logic from framework via interfaces and event observers.

Ran a bit short, but follow-up discussions filled the remaining time well.

Great ideas that just needed a little more fleshing out with stronger examples to really drive the point home. It sounded like Michelangelo had most of the example code he needed but just ran out of time putting everything together at the end, which is understandable given that he was giving 2 brand new presentations at this conference, and on the same day...

cm at 11:11 on 23 Nov 2016

There are useful insights in this talk, in particular to the extent that frameworks could standardize on common PSR interfaces for all things that frameworks do. This talk is important but and needs some fleshing-out to become excellent.