Maxim Mironjuk | Page 231
Posts by Maxim Mironjuk
-
Jul 1, 2025
The most common experience in PHP projects: tests are hard to write because the production code makes them hard. Dependencies instantiated directly, global state, too many responsibilities crammed into one class. Testability is not a random byproduct, it is the result of concrete design decisions made in the production code.
-
Jul 1, 2025
Anyone running REST endpoints in Magento and PHP applications in production must strictly separate authentication from authorization, prevent mass assignment, return status codes without leaking information, and plan a sustainable versioning strategy. This article shows practical techniques for Magento webapi.xml ACL configuration, consistent input validation, rate limiting, and monitoring, so production endpoints stay secure and maintainable even under load and targeted attacks.
-
Jul 1, 2025
Since 1 January 2025, a new obligation around business-to-business invoices applies in Germany.
It affects not only large corporations but, in principle, every company, including small online shops and businesses using the small-business VAT exemption.
We explain in plain language what is changing, since when exactly, and what you should do now, without needing to become a tax expert yourself.
By the end of this article, you will know exactly where you stand and which next step to take.
-
Jul 1, 2025
The disk I/O scheduler on Linux decides in what order read and write requests get passed to the block device, long before MySQL itself notices anything. On NVMe storage, the wrong choice can cost more latency than any MySQL configuration change could ever save.
-
Jun 30, 2025
Classic search accepts a search request and finds matching documents in an index. Some use cases, however, need exactly the opposite direction: a new document arrives, and the application must figure out which of many stored search queries would match it. A typical example is a price alert, where thousands of customers have stored individual search criteria and need to be notified as soon as a new product satisfies exactly those criteria. Elasticsearch provides the percolator query for this, which indexes stored search queries as documents in their own right and efficiently checks, for every new product, which of them match. How this works, how the price alert use case can be implemented concretely, and where the performance limits sit with very many stored queries is what this article covers.
-
Jun 30, 2025
Outdated dependencies are, according to OWASP, one of the most common entry points into web applications. This article shows how Magento teams monitor CVE databases, protect composer.lock against uncontrolled drift, automate updates with Dependabot or Renovate, and reliably keep up with Magento's quarterly security patch cycle without destabilizing the codebase.
-
Jun 30, 2025
Manual memoization with useMemo and useCallback is error prone, hard to maintain and frequently used incorrectly. The React Compiler analyzes component code at build time and automatically inserts the right memoization wrappers, without developers having to manage dependency arrays or decide when something should be cached. How that works and what it means.
-
Jun 30, 2025
Schema definition, query language, mutations, and resolvers are the four load-bearing pillars of every GraphQL system. Anyone who understands how they work together and where the typical mistakes happen builds APIs that scale, instead of APIs that have to be rebuilt after the first release to production.
-
Jun 30, 2025
Manually written test cases almost always only check inputs a developer can imagine, while real attackers systematically search for exactly the inputs nobody thought of. Fuzzing closes this gap by automatically firing huge amounts of random or deliberately mutated input at an application while watching for crashes, memory errors, or unexpected behavior indicating an actual security vulnerability, instead of relying on the limited imagination of a single test author.
-
Jun 30, 2025
The new CSS property field-sizing makes the well known JavaScript tricks for auto-growing textareas obsolete. With field-sizing: content, a form field adapts to its content starting from the very first keystroke, natively in the browser, with no event listener and no layout hacks.