Magento: Guides and Practical Know-how | Page 46 | mironsoft Blog
Magento
-
Apr 4, 2025
A product attribute in Magento 2 is quick to create. It only becomes truly valuable once admin maintenance, EAV setup, frontend output and a clean widget in the theme all fit together. That is exactly what this tutorial is about.
-
Apr 3, 2025
Automatically generated factories for new objects, proxies for lazy loading of expensive services: both patterns explained together with concrete use cases and PHP 8.4.
-
Apr 2, 2025
After every deployment and after every manual cache flush, a Magento store starts out with a completely empty full page cache, and it is exactly at that moment that the first real visitors hit a server that has to render every page fresh from PHP and the database. For a store with meaningful traffic, this creates a classic thundering herd problem, where many parallel requests hit the same uncached resource at once and put unnecessary load on the server. This article shows how critical pages like the homepage, top categories, and bestsellers can be systematically pre-heated by script before real visitors are affected, and where the difference between reactive and proactive cache warmup lies.
-
Apr 2, 2025
An external PIM with extra marketing attributes, or a separate review aggregation service, often holds exactly the data missing from the product schema, without justifying a second round trip for the client. This article shows how to cleanly attach a single external field to the existing ProductInterface through resolver delegation, including error handling for when the external service is unreachable, and batching so a product list does not trigger one HTTP call per node.
-
Apr 1, 2025
SearchCriteria queries, collection filters and EAV attributes are the three most common data access patterns in Magento, and at the same time the three most common places where tests are either missing or structured incorrectly. This article shows which test type fits which access pattern and how to secure each one correctly.
-
-
Mar 31, 2025
A GraphQL API that works in development mode is not yet a production-ready API. Performance traps, security gaps and missing observability only surface under load, exactly when there is little room to react. This checklist closes those gaps before they become a problem.
-
Mar 31, 2025
Magento maintenance in many companies gets reduced to occasionally installing updates whenever a security warning appears or the storefront noticeably slows down. That reactive approach works for a while, but inevitably leads to a backlog of unapplied security patches, outdated third party extensions, and update effort that grows exponentially with every skipped release. A structured approach to maintenance and support instead treats Magento maintenance as a continuous process with clear responsibilities, recurring testing, and a maintenance contract that spells out exactly what is actually covered in day to day operations.
-
Mar 31, 2025
Anyone who only skims layout XML quickly gets lost in unpredictable block positions and silent merge conflicts. This handbook explains handle resolution, container versus block, referenceBlock and referenceContainer, the before/after sorting mechanics and the move element, with hands on PHP 8.4 examples for Mironsoft's Hyva stack.
-
Mar 31, 2025
GraphQL APIs without systematic tests are fragile: every schema change can silently break frontends. Query tests, snapshots, and contract tests together form a testing layer that catches regressions early and keeps frontend contracts stable over the long run.