Maxim Mironjuk | Page 216
Posts by Maxim Mironjuk
-
Jul 19, 2025
A permission dialog that appears without context gets reflexively rejected by many users. The Permissions API lets you query the current status of camera, location, notifications, and more in advance, and adjust your own interface accordingly before a dialog is even triggered.
-
Jul 19, 2025
Sequential shell scripts leave CPU cores and network bandwidth unused. xargs -P, GNU Parallel and manual worker scripts enable real parallelization in the shell, with controllable job slots, reliable error detection and throttling mechanisms for resource sensitive environments.
-
Jul 19, 2025
A React storefront built on Magento's GraphQL API fully decouples frontend and backend, making the shop faster, more flexible and easier to maintain. Teams that understand the schema, pick the right client and plan caching and error handling from day one save months of later rework.
-
Jul 19, 2025
Design patterns are often explained tied to a specific framework, yet they are named, reusable solution shapes for design problems that show up in any object-oriented PHP codebase, regardless of whether a framework is even involved. This article presents the most important classic design patterns, Factory Method, Singleton, Decorator, Strategy, Observer and Repository, using nothing but plain PHP 8.4, organized by the three classic GoF categories Creational, Structural and Behavioral. No Magento, no Symfony, no ORM tie-in, just the mechanics of the patterns themselves and an honest assessment of when the extra code actually pays off.
-
Jul 18, 2025
When the full Elasticsearch query DSL gets assembled directly in application code, search logic ends up scattered across many places in the codebase, and every adjustment to a central query requires changes in multiple spots at once. Search templates solve this by storing a Mustache-based query template once, centrally in Elasticsearch, after which application code only ever passes named parameters without needing to know a single line of query DSL. This moves the actual search logic to where it should technically be managed, and application developers work against a stable, clearly documented interface. How search templates are structured, what advantages this brings for collaboration between search teams and application teams, and what a parametrized product search looks like in practice is what this article covers.
-
Jul 18, 2025
The sys schema translates the cryptic raw data of the Performance Schema into readable views with plain names, formatted time and byte figures, and sensibly pre-filtered results. Anyone who does not want to write a new JOIN query against performance_schema every single day finds the faster path to the same insight here.
-
Jul 18, 2025
A Galera Cluster allows writes on multiple nodes at the same time and replicates synchronously instead of catching up asynchronously like classic MySQL replication. That makes failover almost invisible, but comes with certification-based replication, flow control and quorum rules that must be understood before going to production.
-
Jul 18, 2025
Noindex, canonical, and robots.txt are repeatedly confused or combined incorrectly in practice, even though they serve fundamentally different technical purposes and address different problems. Using these three tools incorrectly risks no effect at best and, at worst, important pages disappearing from the index or duplicate content growing unchecked. This article gives a clear decision framework that lets you immediately determine the right tool for any typical duplicate content or crawling problem.
-
Jul 18, 2025
Anyone who edits hundreds of configuration files by hand will make mistakes. sed -i, awk, perl -pi and find+xargs enable safe bulk transformations of text files, with dry-run mode, automatic backups and atomic in-place changes that preserve the original state even when something goes wrong.
-
Jul 18, 2025
A technically correct OpenAPI specification is not yet good documentation. Tags structure navigation, examples enable direct integration, schemas validate and explain at the same time, and standardized responses make errors manageable. This guide shows how to get all four dimensions right together.