Categories


Recent Posts


Archives


Express and NPM for PHP Developers

This entry is part 2 of 4 in the series Modern Javascript for PHP Developers. Earlier posts include Modern Javascript for PHP Developers. Later posts include Client Side Javascript, Modules, and Webpack, and Build Watchers, and NPM as a Build Tool. Last time we investigated the basic execution flow of a server side NodeJS program. Our [...]

astorm

Modern Javascript for PHP Developers

This entry is part 1 of 4 in the series Modern Javascript for PHP Developers. Later posts include Express and NPM for PHP Developers, Client Side Javascript, Modules, and Webpack, and Build Watchers, and NPM as a Build Tool. It’s getting harder and harder to ignore the modern javascript world. Even if you plan on staying safely [...]

astorm

Headless Magento 2 Resources

Visit Linked Page

Headless Magento 2 Resources “Headless Magento” – that is, an ecommerce store whose user interface uses some other technology stack for the UI/UX (i.e. javascript) while relying on Magento’s REST API endpoints for store functionality – is a hot topic in the Magento world. While this approach can explode a project’s budget (you’re reimplementing the a front-end store and any extension functionality) it is, none-the-less, popular with agencies looking to put their javascript engineering teams to work. If your sales team has thrown you in the headless deep-end, the sitewards/headless-magento2-resources and ishakhsuvarov/going-headless GitHub repositories are two small projects that are […]

astorm

Magento 2 VirtualTypes at Runtime

Whether you’re using your IDE, a debugging extension, or calling get_class and new ReflectionClass yourself, PHP (or any language’s) ability to examine itself at runtime is a vital tool for debugging a program. Most bugs come down to “this variable does not have what I thought it had in it”, or “the thing in [...]

astorm

Pestle 1.3 and AbstractModel UI Generation

This entry is part 6 of 8 in the series Pestle. Earlier posts include Pestle 1.1.1 Released, Pestle 1.1.2 Released, Magento 2 Setup Migration Scripts, Pestle 1.2.1 Released, and Sending Text Messages with PHP, pestle, and Nexmo. Later posts include Pestle 1.4.1 and the Merits of Inheritance, and Pestle 1.4.2 Now Available. A new release [...]

astorm

Text Columns in Magento 2 DDL

I’m working on adding DDL (data definition language) code generation to pestle – i.e. the code that ultimately creates your database tables that lives in the InstallSchema or UpgradeSchema classes. I came across this bit of weirdness #File: vendor/magento/module-cms/Setup/InstallSchema.php )->addColumn( 'identifier', [...]

astorm