Magento Blog: Guides and Practical Know-how | Page 186 | mironsoft
Magento Blog
-
Sep 3, 2025
A template gets edited, but the change never shows up in the frontend. The cause is almost always somewhere in the fallback chain between module, theme, and parent theme, and hunting for it without the right tools wastes real time. This article walks through a systematic debug workflow.
-
Sep 3, 2025
Setting up a new replica for a large Magento database used to mean either an hours-long mysqldump import or reaching for an external tool like xtrabackup. Since MySQL 8.0.17, the built-in clone plugin handles this task directly inside the server: a physical, page-based copy process that turns hours into minutes on databases hundreds of gigabytes in size.
-
Sep 3, 2025
Anyone who only knows a DI container from a framework's documentation rarely understands why it is designed the way it is designed. In this article we build a minimal, PSR-11-compliant DI container from the ground up in plain PHP 8.4: with reflection-based autowiring, recursive dependency resolution, cycle detection, and clearly defined bindings between interface and implementation. What comes out is not production code, but a tool for understanding, one that shows what PHP-DI, Symfony DependencyInjection, and the Laravel container actually do under the hood.
-
Sep 3, 2025
Vue memory leaks almost always originate in the same three places: forgotten event listeners, timers that never get stopped, and watchers without cleanup when a component unmounts. Chrome devtools heap snapshots let you confirm any suspicion with solid evidence, instead of changing code based on guesswork that does not even touch the actual leak.
-
Sep 3, 2025
Who deployed what to production, and when? In e-commerce, that's not an academic question, it's a compliance requirement. GitLab provides the tools to make deployments traceable, from audit logs through protected branches to enforced review processes.
-
Sep 3, 2025
Few sentences frustrate a development team as reliably as it works on my machine, followed by a glance at a red GitLab pipeline. Almost always the root cause is not the code itself but a difference between the local environment and the CI runner, whether a different PHP version, a missing extension, a wrong timezone, or a cache holding something different locally than in the pipeline. This article shows a systematic approach for pinpointing such discrepancies deliberately instead of guessing.
-
Sep 3, 2025
Anyone who treats PHPUnit results as nothing more than terminal output is throwing away most of the value that automated tests provide. JUnit XML, HTML coverage, Teamcity output, and structured test duration reports make test results analyzable for CI systems, teams, and monitoring, well beyond a single build run.
-
Sep 3, 2025
Testing Doctrine repositories with pure mocks rarely exercises the actual query. An in-memory SQLite database runs DQL and query builder calls for real, without any database server, and makes repository tests run in milliseconds instead of seconds.
-
Sep 3, 2025
Magento ships MSI with two built-in source selection algorithms: Priority and Distance. For many operations that is not enough once current warehouse utilization, per-carrier shipping cost, or a combination of several criteria needs to drive the selection. This article shows how to implement a custom algorithm as a full-fledged replacement and register it correctly via di.xml.
-
Sep 2, 2025
Nuxt modules are the tool for extending the build process, the runtime, and even the developer tooling of a Nuxt project. In this article we build a module step by step that hooks into the build process, ships typed options, and finally registers its own tab in Nuxt DevTools.