Maxim Mironjuk | Page 227
Posts by Maxim Mironjuk
-
Jul 7, 2025
Anyone running a Symfony REST API without documentation leaves the tedious reverse engineering work to consumers and QA teams. NelmioApiDocBundle generates a complete OpenAPI 3.1 specification from PHP attributes and YAML configuration, including Swagger UI, JWT security schemes, and response schemas straight from the code.
-
Jul 6, 2025
Most web applications read from the database far more often than they write to it, which turns the primary server into a bottleneck even though writes make up only a small share of the load. Read replicas distribute read traffic across additional server copies and take noticeable pressure off the primary.
-
Jul 6, 2025
Screen reader users lose no information when a purely decorative image is missing, but they lose important context when an informative image has no alt text. This article shows a practical test for telling the two apart, correct techniques like empty alt, CSS background images and aria-hidden, and common mistakes when handling icons and decorative graphics in Magento and Hyvä stores.
-
Jul 6, 2025
Running ten Magento shops with ten identical pipeline files is technical debt in its purest form. Every change to the deploy process has to be made ten times. GitLab templates with include and extends solve this problem: one central build standard, individually extensible per project.
-
Jul 6, 2025
HTTP status codes and global response times say little about GraphQL APIs. Resolver latency, error classes, field usage and N+1 detection are the metrics that make real production problems visible.
-
Jul 6, 2025
A Magento rollback is more than flipping a symlink. The database, queue messages, static content, and Elasticsearch indexes each follow their own rules. Anyone who rolls back only the files risks inconsistencies that are harder to fix than the original problem.
-
Jul 6, 2025
A shell script that runs fine on a developer's MacBook fails inside an Alpine-based CI container, because macOS ships Bash 3.2 and Alpine only includes BusyBox sh. Understanding the line between portable POSIX shell and Bash-specific features is a prerequisite for shell code that works reliably across a team.
-
Jul 6, 2025
A Common Table Expression names a subquery with the WITH clause and makes it referenceable in the main query like a table. Instead of nesting subqueries multiple levels deep, you get a query that reads top to bottom, states its logic once, and can be traced step by step, whether in PostgreSQL, MySQL, SQL Server, or Oracle.
-
Jul 6, 2025
A careless git reset --hard or a botched rebase feels like a permanent loss, but rarely is. The reflog logs every movement of HEAD locally and makes vanished commits recoverable again within minutes in most cases. This article shows how the reflog works, how long entries survive, and how a clean recovery plays out in practice.
-
Jul 6, 2025
Symbol.iterator is the best known well known symbol, but far from the only one. This article shows how Symbol.toPrimitive, Symbol.hasInstance and Symbol.toStringTag precisely control the behavior of custom objects during type conversion, instanceof checks and debug output, and how custom symbols enable collision free object keys.