Category: Programming Quickies
Back in they day, I ran a Tumblr blog named Magento Quickies where I’d post shorter, less in-depth posts about my travels through Magento’s source code. This Programming Quickies categories is the successor to that Tumblr blog. You’ll find all the old Magento Quickies content here, as well as new short posts about programming in general.
This section has its own RSS feed, the old Magento Quickies feed should should be redirecting, and we’re cross posting notifications for new posts over to magento-quickies.tumblr.com. In other words, you shouldn’t need to know any of this, but the duct tape that keeps the internet held together isn’t aging well, so your mileage may vary.
Below you'll find all the Programming Quickies articles on the site,
followed by a chronological listing of the same.
You may also browse the
7
series directly via the following links.
Pestle, Four Steps to Async Iterators, Checking in on OpenMage and Magento in 2020, Text Encoding and Unicode, Shopware's Development Environment, A Sentimental Gen-X Programmer Culls his Tech Books, and, Containers, Containers, Containers.
This Stack Overflow post about some weird differences between direct instantionation of an Array vs. using the new Array constructor function is a great example of why coding standards can be more than just window dressing. It’s not that one of the methods is better than the other, but by chosing one over the other you avoid the [...]
astorm
Given the date on the Stack Overflow post that saved me this is probably old hat for most of you, but it looks like the MySQL configuration provided by Ubuntu 18’s default apt-get repositories defaults to using “the auth_socket plugin”, which links your MySQL logins with your actual system login. Gave me a bit of the [...]
astorm
I imagine it’s a narrow sliver of folks who follow this site and don’t follow the trades, but just in case: Adobe is going to buy Magento Inc. Right now there’s the usual sound and fury you’d expect from the usual places — Magento’s relentlessly on-message machine isn’t slacking off just because [...]
astorm
This one came across my desk last week. Dangers of using a kitchen sink language I suppose.
astorm
File strtime-js under “Things I’ll need to try the next time I’m working on a javascript project”. Its a javascript library that appears to do a lot of “hey here’s something that might be a date make it look like this”, similar to PHP’s built-in date function.
astorm
Devilbox is another attempt to create an all-in-one PHP enviornment using Docker. This one caught my eye because it’s accuratly named.
astorm
Over the weekend I ended up doing some gardening in my astorm/magento2-travis repositoy. This repo has simple starter travis.yml file that builds and installs a simple Magento enviornment to run your tests in. Travis is an amazing free resource for running your projet’s continuous integration system — if you haven’t [...]
astorm
This started out as a snarky post but then I realized how often I need a lookup table like this. What have I become? Product What it Does Laravel Passport A composer package to give your Laravel based API OAuth2 features and capabilities. Laravel Cashier A composer package to simplify Stripe and Braintree’s subscription services in [...]
astorm
This is more of a “I would like to check this out later” than “I endorse this” link, but this project looks like an interesting way to get your go code running in a PHP enviornment.
astorm
My favorite part of this too-brief foray into the history of = as an assignment operator is how crazy keyboards were in the 60s and 70s were.
astorm
Gripng PSA follows. Homebrew, the really great package manager and services system for MacOS, has recently shuffled around thier support for PHP. It sounds like the main PHP packages are being pulled into the core repository, but that extensions (mcrypt, memcached, etc.) are being dropped and users will need to install these via pecl. On [...]
astorm
I came across this talk video from Brian Marick at the Deconstruct software conference. It was a refreshingly candid take on why the classic software design patterns are generally considered burdensome chains instead of the pattern language they set out to be. And the question is why. I think you can have several reasons, but I’m going [...]
astorm
It’s always nice when a late answer to a Stack Overflow question shows up with more information than you wanted/needed. The specifics here on dealing with the thread safe resource manager are worth it (if you’re looking for that sort of thing), but more important are the links to the two personal blogs covering random [...]
astorm
When I found the PHP Internals site a few months back, I noticed there was a small credit at the bottom. Built by Thomas Punt & Liam Mann Some Googling showed that Thomas Punt had written this How PHP Executes — from Source Code to Render article for sitepoint. While the article was accurate, like a lot of pro internet content [...]
astorm
I first saw a version of this talk (from @ellotheth) at PHPPNW in 2015, and it’s the first thing that made git rebasing make sense to me. Too many rebasing tutorials are so busy selling you on the benifits that they gloss over what’s happening to repository. Gemma’s talk not only dives into what a git rebase actually [...]
astorm
Given Magento 2’s enterprise ambitions, it wouldn’t surprise me if most stores are routing their transactional emails through a seperate (or a series of seperate) email systems. Because Enterprise™. However, if you’re sticking to Magento’s default email system for the password reset, order thank you, sign up, etc. [...]
astorm
One of the odd side effects of JSON’s wide spread success is how often you’ll run across data that’s not quite json A hello world example looks something like this {a: "Hello World"} If you look at that string, you might think Hey, it’s a JSON string! However, it’s not strict JSON — the a needs to be a [...]
astorm
I had to fix a typo in it (thanks Vinai!), so why not squeeze a link out of my Magento 2: uiElement Standard Library Primer article from last year’s uiElements Internals series. I’m reasonably proud of that, and its predecesor UI Component series. I’m also diappointed (but not surprised) that frontend development in [...]
astorm
A new documentation site for PHP Internals (the pile of C code that’s used to build PHP itself) magically appeared a few weeks ago and it’s pretty great. While the PHP Internals Book tries to give you the context you need to work in the PHP source code, this new PHP Internals site is trying to document every symbol and the [...]
astorm
File this one under old-but-new-to-me tech: OS X/Mac OS ships with a simple command line application named sips that lets you perform simple image manipulations like resizing, rotating, image flips, crops, etc.
astorm