This repository has all my studies with design patterns.
I used this pattern to solve the calculation a lot of taxes:
I used this pattern to solve the calculation of a lot of discounts scenarios:
I used this pattern to solve the calculation of taxes with different rates to the same tax:
I used this pattern to solve the budget state:
I used this pattern to encapsulate all business logic to generates a new order:
I used this pattern to encapsulate all actions before generating a new order:
I used this pattern to iterator about a budget list:
I used this pattern to implement differents way to request external APIs:
I used this pattern to generate different reports in different formats easily:
I used this pattern to calculate combined budget taxes:
I used this pattern to combine items and other budgets in a new budget:
I used this pattern to encapsulate all logic in the budget discount calculator:
I used this pattern to cached some values that take 1 second to return from an external request simulation.
I used this pattern to optimize and reduce the quantity of RAM consumed:
I used this pattern to implement logs in different outputs:
I used this pattern to receive specific tax to the specific sale type:
I used this pattern to create spacific complex invoices classes:
I used this pattern to create a new budget based on an older budget:
I used this pattern to create just one instance of the database connector: