Technology Strategy Consultant with @dflydev 🎥 twitch.tv/BeauSimensen 🎨 @BeauSimensenArt 🧔🏻 pronoun.is/he Married to @ninjagrlart

Madison, WI
Joined July 2007
One thing I'd like to focus on in 2021 with @dflydev is helping people fix performance problems in their PHP applications. If you've got a performance concern, let's get in touch! dflydev.com/php-performance-… #php #performancematters
0
7
0
16
Beau Simensen retweeted
0
2
0
5
153
Beau Simensen retweeted
We will spend 3 months building something that nobody may want, but, we will not spend 3 days discovering what customers need.
6
35
2
67
Beau Simensen retweeted
People who contact me for domain modelling and want the whole thing to be done in 3 hours 🤣
We will spend 3 months building something that nobody may want, but, we will not spend 3 days discovering what customers need.
2
6
0
34
Question about #Laravel packages that ship migrations: Do you prefer the migrations to be run automatically or be installed as assets? Is it possible to offer *both* options? I've seen packages in both camps. Feel like I have a preference. Curious about other takes. #php #phpc
6
1
0
4
If the migrations are 100% self-contained (don't have references to anything else assumed to be there – `users`, etc) it may be more acceptable to run them automatically.
1
0
0
1
If the migrations can potentially interact with something else that is assumed to be there (`users`) it feels better to put the migrations directly into the project to allow for subtle changes should the migrations not match up correctly.
1
0
0
0
I've just run into a case with a package where the migrations assume `users` has a `bigIncrements` `id` column. This legacy database was created with `increments` (so, not a big integer). Upgrading the scheme to `bigIncrements` causes a cascade of work I'm not prepared for now.
1
0
0
0
Granted, migrating may legitimately be the right call. But, things work fine now and we're a long ways off from this project *needing* to be migrated to `bigIncrements`. Is this sort of situation too much of an edge case? Is it better #DX for everyone else to just automatically?
1
0
0
0
I've pinged the project (thanks for the response, @JustSteveKing!) requesting the migrations get installed as an asset/tag rather than just running automatically. I don't want to push this if this isn't good #DeveloperExperience, though?
1
0
0
1
I know the #Laravel package development docs only talk about loading migrations automatically in the migrations section. So, I'm second-guessing my preference. laravel.com/docs/8.x/package…
1
0
0
0
The #Laravel package development docs DO mention publishing file groups and use migrations as an example. However, there is no mention about which to do under which circumstances. laravel.com/docs/8.x/package…
1
0
0
0
I may be volunteering to add to the #laravel docs in this regard so that it's more clear to people which options exist and when you might choose one option over the other. Afraid my views without other input might be too subjective, though, so want to discuss!
1
0
0
0
And, to be clear, it does seem like this sort of problem is very much an edge case. But, I know I've had projects that had the Users model mapped to different table altogether. Or uses `userId` or `user_id` instead of `id`.
1
0
0
0
Beau Simensen retweeted
There is a fallacy about how domain modelling works, and we need to talk about it. With software design, you're not just solving problems, you can reframe the problem itself. 🧵 /1
2
65
15
194
Show this thread
I'm working on a legacy #laravel project. I need to introduce UUIDs to the model. Does anyone have a nice naming convention for these? Tried `{model}_id`, but `{model}_id` is now ambiguous (related models). Considered `{model}_uuid` but don't like exposing "uuid" to the language.
11
2
0
1
I've long wanted to look more into GPG but have been intimidated. It's time I at least start signing my commits on public projects. What is a good way for me to get started? I'm afraid I'd end up regretting following the first tutorial I read online. #devlife #privacy #security
1
3
0
3
Beau Simensen retweeted
Anyone know if the GitHub Advisory Database has an HTTP API? Better yet a feed for security advisories for a specific repo?
1
1
0
8