Upgrading Laravel Homestead
Upgrading Laravel Homestead on my system requires a few additional steps not outlined in the official documentation. Instead of recreating them from memory each time I wanted to collect the items here.
Part 5 - Mortise and Tenon Corner Braces
Part 4: Dovetail Tenons for the Tie Beams
Fixing Segmentation Fault Error on CircleCI
Try disabling xdebug if you get a segmentation fault error when running php unit tests on CircleCI. Xdebug is installed automatically on some docker images and can cause segfaults during the build process.
Part 3: Joinery for the Upper Section of the Four Corner Posts
Part 2: Cutting the Timber Frame Joinery for the Floor Joists of the Tiny Timber Frame
Part 1: Cutting the Timber Frame Joinery for the Floor Sills of the Tiny Timber Frame
Tiny Timber Frame Intro
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?
Renaming a Column with a Foreign Key in Laravel
This database originally used "customer_id" as the column name for the owner of each row, however the actual model being referenced was a "User". Here's how I changed the name of the column (which happened to have a foreign key on it) via Laravel migration:
Page 2 of 6 (57 total entries)