Maxim Mironjuk | Page 241
Posts by Maxim Mironjuk
-
Jun 17, 2025
Shipping releases straight from main or develop risks unstable versions and blocked feature work. Structured release branches separate stabilization from new development, semantic versioning makes changes traceable, signed tags create trustworthy shipping points, cherry-pick backporting safely brings bugfixes into older supported versions, and CI/CD pipelines react automatically and predictably to branches and tags.
-
Jun 17, 2025
PHP manages memory seemingly invisibly in the background, but understanding how Reference Counting, the Zend Memory Manager, and Garbage Collection actually work together lets you spot memory leaks in long-running processes before they become a production incident. This article explains the zval structure, circular references, the Cycle Collector algorithm, and the practical tools for diagnosis, for PHP developers who want to think beyond just memory_limit.
-
Jun 17, 2025
As soon as a business operation changes data across multiple microservices with their own databases, a classic ACID transaction no longer works. Distributed transactions across services do not solve this problem with global locks, but with the saga pattern: a chain of local transactions with defined compensation steps for the failure case.
-
Jun 17, 2025
Import Maps solve a problem ES modules have had in the browser since day one: a bare specifier such as import { render } from "preact" simply does not resolve natively unless something rewrites the path first. With an Import Map the browser itself carries out that resolution, and scopes even allow different versions for different parts of the same application, with no Webpack or Vite required.
-
Jun 17, 2025
A collapsible sidebar navigation is one of the most common layout elements in dashboards and admin interfaces. With Alpine.js, the complete state, from opening and closing to browser persistence and a mobile overlay variant, fits into one compact component, with no need to load React or Vue.
-
Jun 16, 2025
Modeling TypeScript types purely with any or loosely shaped objects gives away the strength of the type system. Union types describe one of several possible shapes, intersection types combine multiple shapes into one. Used correctly, they produce API models and compositions that the compiler actually enforces.
-
Jun 16, 2025
A barcode scanner right in the browser sounds like a native app feature, yet it can be fully built for the web with the MediaDevices API and a lean Alpine component. Using a barcode-driven product search as the running example, this article shows how camera access gets requested, how the native BarcodeDetector API and a JS library complement each other as a fallback, and how denied permissions get handled cleanly.
-
Jun 16, 2025
A cookie banner that enables Google Tag Manager through an inline script immediately violates the Content-Security-Policy in a Hyvä theme and gets silently blocked by the browser. This article shows how to build a cookie consent module in the Hyvä theme that satisfies both GDPR requirements and CSP restrictions at once, without nonce violations and without loading third-party scripts before consent is given.
-
Jun 16, 2025
Hono RPC produces a fully typed API client directly from the return type of the server routes, with no separate code generation step and no duplicated schema. The server itself becomes the single source of truth for endpoint, payload and response.
-
Jun 15, 2025
Vue Router is far more than a URL switcher. Anyone who applies nested routes, navigation guards and deliberate scroll behavior correctly builds single-page applications that feel like real web applications, with controlled access, clean loading behavior and not a single unexpected scroll position.