GitHub Actions – PHP pipeline, test matrix, staging deploy via SSH
GitHub Actions turned CI/CD from a DevOps speciality into something any developer can set up in an afternoon. For PHP projects it means automatic test runs, static analysis, and deployment to staging on every pull request – without maintaining a Jenkins server. I show a practical pipeline for a PHP/Magento project with a test matrix and SSH deployment.
- Published in Środowiska
Proxy pattern – lazy loading, access control, caching, Proxy in Magento 2
Proxy is a structural pattern that places a surrogate in front of an object to control access to it. Three practical scenarios justify Proxy: lazy loading (deferring expensive creation), access control (checking permissions before executing), and caching. Magento 2 generates Proxy classes automatically for a specific purpose – I show both the GoF pattern and the Magento implementation.
- Published in Magento / Adobe Commerce, Wzorce projektowe
UI Components – data grid, DataProvider, custom columns, XML configuration
Magento 2 UI Components are the backbone of the admin panel – every grid, form and mass-action uses them. They are also one of the most complex parts of the platform. I show how the data grid works, how to write a DataProvider, add custom columns, and configure everything through XML without touching the JavaScript layer.
- Published in Magento / Adobe Commerce
React.js – JSX, useState, useEffect, custom hooks, comparison with Vue
After covering Vue.js in September, it is time for React – currently the most popular frontend library for building interactive UIs. React thinks differently from Vue: everything is a function, state flows one way, and JSX looks like HTML in JavaScript. I show the fundamentals from a PHP developer’s perspective and compare the two approaches.
- Published in JavaScript
