Isak Berglind

Isak Berglind

September 18, 2021

Testing complex eloquent queries

Testing sql-queries can be challenging. Not only do you need to have a database to test against, you also need to seed it data to have something to test with. Laravel, however, makes this process...

Read

September 5, 2021

Stop lying about the benefits of testing

First of all, I'm sorry for the click-baity title. I am a huge proponent of testing! However, I think some people exaggerate the benefits, and claim that if you just write tests for your code, you...

Read

October 4, 2020

Change uploaded filenames in the trix editor in nova

Last week I noticed that some of our image that got uploaded from the trix editor in Nova to S3 was containing non url-safe characters. No big deal i thought, there must be an easy way to 'sluggify'...

Read

May 10, 2020

How does the web work?

Almost everyone browses the internet daily. We read news, check social media, check when the pizzeria closes and so on, but do you know how it actually works? When you type in www.google.com in the...

Read