Categories


Recent Posts


Archives


Fearless Security: Memory Safety

Fearless Security: Memory Safety is a broad overview of some ways the Rust programming language improves on memory management and race conditions in languages like C or C++ without going full handwave/don’t worry your pretty head about that we’ll manage everything for you. As I’ve gotten more real world experience with [...]

astorm

Service Decorators in Practice

While this isn’t a straight up decorator tutorial, it does describe a practical application of the pattern which (unlike most of the decorator pattern documentation I’ve read) is a decent way of getting your head around the who/what/where/when/why of this pattern, particularly if you’re interested in Symfony’s [...]

astorm

Symfony: Autowiring Services

This entry is part 3 of 7 in the series Sylius for Magento and PHP Developers. Earlier posts include Five First Impressions of the Sylius eCommerce System, and Symfony's Service Container. Later posts include A Brief Look at Every Symfony Service Configuration, Symfony Routes and Stand Alone Controllers, Symfony Routing Configuration [...]

astorm

Symfony’s Service Container

This entry is part 2 of 7 in the series Sylius for Magento and PHP Developers. Earlier posts include Five First Impressions of the Sylius eCommerce System. Later posts include Symfony: Autowiring Services, A Brief Look at Every Symfony Service Configuration, Symfony Routes and Stand Alone Controllers, Symfony Routing Configuration Keys, [...]

astorm

Commerce Bug 3.2.3 Now Available

Another year, another small bug fix release for Commerce Bug. This one takes care of some PHP 7.2 syntax errors (Object is no longer allowed as class name portion) and a slew of weird edge cases where Magento’s event/observer system would send through data that should be an object, but was not an object. It’s unclear if the [...]

astorm

PHP Deployer

I haven’t used it yet, but based on the intro docs and kicking a few tires, deployer seems like a fine “implemented in PHP” deployment system — or maybe I’m just a sucker for any modern PHP system that hasn’t jumped on the type safety bandwagon.

astorm

GoLang: Arrays vs. Slices

Just using the old blog as a bookmark service for this arrays v. slices in Go articles. I think this came across my radar a year or so ago because the official go docs sort of blow past arrays to get to the “new” stuff. If you’re in a hurry — Overall, slices are cleaner, more flexible, and less bug-prone than [...]

astorm

PHP Generators From Scratch

Generators landed back in PHP 5.5 and I’ve mostly ignored them. I had a vague understanding that they were a feature that allowed you to build iterators that didn’t require loading up a huge data structure with all your information. This also seemed to be the gist of most online generator tutorials. So, in the practical world [...]

astorm

PHP and Amazon Lambda

I did another quick survey of what’s state of the art for PHP and Amazon’s Lambda (i.e. Serverless, i.e. Amazon will run a function for you in the cloud that can respond to HTTP requests and interact with Amazon’s various services, getting you out of the sys-admin business). One project I see cropping up in my various [...]

astorm

Magento 2 Travis File

I just updated my example Magento 2 travis build file to work with the newer versions of M2 coming out of GitHub. This file does the heavy lifting of cloning an M2 Magento repo, running the installer, and adding the composer module you want to test to the project. Travis remains one of those how is this free wonders for anyone doing [...]

astorm