Maxim Mironjuk | Page 243
Posts by Maxim Mironjuk
-
Jun 14, 2025
A full rewrite of a grown JavaScript codebase almost always fails in practice against time pressure, live operations, and merge conflicts. This article shows how allowJs and checkJs surface type errors without renaming a single file, which order of migration actually holds up, and how teams bring the migration to a measurable finish instead of getting stuck in a permanent in-between state.
-
Jun 14, 2025
Since Redis 6, a single password for the entire server is no longer enough as the only security model. The ACL system lets you create a dedicated user per application service with exactly the commands and key patterns that service actually needs. Predefined command categories such as @read, @write, @admin, or @dangerous make this least-privilege model practically manageable, instead of manually allowing or blocking every single one of the several hundred Redis commands. This article covers how to combine these categories sensibly, how dangerous commands like FLUSHALL or KEYS get controlled in production, and what a realistic multi-service setup looks like for a Magento store.
-
Jun 14, 2025
When content should only reach screen readers and stay visually hidden, the instinctive reach is display:none. That removes text from the accessibility tree entirely. Tailwind's sr-only utility solves exactly this problem: visually invisible, fully readable for assistive technology. This article shows how sr-only works under the hood and where it makes the difference in real projects.
-
Jun 14, 2025
Deno runs .ts files directly, no tsc, no ts-node, no node_modules. Developers coming from the Node.js ecosystem need to recalibrate a few assumptions about type checking, modules, and security.
-
Jun 14, 2025
Tailwind CSS 4 retires the JavaScript configuration file in favor of a fully CSS-first approach. For Hyva Theme developers on Magento 2 this means design tokens, custom utilities and theme overrides now live directly inside the CSS file, more transparent, easier to maintain and closer to the browser standard.
-
Jun 14, 2025
Teams that only discover multi-store bugs in staging lose time and trust. A local multi-store development environment with its own domains, real store views and store-specific configuration values exposes bugs that a single-store instance would never surface.
-
Jun 13, 2025
Shell scripts that inform the operator instead of confusing them are more maintainable, safer and more pleasant to use. With tput, ANSI codes, spinners, column and printf tables, professional CLI UX emerges without external dependencies, directly in Bash, portable and geared toward robustness.
-
Jun 13, 2025
A test that turns red on every implementation change without the observable behavior having changed is not a test, it is an obstacle. Overspecified mocks, testing your own classes through mocks, spy abuse, and expectation overload are the most common causes of brittle PHPUnit suites that create more maintenance effort than confidence.
-
Jun 13, 2025
A single Zod schema is quick to write, but in a growing codebase with dozens of endpoints and domain objects, a lack of deliberate architecture quickly leads to duplicated validation code sprawling everywhere. This article shows concrete Zod schema design patterns for reuse, discriminated unions, recursive tree types, transform pipelines and branded types, so validation logic gets the same structure as any other part of the application architecture.
-
Jun 13, 2025
Symfony 7 makes Webpack Encore optional: AssetMapper manages JavaScript imports natively through importmap, and the Tailwind CSS Standalone CLI processes CSS without npm. The result is a modern frontend setup that needs no Node.js in the production build, simpler to deploy and simpler to maintain.