Forgoing the Framework While Working with a Framework
summary
Discusses migrating a legacy Zend Framework 1 application by extracting logic out of the framework into small services. Shows concrete code examples for a recommendation repository, HTTP-client wrappers and dependency injection, using stubs for tests to avoid live requests and keeping mock size small; advocates the Law of Demeter, strict null-tolerance in code reviews, adapters for different HTTP clients and using PSR-18 as the interchange standard.
AI-written summary · about
chapters (5)
- 0:00Start
- 9:29Are there any other problems?
- 14:05Applied: The Law of Demeter
- 19:00Using the Wrapper
- 19:52The PSR Standards
related talks
46mKEYNOTE PANEL | Frameworks: The Good, The Bad and The Ugly
34mDon't Let the Framework Stand in Your Way
40mFrameworkless – The New Black?
25mCode decoupling from Symfony (and others frameworks)
31mSymfony and Hexagonal Architecture
58mIntroducing Zend Framework 3
47mQuick Start for Zend Framework 2
42mDecoupling Domain Code from Framework and Infrastructure
