Interesting reads — volume #10

Luka Peharda
5 min readApr 30, 2020
Photo by Marvin Meyer on Unsplash

Another month has passed so it is time for another collection of interesting reads collected in the last month or so. Some links are a bit older but good and applicable nonetheless. Mostly PHP and JavaScript this time but there are a few unrelated gems as always.

Enjoy! And don’t forget to clap.

Btw. this is the tenth issue. In only took me three years and three and a half months! I’m high-fiving myself right now to congratulate myself on perseverance 🙏

How to Run a Successful Online Conference

Ian Landsman goes into great detail on how to organize an online conference and uses Laracon Online as an example. This could come in handy during the conference season under the COVID-19 epidemic.

Discover Profitable Online Projects

Use this list to get inspired or to spy on your competition. Or maybe even to find a nice niche to get into.

Easily Tail Your Logs

Another great little package which “tails” your Laravel log and eases debugging during development. This should definitely be a part of your Laravel tool belt (among https://github.com/barryvdh/laravel-debugbar) and you shouldn’t leave your home without it. Can’t have an issue of interesting reads without any package from Spatie 😀

CodeTour

VS Code extension for in-editor code tours. You can record and playback recorded tours as a series of guided steps with annotations. A great solution for onboarding someone to your code. Or even for doing a guided PRs.

How to Manage HTML DOM With Vanilla JavaScript Only?

A curated list of vanilla JavaScript actions on DOM. Each action has a code example and the examples are pretty sweet.

A Snake Game Written in PHP (with Raylib)

If you are a PHP developer you’ll want to check this one out. Nay, you NEED to check this one out 🥳 Snake. Game. Written. In. PHP!

QuakeJS: A Port of ioquake3 to JavaScript (via Emscripten)

What? Another game? But OMG! Quake 3 ported to JavaScript 😜 And guess what? I’m still bad at it.

Dynamic Relationships in Laravel Using Subqueries

Amazing article by Jonathan Reinink for making your Eloquent DB queries more performant and to lower the number of DB queries. Can’t wait for his Eloquent Performance Patterns course to roll out! You did read all his older articles, right?

Your Database is a Shared Resource

Another wonderful article from Jonathan Reinink which reminds us that “Even just one poorly designed endpoint can hurt the performance of the whole system”. As developers, we often think in terms of page performance and not necessarily how one “bad” (performance-wise) page will influence the performance of other “good” pages. This is even more so if you’re working on a piece of code (WordPress plugins or websites) that will live on shared hosting where your performance will be influenced by the performance of code written by 3rd party developers.

A Smell of Newly Registered Domain

Don’t we all just love its smell of endless possibilities?

Conventional Commits

Good commit messages are worth their weight in gold. Wait, they don’t weigh anything. Well, you know what I mean.

Messages like Add more return data or WIP should not only be banned but ostracised in public. I encourage you to spend a minute more for each commit and write a meaningful message. One that would be helpful for both your colleagues and your future self as well.

The conventional commits message system is filled with extra data that can be glanced over easily.

Hours

An interesting productivity technique called Hours. You find a mate and share with them what you’ll be doing in the next hour. After the hour is done you report back. Seems that accountability is at play here. Now, who wants to do hours with me?

Today I Learned

Last but not least! Collection of personal TIL-s (Today I Learned) regarding software development and tools from Josh Branchaud stored as a repo in GitHub. I’m always having a problem with storing of small tidbits of knowledge — you know the ones that are too long to be a tweet but too short to be an article? Or ones that are not that interesting to a large audience. Check out my TIL and please do share yours 😀

Last month’s issue got 21 views and only six reads (and just two claps). You may be wondering why am I still keeping up with this? Believe me, you’re not the only one.

To be fair I’m writing this for three reasons:

  1. to improve my English
  2. to work on my grit and persistence
  3. as a place to bookmark links that are interesting to me

As always, thank you for reading!

--

--

Luka Peharda

Web developer specialised in WordPress and Laravel