
When Counting Overlapping Bookings Is Not Enough: Capacity-Aware Availability in PHP
A practical sweep-line approach to finding bookable time windows, and why calculating availability is different from safely committing a reservation.
Tag archive

A practical sweep-line approach to finding bookable time windows, and why calculating availability is different from safely committing a reservation.
How do you write Doctrine repositories, is it something like the code below? I've seen it so many...
Symfony 8.2 brings a new component, KeyManagement, still experimental. Its Doctrine bridge encrypts a...

How a small Symfony bundle adds opt-in bulk editing, a review step, per-entity authorization, and transactional writes to EasyAdmin 5.

Two requests reserve the last available seat. Two workers decrement the same stock quantity. Two...

Until now, Small Entity Schema was mainly designed around entities using Small Swoole Entity...

Database migrations are one of those things that often look harmless during code review. A migration...
There is a concurrency problem in APIs that is easy to miss. Two clients read the same...
Single-database multi-tenancy is the cheapest kind: one schema, one connection, an organization_id...
Fourteen days, sixteen posts, one thesis repeated eight times. The corpus learned to ship daily without learning to be honest about repetition. The fix is the doctrine post the catalog is missing.
Originally posted on https://symfonycasts.com/blog/honest-entities Your Doctrine entities are...

Business rules written as composable predicates, compiled to Doctrine Criteria at the adapter. One rule, tested once, no DQL in the core.