Hardcoding
So I’ve been trying to switch servers at work and let’s just say it’s been a freakin’ nightmare. Our servers are dated and to start off fresh, I suggested we setup new ones and move the app over. Simple right?…
So I’ve been trying to switch servers at work and let’s just say it’s been a freakin’ nightmare. Our servers are dated and to start off fresh, I suggested we setup new ones and move the app over. Simple right?…
I’ll admit. I’m out of practice with unit testing. We don’t really have a good setup db/seeding wise and making a crap ton of factories just took up a lot of time. Not to mention we use GraphQL which I…
Never really noticed how great foreign keys were until I started a job that just didn’t have any in the database. That also being said, foreign key events are even nicer to implement and takes a LOT of pressure off…
Before Laravel 5(ish), people used gulp to minimize/refresh images. It just came with it and was easy to implement. Now with Laravel Mix, you have to install a few npm packages in order to have the image compression that gulp…
I’m working on a Laravel 5.6 project that has a dynamic route based on an environment variable that I’m also setting in the config (for easy access and to avoid the dot env issue). The Laravel documentation was leading me…
Yes, yes I’ve been neglecting my own site. Yes, I’ve been busy. Yes, I’ve still been training. Yes, Roxie keeps me busy and she is still alive and very well and energetic as hell. …she’s also still SUPER adorable. In fact,…
Hey everyone! This is yet another web dev post and this is gonna be quick and dirty.. It’s regarding Laravel and the Eloquent’s firstOrNew. firstOrNew is like firstOrCreate, but instead of creating an instance in the database, it just retrieves…