Steve Thomas's Avatar

Steve Thomas

@steve-coding.bsky.social

Building software for business and for fun with Laravel at Coding Labs. Our open source work: https://github.com/codinglabsau

115 Followers  |  115 Following  |  70 Posts  |  Joined: 24.10.2024  |  1.8474

Latest posts by steve-coding.bsky.social on Bluesky


Absolutely. I’ve been at it for 20 years and am filling knowledge gaps on a daily basis with AI.
Its not just the “how” either, but the “why” - so I can be an annoying child asking excessive questions again

15.04.2025 12:50 — 👍 2    🔁 0    💬 0    📌 0

Of course! Currently marinating whether the things I’ve done to in-app Notifications today was in fact bad

01.04.2025 08:51 — 👍 0    🔁 0    💬 0    📌 0

Fair enough - I guess the attribute could take an optional name param / set a sensible default? I need to take a look at the source but sounds interesting!

30.03.2025 10:59 — 👍 1    🔁 0    💬 1    📌 0

I’ve never put a lot of thought into routes, just went with file based routing in codeigniter then laravel routing when I moved over.

Attribute routing makes a heap of sense; I wouldn’t be surprised if this became optional in laravel at some point.

How would you share routes with client-side?

30.03.2025 05:53 — 👍 0    🔁 0    💬 1    📌 0

Very nice trick! Any thoughts on how you’d update an item in a collection / paginated data?
Would you map over the collection and replace the updated item?

26.03.2025 09:34 — 👍 1    🔁 0    💬 1    📌 0

I’ve run a small team ranging from 2-10 people for over 10 years - currently at 7 full stack devs (including me).
Definitely very hard to strike the right balance across skill sets and business requirements.
Strong workflow processes and shared responsibility with stakeholders goes a long way.

11.03.2025 12:36 — 👍 2    🔁 0    💬 0    📌 0

This is smart. Thinking back on tests where I’ve done 3+ ifs on the attributes; assert equals is much cleaner 👌🏻

08.03.2025 10:19 — 👍 0    🔁 0    💬 0    📌 0

Looks promising 👀

05.03.2025 12:02 — 👍 1    🔁 0    💬 0    📌 0

Fair point, I haven’t tried the bom app but WillyWeather is pretty good and has push notifications for BoM warnings.
Also just discovered ZoomEarth which has some great visualisations and projections

05.03.2025 07:59 — 👍 0    🔁 0    💬 1    📌 0
Post image

In about 24 hours I’m going to have a new life experience 💨

05.03.2025 05:52 — 👍 3    🔁 0    💬 2    📌 0
Post image

There must be “reasons” why our national meteorology website can’t support https, but every year it becomes a little more comical.

Also 0/10 points for mobile responsiveness - fair to say a few people are using a mobile device while a cyclone bears down on us 😬

05.03.2025 05:32 — 👍 1    🔁 0    💬 1    📌 0

Of course this also requires that every date in the db is UTC and the app is writing UTC dates. Basically everything is UTC except for display purposes 🤝

12.02.2025 09:52 — 👍 2    🔁 0    💬 1    📌 0

As long as you are casting to a carbon date you can apply any manipulation you need on the app side… +1 for UTC, I’ve never seen a good use case to keep dates in any other tz.

12.02.2025 09:48 — 👍 1    🔁 0    💬 1    📌 0

yup i'm a bit on the fence as well, love that it is actually possible to do that, but would prefer to have a php class in ./app that can magically wire up to a vue page / component with a composable or something.

Also generating types for autocompletion would be amazing.

05.02.2025 00:15 — 👍 2    🔁 0    💬 0    📌 0

AFAIK no, but having a standardised “Laravel backed component” approach would be awesome. Watching with interest what @aaronfrancis.com is about to demo

04.02.2025 13:20 — 👍 2    🔁 0    💬 1    📌 0

