Hyvä vs Luma benchmark – real numbers, LCP 3.5x faster, k6 load test, conversion
Hyvä is faster than Luma – everyone says so. But by how much, on what metrics, and does it translate to business results? I ran controlled benchmarks on identical hardware with the same Magento 2.4.8 installation and both themes, measuring LCP, TTFB, Lighthouse scores, and load test results with k6. The numbers are concrete.
- Published in Magento / Adobe Commerce
Kubernetes for the PHP developer – kubectl debugging, Deployment YAML, HPA, troubleshooting
Most PHP applications eventually run on Kubernetes – but developers rarely touch it until something breaks in production. Understanding the basics of Deployments, Services, ConfigMaps, and HPA makes debugging much faster. I show the minimum Kubernetes knowledge a PHP/Magento developer needs: reading logs, exec into pods, understanding why a pod is crashing, and writing a sensible Deployment YAML.
- Published in Środowiska
Specification pattern – encapsulating business rules, AND/OR/NOT composition, testing
Specification is a pattern that encapsulates a business rule as a composable object. Instead of scattering if-else checks throughout the codebase, you name the rule, make it testable, and combine it with AND, OR, NOT. I show a PHP implementation with composition operators and apply it to product eligibility rules in Magento 2.
- Published in Wzorce projektowe
100th post – retrospective: 6.5 years, PHP 7.2 to 8.4, Magento 2.2 to 2.4.8
This is the 100th post on this blog. I started writing in July 2018, documenting what I was learning and building. 6.5 years, PHP 7.2 through 8.4, Magento 2.2 through 2.4.8, 100 posts. A retrospective – what changed, what stayed the same, and what I would tell myself in 2018 if I could.
- Published in Magento / Adobe Commerce, PHP
