Blog
This is where I post about software development topics.
-
Laravel: Eloquent ORM
Eloquent, the ORM used by Laravel, has some features that can facilitate access to data under sp...
2024-03-07 4 min read -
Laravel: Queues and Jobs
In Laravel we can delegate the execution of heavy tasks in time or resources to the background, ...
2024-02-29 2 min read -
Laravel: Middleware
In Laravel, a middleware allows us to inspect and filter an incoming HTTP request in our applica...
2024-02-23 3 min read -
Laravel: Service Container
Laravel Service Container is a toolbox that makes it easier for us to access the different tools...
2024-02-19 4 min read -
Connascence: A metric for coupling
This metric for software quality was invented by Meilir Page-Jones to allow evaluating the degre...
2023-12-06 6 min read -
TypeScript Generics: A great way to comply with DRY
In object-oriented languages, components that can work with various types of data instead of a s...
2023-12-03 5 min read -
Object-oriented: Depend on behavior, not data
When programming, you can be tempted to use variables to store the result of calling a specific ...
2021-10-10 3 min read -
Object-oriented: Procedural polymorphism
When we talk about polymorphism, we mean that objects of different classes are capable of respon...
2021-03-12 4 min read -
Object-oriented: Cohesion, coupling and encapsulation
In object-oriented design, cohesion is understood as the degree to which the different elements ...
2019-06-23 2 min read -
Bad Smells: Data
DTOs are an opportunity. If the data forms a good set, we can usually find a behavior that belon...
2019-03-20 3 min read -
Bad Smells: Hosting the change
Some problems become more apparent when you try to change the code. Ideally, a change decision a...
2019-03-20 3 min read -
Bad Smells: Inheritance
The relationship between a class and its subclass usually starts out simple but becomes more com...
2019-03-20 3 min read