Magento: Guides and Practical Know-how | Page 41 | mironsoft Blog
Magento
-
May 20, 2025
Claude Code can sketch a new Hyva template in seconds, but only with the right project conventions as context does it produce genuinely usable code. This article shows how to scaffold a phtml template with a matching view model, generate Alpine.js components that stay CSP compliant, and verify AI-suggested Tailwind classes against the actual design system before they reach production.
-
May 18, 2025
Redis handles two fundamentally different jobs in Magento 2: write-heavy session storage and read-heavy caching, often on the same server without any clean separation. This article shows how to calculate the memory needs for Redis sessions, configure env.php and redis.conf for separate instances, and use monitoring to catch it early when Redis sizing hits its limits.
-
-
May 15, 2025
A freshly installed PHPStorm without a checklist costs hours: wrong interpreter, too much indexed vendor bulk, no Xdebug, no run configurations. This checklist covers all the critical settings, in the order that matters most for Docker Magento projects.
-
May 14, 2025
The category page is the most important performance hotspot in almost every Magento shop. Too many fields, resolver chains that run too deep, and missing caching strategies make it slower than it needs to be. The lever is in the query, not the server.
-
May 14, 2025
Headless commerce separates the Magento backend from a standalone frontend via a GraphQL API, whether that frontend is a PWA, a native app, or an IoT terminal. This article provides a concrete decision framework: when the extra complexity pays off through multi-channel requirements and separate teams, and when Hyva as a server-rendered default setup remains the faster and cheaper choice.
-
May 11, 2025
Redis is configured by default for maximum performance, not maximum security. Without authentication, with an open network bind and dangerous commands enabled, a production Redis instance becomes an easy target. This article shows the complete hardening process for Magento environments, from passwords and ACLs to TLS.
-
May 11, 2025
Wishlist functionality in the Hyvä Theme replaces Magento's Luma widgets with plain phtml and Alpine.js: an Alpine.store holds the product IDs of the saved list on the client, while fetch() calls against the Magento_Wishlist controller with form_key keep the server side in sync. This article shows how the heart icon reacts instantly to clicks, how optimistic updates with rollback work, and how guests are guided cleanly to login without a single page ever fully reloading.
-
May 10, 2025
Anyone integrating a third-party module into a Hyva theme sooner or later runs into the module-config.json file. It decides, per module, whether native Hyva templates apply or whether the frontend output falls back to a fallback theme like Magento/blank. This article explains the structure, runtime logic, merge behavior, and custom entries of module-config.json step by step.
-
May 10, 2025
A React product configurator for Magento has to manage attribute combinations, live price calculation and stock in real time without slowing down across hundreds of variants. The right state model decides whether the configurator feels instantly responsive or noticeably lags on every click.