Maxim Mironjuk | Page 326
Posts by Maxim Mironjuk
-
Feb 19, 2025
The <NuxtIsland> component renders a section of a page on the server as plain HTML and then hydrates it in complete isolation from the rest of the page. Everything outside the island stays static and ships no client-side JavaScript at all, which noticeably improves load times on content-heavy pages.
-
Feb 19, 2025
MVCC lets a database show every transaction a consistent snapshot of the data without reads blocking writes or vice versa. Instead of locking rows, the database maintains several versions of each row at once, PostgreSQL and InnoDB solve this in different ways, with direct consequences for vacuum, purge, and the choice of isolation level.
-
Feb 19, 2025
Every grown PHP project accumulates technical debt, the question is never whether but which item should be fixed first. This article shows a practical method for scoring technical debt by change frequency, risk of failure and fix effort, and deriving a defensible order from it.
-
Feb 19, 2025
A cron job that runs overnight has to deliver a readable result by morning. Instead of scrolling through a log file, a Bash report builds a finished HTML page with tables, bars, and status badges directly, ready to send by mail or drop on an internal server, without PHP, Python, or a templating library.
-
Feb 19, 2025
ETL patterns can largely be expressed directly in SQL instead of pushing every transformation into application code. Treating extract, transform and load as set based operations produces pipelines that are idempotent, traceable and easy to test, rather than fragile chains of scripts with hidden side effects.
-
Feb 19, 2025
A foreign key is not an optional decoration, it is the mechanism a database uses to enforce referential integrity itself instead of relying on application code. This post explains FOREIGN KEY syntax, the behavior of ON DELETE CASCADE, RESTRICT and SET NULL in detail, what ON UPDATE means, correct indexing of foreign key columns, and why disabling FK checks for supposed convenience almost always leads to data corruption.
-
Feb 18, 2025
For years, developers reached for a private property plus a public getter just to allow read access from the outside, without opening up write access. Asymmetric Visibility ends that detour: a property can be publicly readable and privately or protected writable at the same time, directly in the declaration, without a single line of getter code.
-
Feb 18, 2025
List endpoints are the most complex parts of a REST API: they must support pagination, filtering and sorting consistently without bloating the API surface. The difference between a well designed and a poorly designed list endpoint comes down to three decisions: cursor or offset, which filter parameters are allowed, and how the meta object informs consumers.
-
Feb 18, 2025
Realtime features in Vue.js are more than an open WebSocket. Teams that do not deliberately choose between WebSocket, Server-Sent Events and polling either build too much infrastructure or take on unnecessary network load. This article walks through all three strategies with clean composables, lifecycle handling and concrete recommendations for when to use each.
-
Feb 18, 2025
An accessible checkout in Magento and Hyva guides screen reader users, keyboard only users and voice control users safely through shipping, payment and order review. This article shows in practical terms how a central error summary, keyboard operable payment methods, clean focus management and announced status messages prevent lost sales, build trust and bring the entire checkout flow reliably up to WCAG 2.2 level.