Cesar Romero- Clean Architecture with Delphi - Developing Decoupled, Extensible and Testable Systems
Вставка
- Опубліковано 22 сер 2024
- Directly from ITDevCon 2023, here is Cesar Romero's speech.
Developing software with quality and easy maintenance is a constant challenge for programmers. One way to overcome this challenge is to follow the principles of Clean Architecture, an approach that proposes a clear and consistent organization of code, based on layers of responsibility. In this talk, I will show you how you can apply this approach to Delphi projects, using dependency injection to create decoupled and extensible components, and how to use Enterprise Design Patterns to solve common problems efficiently. You will also see how to write testable code with unit tests, using Mocks to simulate external dependencies. In addition, I will present an API project for e-commerce, that demonstrates how to apply these concepts in practice, and share the challenges encountered, the tips to overcome them and the best practices that you can follow. By the end of this talk, you will have a better understanding of how Clean Architecture can improve the quality and maintenance of your software with Delphi.