Source: martinjoo.dev

Blog for Laravel Artisans
In order to understand what microservices are, first, we have to talk about monolith systems and their drawbacks. One-click buy cares about credit card numbers, and user info, while shipping cares about product attributes, like weight and height, and addresses.

Imagine you have Product, Order, Discount, and Payment in the same project.

So you call the Discount class from Order, and you pass the products.

Soon, when we actually get to the point of microservices we will talk about cohesion at the level of product or services.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners