Maxim Mironjuk | Page 238
Posts by Maxim Mironjuk
-
Jun 21, 2025
Anyone who starts long running processes on a remote server while relying on a plain SSH terminal risks losing all progress the moment the connection drops. tmux and GNU Screen solve this by decoupling sessions from the actual terminal and keeping them running in the background, whether the connection wobbles or the laptop lid closes.
-
Jun 21, 2025
x-bind:class in Alpine.js accepts several notations: a short ternary string, an array of expressions, or an object of class names mapped to booleans. All three end up producing the same DOM result, but they differ noticeably in readability, maintainability, and how easily a new condition can be added later without quietly breaking reactivity.
-
Jun 21, 2025
B2B e-commerce differs more fundamentally from classic B2C retail than it might seem at first glance, even when both run on the same technical platform. Where a single B2C customer pays for a single cart, B2B purchasing often involves several people from one company buying together, with different roles, individually negotiated prices, and internal approval processes before an order can even be submitted. This article places the core requirements for B2B e-commerce software and shows what actually matters when selecting or building such a platform.
-
Jun 21, 2025
ObjectManager::getInstance()->get() hides dependencies, makes testing impossible, and blocks static analysis. Everything about the Service Locator anti-pattern, and the correct alternative.
-
Jun 20, 2025
Read replicas promise more read capacity without bigger hardware, but blindly distributing reads across replicas earns you stale data and hard-to-reproduce bugs. Only a deliberate read/write splitting strategy with a clear consistency approach makes MySQL read replicas a reliable building block for scaling.
-
Jun 20, 2025
A cron job that has not run for three days usually does not show up in the frontend right away, yet it causes silent damage exactly during that time. Systematic cron monitoring and alerting makes missed and failed jobs visible before customers or revenue suffer.
-
Jun 20, 2025
Watching Magento through server load alone shows symptoms, not causes. New Relic makes individual transactions visible, from a checkout request down to an external payment service, giving you the data to fix performance problems on purpose instead of by guesswork.
-
Jun 20, 2025
Poorly sized connection pooling leads either to too many connections errors under load or to wasted resources from thousands of unused idle connections. This article shows how to correctly size max_connections, how wait_timeout and interactive_timeout work together, how to align PHP-FPM pool size with the MySQL connection limit, and when an external connection pooler such as ProxySQL makes sense.
-
Jun 20, 2025
Functional composition assembles small, individually tested functions into a new function, instead of nesting calls deeply inside one another. With a self-written compose() function, this pattern can be implemented in PHP 8.4 in a type-safe way and without any extra dependency.
-
Jun 20, 2025
Web fonts are one of the most common causes of invisible text and jarring layout shifts. This article explains the rendering mechanics behind FOIT, FOUT, and FOFT, shows how font-display, preloading, variable fonts, and size-adjust work together, and makes font loading in Magento and Hyvä stores technically clean and measurably stable.