Session

Framework vs. Business Logic - how to separate properly

I’m now working with frameworks for more than a decade. Over the years I got involved in many projects where the business logic was locked into the framework and made it near to impossible to update/replace the framework.

Just in the last 4 years, I really learned how to properly separate between framework logic and business logic by applying SOLID and DDD.

Today I’d like to show you by examples (Symfony based) on how to separate your PHP code into framework logic and business logic. As well, I'll show bad examples and identify together with you how it should have been better. You’ll learn how easy it is to separate code if you set yourself strict boundaries and stick to them. SOLID and DDD will help you to get to the next level and together we’ll leave this session with a better understanding of the benefits.

## What you will learn from this talk
- Get a better understanding of what SOLID and DDD means.
- Learn that 100% code coverage of Business Logic helps extremely.
- Get a better feeling of How, Where and When to separate between business logic and framework.

## Why should you accept this talk
This is a brand new talk I’d like to prepare for your conference. In my current job, we discuss on a regular base either to use frameworks or not. My personal opinion is, that it is not a problem to use a framework as long as you clearly separate between the framework and business logic. Therefore I’d like to share my vision on this topic with your audience.

Sebastian Thoss

better ventures group GmbH, Chapter Lead Backend Development

Hamburg, Germany

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top