A deep dive into building a self-clearing cache system in Laravel, where dynamic-but-static content stays cached until the underlying model changes — no time limits, no manual clears.
I have been writing code now for close to 20 years, but for the vast majority of that, I never really paid much attention to how my code looked, how maintainable it was long term, I was only really interested in if it worked and did what it was supposed to, but it was full of bad practices and I had a lot of bad habits.
I’ve been a Full Stack Developer at Jump for not quite a year now, starting in May 2023, but web development as a whole has been a passion of mine for a lot longer than that.
Have you ever been using the Laravel Request class and found yourself creating single use variables just for type casting? What if I told you there's a better way...
A few years ago my weight was approaching 23st (322lb / 146kg) but I decided enough was enough, and started attemping to loose weight, reaching my target for my wedding of 12st 7lb (175lb / 79kg) in September 2021. Since then, a few pounds have snuck back on, and its time to get them off again.