A Northwoods Cabin

Thoughts on the internet and other unrelated things

Abstractions and Vacations

Abstraction can be hard to define, but I believe it is a very important skill for developers to hone. I wrote an article detailing my experience with abstraction on the Zaengle blog and here are a few of the high points:

Abstraction is a kind of organization accomplished by delegating responsibilities and information so that each segment isn’t overwhelmed or doing more than its fair share.
Another benefit of abstraction is the freedom it gives to change the internals of a section of code without the fear of breaking larger application logic. If feature A is given input and returns specific output, does it really matter what happens while the logic is inside feature A? That gives me the freedom to design and adjust over time.
Abstraction is a dangerous tool if wielded improperly. A bad abstraction can keep you hopping back and forth in a codebase, scratching your head saying, “Where does this thing happen?

Read the entire article on the Zaengle blog →

Jul 14

Deploying a Nuxt Universal App to Vercel

A great explanation of how to deploy a Nuxt SSR app on Vercel with a bonus of showing when to use devDependencies versus dependencies in your package.json file.

Read the article here →

Jun 23

For When Things Get Gnarly in Eloquent

Jonathan Reinink has written some excellent content around Eloquent and this article is one that I reference frequently. Jonathan walks us through handling sticky situations when we need to get a single record back from a relationship without causing N+1 issues.

Dynamic Relationships in Laravel using Subqueries →

May 20

Eager Loading Polymorphic Relations

Derek MacDonald wrote a nice post about eager loading polymorphic relationships. This has been a difficult item to solve so it's nice to see a documented approach that works for many scenarios. Thanks Derek!

Eager Loading Polymorphic Relations →

Mar 16

Handling Complex Data Flows

In this post, written for the Zaengle blog, I explore some strategies for navigating multi-step flows. Separating the data from the logic helps make the process more manageable.

"At its core, programming is nothing more than stacking little blocks of logic on each other, building up a structure comprised of detailed organization, intentional design, and functional beauty. Unless those goals are held front and center it is only a matter of time before the system devolves into a convoluted mess of overlapping, overstepping, messy code."

Read the entire article on the Zaengle blog →

Feb 12

Page 1 of 4 (39 total entries)