Maxim Mironjuk | Page 342
Posts by Maxim Mironjuk
-
Jan 27, 2025
Anyone who sets CPU and memory limits for Magento containers by gut feeling either overprovisions expensively or risks outages during traffic spikes. This article shows how Magento container sizes are systematically derived from PHP-FPM pool sizing, real memory demand per worker, and actual traffic patterns, then validated with load tests.
-
Jan 27, 2025
object-fit decides whether an image gets stretched, cropped, or shown unchanged inside its container, while object-position sets the focal point of that crop. Together they replace server-side image cropping for most layout cases, and unlike background-size, they still work with real img and video elements, including alt text and loading optimizations.
-
-
Jan 27, 2025
A backup is only a backup once it can actually be restored. We show how a resilient backup strategy and disaster recovery work together for Magento 2: RTO and RPO as the governing metrics, automation, offsite storage and regular restore drills.
-
Jan 26, 2025
Enforcing PSR-12 without blocking every pull request with comments about indentation and brace placement requires automation instead of good intentions. PHP_CodeSniffer and PHP-CS-Fixer, combined with pre-commit hooks and a CI pipeline, permanently end formatting discussions in review, even in grown legacy projects.
-
Jan 26, 2025
Video transcripts are usually treated as an accessibility checkbox, yet their biggest value lies elsewhere: they make video content readable for search engines and AI systems, supply raw material for snippets, and increase the likelihood that content gets cited in AI-generated answers.
-
Jan 26, 2025
A PWA with Vue and Vite turns an existing web application into an installable, offline capable app, without app store review and without a separate native codebase. With vite-plugin-pwa, service worker, web app manifest, and caching strategies can be configured largely automated, while update handling and offline behavior get tailored specifically to the application at hand.
-
Jan 26, 2025
Manually extracting JSON data from request arrays and mapping it into PHP objects is error-prone and does not scale. The Symfony Serializer normalizes objects into JSON and denormalizes JSON into type-safe PHP DTOs, with serialization groups, custom normalizers and constructor promotion.
-
Jan 26, 2025
Evaluating architecture tradeoffs with Claude means walking every decision through concrete criteria like complexity, latency, operational effort and team size, instead of relying on the last conference slide read. Claude structures the weighing between monolith and microservices, synchronous and asynchronous, or SQL and NoSQL based on the actual project situation.
-
Jan 26, 2025
Abstract classes combine a binding contract with shared implementation, making them the right tool whenever several classes need to share the same base logic. This article covers the exact syntax, the difference from plain interfaces using a Repository base class as an example, and explains why TypeScript fully erases the abstraction at compile time, while PHP actually enforces it at runtime.