patterns

2019-09-22

Factories in PHP

A factory in perspective There are two modern perspectives on factories. On one hand, there's a view that the factory is a paragon of efficiency, process management, and virtue. It's a black box and transmutation circle — you throw raw materials in one end and get a polished, finished product out t...


2017-12-26

Firebase Push Notifications

Principles and Patterns (I wax lyrically a bit about software design; if you just want the code click here) My Principles and Patterns of Software Design class (what a mouthful) was one of the most important classes I took during my time at UVU. Most of the subject matter was based off of a modified...


2021-10-19

Mind Your Ps and Queues

Queues are the backbone to asynchronous communication and message passing in any application of consequence. And yet, they're not as understood as they should be. I had no exposure to queues or queueing technology in my university studies (and mind you, I don't mean the data structure — I listened t...