Using PHP as a (Terrible) Video Player
While browsing a forum, I noticed an ASCII art image, which made me wonder how such images are created. It turns out that the process…
Read more →While browsing a forum, I noticed an ASCII art image, which made me wonder how such images are created. It turns out that the process…
Read more →A lot of what I do involves data processing. I retrieve resources like database records or files, then iterate through each one to process it.
Read more →I was browsing some Laravel project codebases when I came across code that looked like this: $participants = collect([...]); $team2Participants = $participants->filter->belongsToTeam(2); $totalScore = $team2Participants->sum->score;…
Read more →When working with large datasets, inserting a massive number of records into a database can become painfully slow. Fortunately, MySQL provides an optimized solution: the…
Read more →When developing your Laravel application, you want to avoid unnecessarily making duplicate requests for performance reasons. However, it can be challenging to identify how many…
Read more →Throughout my experience, these design patterns have stood out to me. It's useful for creating loose coupling between components, and enabling a one-to-many dependency between…
Read more →