Maxim Mironjuk | Page 118
Posts by Maxim Mironjuk
-
Dec 4, 2025
The raw TypeScript Compiler API is powerful but unnecessarily cumbersome for everyday code generation. ts-morph puts an object oriented, readable layer on top of it and turns ten lines of AST traversal into a single understandable method call, without losing type information or precision.
-
Dec 3, 2025
Monorepo JS tooling solves a problem that becomes unavoidable as the number of packages in a project grows: shared dependencies, repeated build steps, and versioning across multiple packages. Workspaces in npm, pnpm and yarn lay the foundation, while Turborepo and Nx build on top of them as task runners and drastically cut build time through caching.
-
Dec 3, 2025
An ephemeral review app is automatically created as soon as a pull request is opened, and disappears without a trace once it is merged or closed. Docker Compose builds a dedicated, isolated stack per branch for this, reachable through a dynamic subdomain, with no manual environment management at all.
-
Dec 3, 2025
Tests that only ever run locally do not protect a project. Only integration into CI/CD turns test automation into a quality gate: every pull request is checked automatically, coverage reports are stored as artifacts, and failures are reported where they happen, in the code, not first at deploy time. This article shows the complete CI/CD integration of PHPUnit for both major platforms.
-
Dec 3, 2025
A quantity stepper seems trivial but is full of detail questions: what happens on manual entry of an invalid value? How is the stock quantity respected as an upper bound? How does it work without a mouse? With Alpine.js a stepper can be built that solves all of this cleanly, without needing an external form library.
-
Dec 3, 2025
Dirty read, non-repeatable read, and phantom read are the three concurrency anomalies the SQL standard uses as a reference when defining isolation levels. Each anomaly arises when two transactions overlap in time, and each can be reproduced with a concrete two-transaction timeline instead of only being described abstractly.
-
Dec 3, 2025
A credit card input mask is more than inserting a space every four digits. Card type detection, different grouping lengths for American Express, the Luhn checksum, and a cursor that does not constantly jump back while typing turn a simple formatting task into a small but demanding Alpine.js project.
-
Dec 3, 2025
Indexers are among the most important, yet also most frequently misunderstood, mechanisms in Magento 2. Anyone who doesn't understand how realtime, scheduled and MView interact often ends up debugging price, search or stock problems in the wrong place.
-
Dec 3, 2025
Not every team has Grafana or an ELK stack available when they need to know fast how many errors a service is producing right now. A Bash terminal dashboard built from watch, tput, and ANSI color codes shows error rates, request rates, and log levels live, right inside the SSH session, without a browser and without additional infrastructure.
-
Dec 3, 2025
A carousel for related products is quick to wire up with a heavy JS library and just as quick to become a performance problem. Staying true to Hyva means building the carousel with Alpine and a minimal Swiper integration, loading images consistently lazy, and honestly asking whether a static grid might not be the better choice after all.