import.meta.glob() takes care of discovering all the possible components (for Inertia people, bear in mind Pages are already registered, so don't put the components there).

With the component ready to import, we then simply need to register it with vue.

Example use case: user generated templates

27.01.2025 09:03 — 👍 0    🔁 0    💬 0    📌 0
Vue async components example

Vue async components example

One of those annoying problems i've encountered is how to dynamically load Vue components, but avoiding having to essentially eager load everything upfront.

Welp, after a long weekend, 10ish hours 😅, 4,545 browser tabs and dozens of chats with AI, I finally cracked the riddle.

27.01.2025 09:03 — 👍 2    🔁 1    💬 1    📌 0

We don’t get any meaningful help from authorities, and hacker capabilities are improving at least as fast as our own.

It’s not like the authorities have abandoned us online, they were just never there in the first place.

I’m not sure I even want them to catch up, but better firewalls would be 👌🏻

18.01.2025 11:58 — 👍 0    🔁 0    💬 0    📌 0

It’s funny to think how the internet is the Wild West, and as software developers we play cat and mouse with people trying to hack or DDoS our apps pretty much 24/7/365.

Sure, some of it is easily blocked, but sometimes it is sophisticated, and blocking whole countries is an ok solution.

18.01.2025 11:58 — 👍 0    🔁 0    💬 1    📌 0

I almost never write tests first, but I do introduce them as early as possible and iterate with them.
Main reason: manual testing is slow and unreliable.

The best time for a test-first approach is when changing something that already exists as you can just write a failing test for the change.

14.01.2025 20:57 — 👍 0    🔁 0    💬 0    📌 0

I had the same thought… seems like a giant waste of money for a business we have no relationship with. Maybe they think it will keep regional people away from starlink 🤷‍♂️… good luck with that

05.01.2025 06:08 — 👍 0    🔁 0    💬 1    📌 0

The hardest problem I’ve encountered in livewire is organising complex logic and readily finding where things are happening, especially when state mutates across multiple methods.

I just love invokable controllers that do one thing well.

I’m sure there are many things I could do better in LW.

04.01.2025 07:04 — 👍 0    🔁 0    💬 0    📌 0
Post image

Well played, Steve Thomas

21.12.2024 13:21 — 👍 1    🔁 0    💬 1    📌 0

Outrageous!

19.12.2024 09:33 — 👍 1    🔁 0    💬 0    📌 0
Preview
Larabelles Larabelles is a community for PHP and Laravel developers under-represented due to their gender.

Hello, Bluesky!👋

We are finally here! Get ready for some amazing giveaways, announcements and general good vibes.

Larabelles rock 💪 🔥.

Check out our website and sign up to our newsletter if you haven't already done so. A new issue will be going out later this week, don't miss out!

larabelles.com

16.12.2024 23:00 — 👍 62    🔁 31    💬 0    📌 1

If you’ve seen the movie Apocalypto, the hero gets the nickname “almost” and I feel like it applies to me 😅

My perception is that I’ve taken a lot of good ideas to 90% completion and sabotaged / jumped on the next shiny thing in the last mile.

The mind is way too OP and comparison is brutal 🧘‍♂️

12.12.2024 10:35 — 👍 0    🔁 0    💬 0    📌 0

Yeah, it’s much hotter now than then! Currently rocking my summer uniform of shorts and thongs (🩴!) to the office.

It does get cool here (Gold Coast) in the winter, like occasionally I wear a jumper AND long pants during the day 😂

05.12.2024 21:46 — 👍 1    🔁 0    💬 1    📌 0

@vickieee.bsky.social accurate?

05.12.2024 10:58 — 👍 1    🔁 0    💬 1    📌 0

Interesting! I don’t pay much attention to lyrics so assumed it was boys night out or literally dogs on the loose

05.12.2024 10:22 — 👍 1    🔁 0    💬 0    📌 0

I had “who let the dogs dogs out” ranked #1 a couple of years back. Compliments of google speaker and young children

05.12.2024 09:32 — 👍 3    🔁 0    💬 1    📌 0

@steve-coding is following 19 prominent accounts