Categories


Recent Posts


Archives


Pestle 1.5 Released

A new version of Pestle (1.5.0) has just been released. This is the big “generate code outside of app/code if you want” release — full docs for the new feature are also available. Download instructions are in the README.md, and current users should be able to update with a $ pestle.phar selfupdate The new feature is [...]

astorm

Composer Virtual Packages

The KnpLabs/php-github-api project was invaluable to me during my recent composer/Magento research. GitHub offers both REST and GraphQL APIs that you interact with via HTTP, but it’s often easier to use these sorts of APIs with a package that gives you classes or functions that handle the HTTP POSTing and serializing of the data. [...]

astorm

Magento, Composer, and Autoload Patterns

This entry is part 4 of 4 in the series Magento 2 and Composer. Earlier posts include Magento 2: Composer, Marketplace, and Satis, Magento 2: Composer Plugins, and Magento 2: Composer and Components. This is the most recent post in the series. A few weeks ago I set out to put Magento composer package support into pestle, and then I got [...]

astorm

Pestle Docs Done (for now)

This entry is part 9 of 10 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, Sending Text Messages with PHP, pestle, and Nexmo, Pestle 1.3 and AbstractModel UI Generation, Pestle 1.4.1 and the Merits of Inheritance, and Pestle 1.4.4 [...]

astorm

Pestle 1.4.4 Released

This entry is part 8 of 10 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, Sending Text Messages with PHP, pestle, and Nexmo, Pestle 1.3 and AbstractModel UI Generation, and Pestle 1.4.1 and the Merits of Inheritance. Later posts include [...]

astorm

What is Async/Await Good For?

This entry is part 5 of 5 in the series Async Javascript for PHP Programmers. Earlier posts include The Challenges of Asynchronous Grammar, Promises: A Better Asynchronous Grammar, The Practical Problems of Javascript Promises, and Promise State. This is the most recent post in the series. The unstated point of this series was to get us [...]

astorm

Promise State

This entry is part 4 of 5 in the series Async Javascript for PHP Programmers. Earlier posts include The Challenges of Asynchronous Grammar, Promises: A Better Asynchronous Grammar, and The Practical Problems of Javascript Promises. Later posts include What is Async/Await Good For?. Last time we said we’d be reaching the summit of [...]

astorm

Magento Javascript Bundling

Putting aside my feelings on folks opting to distribute information via gists instead of their own websites, this gist from Andrew Levine does a great job summarizing the problems and challenges with efficiently distributing javascript via Magento 2’s standard systems. He includes some of the projects folks use to work around these [...]

astorm

BASIC Nostalgia

I was minding my own business when the internet threw these old “Micro Adventure” books in my face, and I was hit with a flood of old memories. Pre “Hunger Games style” YA books, written in the second person, with basic programs interwoven into the ludicrous-to-adults adventure stories. That led me down the [...]

astorm

The Code Generation that Never Was

Today’s link comes via Process Eight, via my Patreon slack room. It’s slides from a old Magento 2 talk, made prior to the release of Magento 2. The talk itself seems to have been taken offline. The code generation the slides refers to is Magento’s automatic code generation that happens behind the scenes when you use a [...]

astorm