Page 7 - Monthly Archives: February 2025
-
Maxim Mironjuk
-
February 20, 2025
A result list without highlighting forces users to scan every hit themselves for the term they searched for. Elasticsearch highlighting automatically marks relevant text passages in the search result, but the choice between Unified, Plain and FVH highlighter, along with fine-tuning fragment size, decides whether the highlighting is actually helpful or just distracting.
-
Maxim Mironjuk
-
February 20, 2025
A multi-step onboarding flow often decides, within the first few minutes, whether a new user actually starts using an application or bounces off frustrated. A clear stepper, visibly saved progress, sensible skip options, and smooth transitions between steps make the difference between a process that feels short and one that feels long and tedious, regardless of the actual number of steps involved.
-
Maxim Mironjuk
-
February 20, 2025
PWA Studio ships a ready-made Peregrine architecture with prebuilt components, while a custom React frontend gives full control over design, bundle size and dependencies. The decision depends less on trends than on team size, timeline and how individual the required shop experience needs to be.
-
Maxim Mironjuk
-
February 19, 2025
When creating new objects is expensive, the Prototype Pattern copies an existing prototype instead. How Magento uses clone() and Factory::create(), and when you should apply it yourself.
-
Maxim Mironjuk
-
February 19, 2025
The 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.
-
Maxim Mironjuk
-
February 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.
-
Maxim Mironjuk
-
February 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.
-
Maxim Mironjuk
-
February 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.
-
Maxim Mironjuk
-
February 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.
-
Maxim Mironjuk
-
February 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.
-