

Over Engineered
Chris Morrell
A podcast where we explore unimportant programming questions (mostly PHP/Laravel/JavaScript) in extreme detail.
Episodes
Mentioned books

Mar 31, 2023 • 1h 1min
Referencing specific database records in your code
Season 1 continues with a discussion of how to deal with special database records that need to be referenced directly in code.We've all been there before: you've got a specific vendor that you need to write a custom command for, or a certain category that needs special handling, so you either hard-code the ID or slug and shudder slightly before moving on with your life. In this episode, we imagine a better—perhaps the best, even—way!

Mar 6, 2023 • 1h 16min
Over-engineering migrations even more w/ Tim MacDonald!
In the second episode of the podcast we talk with Tim MacDonald about a few other approaches to how you might manage other operations that happen before/during/after a database migration (or really any deploy step). Tim pitches a lower-level approach that spawns a whole new line of thinking.We also touch on some of the responses to episode one, including:Ed Grosvenor's "run once" commandLukas Heller's mention of the "path" option in artisan migrationsBrendan White's blog post on Data Changes in Laravel

Feb 15, 2023 • 1h 6min
The line between migration and…?
In the first episode of the podcast we explore the boundary between database migrations and other operations that need to happen when the database is being migrated. How do you seed or manipulate data after new tables or columns have been added? In migrations? In one-off commands that you have to run manually? Running seeders in production? In tinker, Nova, or TablesPlus? We spend a whole hour talking about a topic that most people decide on in a few minutes.Items discussed on show:Chris' initial Twitter pollActions by The Dragon CodeLaravel Actions