Magento Blog: Guides and Practical Know-how | Page 171 | mironsoft
Magento Blog
-
Sep 26, 2025
An unregistered custom property always inherits in CSS, regardless of whether its name suggests a local, component-scoped value. Only @property gives a custom property a fixed type, a guaranteed initial value, and explicit inheritance behavior, closing an entire class of bugs that are otherwise hard to track down in large design systems.
-
Sep 26, 2025
Everyone knows TODO and FIXME, but few teams use the full potential of PhpStorm's TODO system. With custom patterns like MAGENTO-UPGRADE or SECURITY, tasks become visible project-wide and can be worked through by pattern rather than file in the TODO tool window.
-
Sep 25, 2025
No single tool masters every aspect of a modern deployment stack. Bash as glue code connects PHP scripts, SQL dump workflows, Docker build chains and Git hooks into one coherent automation system, with robust exit code handling, targeted data forwarding and clear error escalation that surfaces problems early.
-
Sep 25, 2025
A snapshot only becomes a real backup strategy once the repository is set up correctly, the snapshot frequency is automated through an SLM policy, and the restore path is tested regularly. This article shows how snapshot repositories on S3 and filesystem work, how incremental snapshots save storage, and how a restore actually plays out in practice without endangering the production cluster.
-
Sep 25, 2025
ARIA never overrides appearance or behavior, it only overlays the accessibility tree with roles, states, and properties that screen readers and other assistive technologies read out. Developers who use ARIA without knowing the five ground rules often build interfaces that are less accessible, not more. This article uses a real tab component to show when ARIA is actually necessary and when a native HTML element remains the better choice.
-
Sep 25, 2025
declare in Bash is far more than a visible declaration. Every flag, whether integer enforcement, export, associative array, name reference, or readonly, changes how a variable actually behaves on every assignment, with pitfalls that only surface during real script runs.
-
Sep 25, 2025
Touch gestures in Vue apps rarely fail on the core idea, but on details such as scroll conflicts, missing passive event configuration, and janky animations under load. With pointer events, VueUse composables, and a clean separation between recognition and reaction, swipe to delete, drag and drop, and pinch to zoom can be built robustly and performantly.
-
-
Sep 24, 2025
The Cookie Store API replaces the error prone parsing of document.cookie with an asynchronous, promise based interface featuring structured cookie objects, change events and real service worker access. Anyone managing session cookies, consent banners or auth tokens will find a much more robust foundation in the Cookie Store API than manual string parsing.
-
Sep 24, 2025
A mobile navigation that only toggles visibility is not enough: without a state model for nested categories, without a focus trap and without scroll lock, the off-canvas menu quickly becomes a dead end for keyboard and screen reader users. This article shows how to build the mobile navigation of a Hyvä theme as a self-contained Alpine component, with a state stack for category levels, x-transition for the slide-in panel, a focus trap, ARIA attributes and performant CSS transform animation instead of layout thrashing.