Fewer packages (1 package that depends on 50 = 51 packages)
Still have robust dynamic sites
No more databases (not even flat-file). No more admin panels (that’s changing, kind of). Now I’m contemplating abandoning the belov’d front controller + router.
If you would have told the 2005 version of myself this is where I’d be 20 years later, I would’ve laughed in your face before panicking that someone would take away my precious.
@bobmagicii: That’s fair. I appreciate the work folks do. And, to give credit where due, the PSL has a lot going for it.
The other day I contemplated a package. It wouldn’t install because it and another package depend on different versions of the same underlying package.
I decided to just install the underlying package. Now, I’m pretty sure I’ll just remove that package entirely, because I can easily get there without it.
It’s been so long since I did anything with authenticated users, curious about “modern” patterns and standards.
Specifically, an authenticated user wants to do something. What patterns and standards are you using for permissions?
I’m seeing middleware mentions. But, curious what else is out there. Not looking for “use Framework X” and should be testable. Doesn’t need to be web-specific as I’m just looking for patterns and standards.
@itsjoshbruce it's the request (route or route group middleware). Authenticated user is set early to the container and then various areas are protected based on the user's roles. Of course, there are more detailed checks later in the flow (e.g. parts of the interface are hidden or different depending on role/permissions). Middleware is stopping the unintended actions, like playing with URLs to access what's not supposed to be seen or actioned on.
It's worth noting I could have done it through GitHub Actions, but I decided against that.
In part because I don't want to be even more tightly coupled to GitHub and its infrastructure.
If I switch to some other remote Git solution, if it has webhooks, I should be able to update the script in short order (there are zero dependencies for the script I wrote, and CI through GitHub Actions says it would work in PHP 7.3, I haven't tried going farther back).
Winding down on Time: Mastering the Mundane, and Money: Mastering the Mundane is ramping up. I should revisit that essay to cover the logic and rationale leading to it.
I guess I’ll finally get around to implementing continuous deployment for my website projects. Mainly because Becca and I plan to start building out and writing content for The Irreverent Agilists: https://the-irreverent-agilists.com
Still avoiding building an admin panel for the win. It still surprises me how little code even a dynamically generated website needs when you remove the admin panel. Web 1.0 is fascinating in the 21st century.
It was fun driving from Portland to Louisville. Love driving that part of the country. Also, the bad weather was nonexistent.
It wasn’t fun starting the journal with the beginnings of a sinus infection. But, I started combating it the moment I woke up to a clogged nose. So, was rapidly clearing up by the time we left on Sunday.
Feel like I didn’t get shit done. But, it’s more like I did low-energy things.
Agile Open Northwest was loads of fun. Met some great people. Saw some familiar faces. And, finally met some folks I’ve followed for a while in person(h/t @qcoding).
Evening coding sessions were also interesting to participate in.
Good feedback on the session I did on The 5 Ps and the one Becca and I did together as The Irreverent Agilists: No Spikes in the Mosh Pit.