Framework-Agnostic Applications - A story about components
In this talk, I covered some software architecture concepts in order to make more scalable and reusable application code avoiding coupling with framework tools.
stock of these products • Let customers buy something • Generate an order • Receive payments • Delivery the products • And so many other business rules
and Transparent. • I have a PagSeguro Adapter class that implements the Standard checkout. • Our customers needs Transparent payments too • I should be able to extend the PagSeguro class in order to create a Transparent adapter class
Facades and Services • Inject and integrate it with the framework using tools like Dependency Injection Container, Service Container, etc… • If you need/want to move away from your current framework, you only need to write a new “specific service” that integrates your business component into the framework.