25,135 views
We invite you to the HighLoad++ 2024 conference, which will be held on December 2 and 3 in Moscow! The program, details and tickets are available at the link: https://clck.ru/3DD4yb -------- Presentation and abstracts: https://phprussia.ru/2019/abstracts/5114 We have all read about object-oriented programming and designing abstract data types, but few of us use them for their intended purpose. And not everyone can design and test business logic. For some reason, instead of beautiful code, we get an interweaving of calls, and controllers get cluttered. Together, we will learn how to put all this code in its place. We will practice object-oriented decomposition for competent design of entities by responsibilities. We will learn how to write fast, convenient and reliable unit tests for all this. How to separate UI from business logic to avoid layer leaks in MVC. We will learn how to create aggregates for domain entities to comply with the invariant. Which checks to place in the entity, and which in the service layer. How to validate and use exceptions. Found a mistake in the video? Write to us at [email protected]