's Avatar

@tray2

7
Followers
9
Following
24
Posts
25.10.2024
Joined
Posts Following

Latest posts by @tray2

The Run before you learn to walk problem.

08.09.2025 16:05 👍 2 🔁 0 💬 0 📌 0

This is a reason as good as any to learn php before you learn laravel.

08.09.2025 11:45 👍 4 🔁 0 💬 1 📌 0

January 2023 was the last time I published a blog post, but I actually do have one in writing at the moment.
Just as many of my other posts, it will be about databases, we are going to learn how to generate a pesky N+1 issues, and when we have it, we are going to look at possible solutions. #Laravel

10.06.2025 10:48 👍 0 🔁 0 💬 0 📌 0

Damn you #Laravel #Herd, why do you need to be so awesome.

Needed to setup a Linux VM dev machine, and I barely remembered how to do it anymore. I actually had to google it.

09.06.2025 11:51 👍 0 🔁 0 💬 0 📌 0

Perhaps

22.05.2025 05:03 👍 0 🔁 0 💬 0 📌 0

Yes, sometimes you need to trick it to sort in right way, but that isn’t that hard since you can use virtual columns, which are indexable.

22.05.2025 05:00 👍 1 🔁 0 💬 1 📌 0

I tend to do all my sorting in the database, it’s faster and uses way less resources.

It also sorts the way I expect it to.

22.05.2025 04:41 👍 1 🔁 0 💬 1 📌 0

It’s awesome to have a job that you really love.

06.03.2025 15:59 👍 1 🔁 0 💬 0 📌 0

Will give this one a watch tonight.

06.03.2025 15:59 👍 1 🔁 0 💬 0 📌 0

Agreed. This is a game changer.

06.03.2025 15:57 👍 0 🔁 0 💬 0 📌 0

If you decide to take the plunge, let me be the first to welcome you to the family.

06.02.2025 16:19 👍 1 🔁 0 💬 0 📌 0

I loved your talk, not that I likely ever will need those functions, but who knows.

06.02.2025 16:16 👍 1 🔁 0 💬 0 📌 0

Sweet, I will try to watch it later this week.

03.02.2025 19:03 👍 2 🔁 0 💬 1 📌 0

Thank you.

01.02.2025 04:49 👍 1 🔁 0 💬 1 📌 0
Preview
Tray2's Personal Blog HEre you will find post about databases and Laravel

This post about database design is soon three years old, but it is still very valid. So why not give it a read, and if you already read it, do it again ;)

#laravel #databases

tray2.se/posts/databa...

31.01.2025 11:21 👍 2 🔁 1 💬 1 📌 0
Post image

I've finally became a Pillar at #Laracasts #laravel

24.11.2024 08:45 👍 0 🔁 0 💬 0 📌 0

Just a few.

21.11.2024 05:46 👍 0 🔁 0 💬 0 📌 0

I work a lot with barcode readers, and I would say that you should be able to do both, at least where it makes sense. In some cases the barcodes can be hard to read.

20.11.2024 11:29 👍 0 🔁 0 💬 1 📌 0

It depends, me personally hate comments in the code, and that includes doc blocks, I see a comment as a kind of failure to make the code clear. However, if the company/project I work with requires them I will write them.

Sometimes it's hard to write code that is self explainatory.

20.11.2024 11:20 👍 1 🔁 0 💬 0 📌 0
Post image

Celebrating 10 years as a member and subscriber at Laracasts
#laravel #laracasts

18.11.2024 11:06 👍 4 🔁 0 💬 0 📌 1

Sorry to say that I'm not keeping that much track of the "General" channel, I keep better track of the #Laravel one. I promise to do better. 🤞

12.11.2024 12:25 👍 0 🔁 0 💬 0 📌 0

Sometimes you get a pleasant surprise, I ordered the new Mac Mini M4 with 32Gb (still not enough), and it was supposed to be delivered by the 22nd of November. However it arrived today, and as soon as I get off work, I will set it up and see how #Laravel, #PHPStorm, #WorldOfWarcraft runs on it.

12.11.2024 12:12 👍 2 🔁 0 💬 0 📌 0
Preview
Tray2's Personal Blog HEre you will find post about databases and Laravel

This is a bit of an follow up on the Common SQL Errors in #Laravel, this post covers the value of properly formed foreign key constraints.

tray2.se/posts/proper...

11.11.2024 14:33 👍 2 🔁 0 💬 0 📌 0
Preview
Tray2's Personal Blog HEre you will find post about databases and Laravel

I wrote this post on common #SQL errors in #laravel a few years back, and I feel that it is still pretty valid, so I decided to share it with you guys again.

tray2.se/posts/sqlerrm

08.11.2024 04:42 👍 5 🔁 1 💬 0 📌 0