• What is RabbitMQ?
    ,

    What is RabbitMQ?

    RabbitMQ is an open-source message broker. In short, it manages our queues (asynchronous operations). The broker’s server is written in Erlang, while the API for clients is available in many programming languages, e.g. PHP, java, c #, swift and more. Synchronous and asynchronous operations Synchronous operations are operations (also known as blocking operations) that stop…

  • PHP rules in Coditive

    PHP rules in Coditive

    Code formatting has nothing to do with system performance, optimization or any technical aspects. It is intended to help the whole team keep consistency, readability and conventions that are the standard in the team. The article describes formatting rules that should be applied to work smoothly in the team. Exceptions Consistency is key when it comes…

  • How to use fetch for AJAX requests?
    , , ,

    How to use fetch for AJAX requests?

    AJAX is one of the most useful solutions that allows exchanging frontend data with the backend one asynchronously (in the background) without interfering with the display and behaviour of the existing page. This article shortly describes how it was used in WordPress as usual and what are the recommendations for the latest web stack. If…

  • A quick guide to cronjobs in WordPress
    ,

    A quick guide to cronjobs in WordPress

    Whenever you want to automate some recurring tasks cronjobs are one of if not the first thing we can think of. In this article, we’ll go over few examples of how to use them. “WP-Cron” vs “Server Cron” The first important thing that you need to know is that WordPress by default uses “WP-Cron” which…

  • Common code smells in web development
    , ,

    Common code smells in web development

    The code smells are places in the system architecture that indicate problems that require more attention. These are mostly connected with code readability, and even sometimes with system optimisation so we should give special attention to them.

  • WP-CLI custom commands
    , ,

    WP-CLI custom commands

    WP-CLI WP-CLI is the command-line interface for WordPress. It lets you manage your WordPress installation directly from the command line. There are many ready-to-use commands (check the full list here), the most frequently used one by me is search-replace since it is on par if not significantly faster than other tools that I used for…

  • PHP 8.1 & 8.0 in MAMP Pro for Windows
    ,

    PHP 8.1 & 8.0 in MAMP Pro for Windows

    Creating applications on the latest PHP versions may be necessary for a backend programmer’s work. Unfortunately, creators of MAMP rarely update their software for systems from Microsoft, so using new editions requires a little creativity from us. Adding a new version of PHP to MAMP Unlike previous MAMP releases, there is no need to mess…