Tony Messias

Tony Messias

19 posts
Laravel's Polymorphic relationships and Polymorphism

Laravel's Polymorphic relationships and Polymorphism

As many of you know Laravel provides a concept for dealing with Polymorphism in Eloquent relationships called “Polymorphic Relationships“. It’s a nice abstraction, but if you are not careful it might lead to a lot of type checking at runtime all over the place. There’s nothing wrong with...

Continuous Integration and Deployment in the era of Containers

Continuous Integration and Deployment in the era of Containers

One of the first steps when you are deploying an application with Docker Swarm or Kubernetes is to publish the image in a registry. It might not be clear why you need it, especially if you are used to deploying containers using Docker Compose. Docker Compose can build your image...

12 Factors in the era of containers

12 Factors in the era of containers

The 12factor manifest is a set of guidelines to help us build SaaS applications that can easily be operated and scaled without much effort. It was originally put together by the folks at Heroku and is as relevant today as it was when it was published in 2011. Heroku uses...

Abstractions as simplifications

Abstractions as simplifications

As I was browsing through Twitter the other day, I saw someone complaining about abstractions among the lines of “we add abstraction layers on top of more abstraction layers and expect the system to be easy to maintain.” I understand this feeling because I’ve also felt that way before....

Introduction to Inertia.JS

Introduction to Inertia.JS

Recently, one of the most trendy stacks is the JAMStack, which was popularized by Netlify. It’s mainly SPAs but committed to supporting statically generated sites which means no backend, a bit of JS that consumes APIs, and some HTML (I’m overly simplifying here). Regular SPAs can have a...

How to integrate Elasticsearch in your Laravel App - 2024

How to integrate Elasticsearch in your Laravel App - 2024

Integrating Elasticsearch with Laravel enhances search capabilities beyond simple LIKE matches. This guide covers Elasticsearch basics, setting up a local environment with Docker, creating a demo application, and implementing Elasticsearch integration using observers and repositories.

Using MySQL for Testing (on Laravel)

Using MySQL for Testing (on Laravel)

We have a really good testing culture at madewithlove and, in one of the projects I am working on, we have a decent suite of tests. A big chunk of these tests are Feature Tests. In this article, I’ll describe the process of switching a project’s test suite...

Kubernetes 101 - explaining the basics while running a Laravel application with Redis and MySQL.

Kubernetes 101 - explaining the basics while running a Laravel application with Redis and MySQL.

Kubernetes, also known as K8s, seems to be getting quite some attention these days in the container orchestration world. It even got some attention from Docker Inc. itself a while back, despite the fact that they have their own container management tool called Docker Swarm (and it’s as good...

Running Kibana with Sense

Running Kibana with Sense

Lately we have been missing the Sense Chrome extension, basically because of the autocompletes when we are writing some Elasticsearch queries, or debugging something. It got blocked on Chrome due to a malware issue. In that post, they mention Kibana has a console with the same functionality that we were...

You’ve successfully subscribed to madewithlove
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.