Codecourse
@codecourse.com
📤 138
📥 51
📝 318
We create the most practical screencasts for developers
Instead of generating tokens in every form, move the logic into middleware. Cleaner, reusable, centralized.
about 14 hours ago
0
0
0
Middleware isn’t just for auth. You can generate a unique token for each form load to prevent duplicates.
1 day ago
0
0
0
How do you handle double form submissions in your projects: JS, middleware, or both?
1 day ago
0
0
0
Duplicate entries are a common problem in forms. Generating a one-time token per form is a reliable solution
1 day ago
0
0
0
Accidental double submits can corrupt your database. Laravel middleware gives a clean way to prevent this.
1 day ago
0
1
0
what’s something you learned way too late in Laravel?
5 days ago
0
0
0
what’s the first thing you always check when real-time isn’t working?
6 days ago
0
0
0
do you test multi-user flows early or only when something breaks?
6 days ago
0
0
0
Most Laravel devs don’t get stuck on WebSockets… They get stuck on: “why is my channel failing to authenticate?” We walked through exactly that in today’s video.
loading . . .
Client to Client Whispering
Want more? Explore the library at https://codecourse.comOfficial sitehttps://www.codecourse.comTwitterhttps://twitter.com/teamcodecourse
https://youtu.be/JYGOUMEW8UE
7 days ago
0
0
0
We just dropped a full breakdown on real-time checkboxes in Laravel. Not just “here’s how it works” But the part people get stuck on: auth + whispering + why nothing connects at first
loading . . .
Client to Client Whispering
Want more? Explore the library at https://codecourse.comOfficial sitehttps://www.codecourse.comTwitterhttps://twitter.com/teamcodecourse
https://youtu.be/JYGOUMEW8UE
7 days ago
0
0
0
real-time is where “it works on my machine” starts falling apart
7 days ago
0
0
0
real-time exposes your patterns fast stuff that felt “simple” suddenly matters a lot more
7 days ago
0
0
0
Most devs use AI tools, but most also don’t fully trust them...
8 days ago
0
0
0
what changed in your code once you added real-time?
8 days ago
0
0
0
I think the weird part isn’t that Laravel makes real-time easy… it’s that we’re used to it being complicated
9 days ago
0
0
0
The next era isn’t prompt ops — it’s persistent autonomous agents running in the background.
9 days ago
0
0
0
what’s one thing beginners focus on too much… and one thing they don’t focus on enough?
9 days ago
0
0
0
WWDC 2026 is around the corner đź‘€ what are yall looking forward to this year
10 days ago
0
0
0
Laravel makes real-time feel so easy it almost feels wrong
10 days ago
0
0
0
what’s one thing AI actually improved in your workflow… and one thing it made worse?
11 days ago
1
0
0
what’s something in Laravel you wish someone would just explain better?
11 days ago
0
0
0
First time setting up real-time in Laravel felt… suspicious like you run one command and suddenly it’s working no way that’s it
11 days ago
0
0
0
The “it works on my machine” mindset kills workflows, not features.
11 days ago
0
0
0
I’d rather slow down the queue than lose control of the entire workflow.
12 days ago
0
0
0
Stop thinking in steps. You should be thinking in workflows.
12 days ago
0
0
0
Do you actually test if your system fails cleanly?
12 days ago
0
0
0
Good systems don’t just run correctly, they fail correctly.
13 days ago
0
0
0
If you can’t stop it cleanly…do you really control it?
13 days ago
0
0
0
Even if everything usually works… can your system handle when it doesn’t?
13 days ago
0
0
0
Broke this down fully today if you’ve run into these problems
loading . . .
Job Batching Progress with Laravel
Want more? Explore the library at https://codecourse.comOfficial sitehttps://www.codecourse.comTwitterhttps://twitter.com/teamcodecourse
https://youtu.be/hthn2oT7lWE
14 days ago
0
0
0
Individual jobs: “just run this” Workflows: “this entire process needs to succeed”
14 days ago
0
0
0
Heres the problem: Some things are tasks and some things are workflows. But you’re treating them the same way
14 days ago
0
0
0
Seeing them run in order makes it obvious that this was never meant to be separate work
15 days ago
0
0
0
One finishes → next starts one finishes → next starts that’s when it stops feeling like “jobs”
15 days ago
0
0
0
Add a delay to each job… and you can literally watch the workflow happen step-by-step
15 days ago
0
0
0
Do you know difference between “working code” and “reliable code”?
15 days ago
0
0
0
The moment you need: • ordering • cancellation • shared outcome you’re not dealing with separate jobs anymore
16 days ago
0
1
0
If step 3 depends on step 2… you’ve already made your decision
16 days ago
0
0
0
The question isn’t: “should I use jobs?” it’s: “do these steps succeed independently?”
16 days ago
0
0
0
A lot of workflows look independent in code… but aren’t independent in reality
16 days ago
0
0
0
Remember, just because you can split something into jobs doesn’t mean they should be treated separately
17 days ago
0
0
1
Dispatching jobs separately feels clean but it hides the fact that your steps aren’t independent
17 days ago
0
0
0
You don’t notice bad job design early… You notice it when something goes wrong and nothing knows how to react
17 days ago
0
0
0
When designing UI data flows: Do you usually assume requests should • cancel previous requests • queue up • or run independently?
18 days ago
0
0
0
Everything works… until one job fails and the rest keep going anyway
18 days ago
0
0
0
A good reminder when upgrading frameworks: Behavior you relied on might not be a feature, it might have just been an implementation detail. We explored an example of that in the latest Inertia episode.
loading . . .
New in Inertia: Partial Reloads are now Async
Want more? Explore the library at https://codecourse.comOfficial sitehttps://www.codecourse.comTwitterhttps://twitter.com/teamcodecourse
https://youtu.be/570_dWgBhZY
19 days ago
0
0
0
Should new requests cancel previous ones, or should they run independently?
19 days ago
0
0
0
One thing we revisited in yesterday’s episode: What happens when multiple partial reload requests fire at the same time?
loading . . .
New in Inertia: Partial Reloads are now Async
Want more? Explore the library at https://codecourse.comOfficial sitehttps://www.codecourse.comTwitterhttps://twitter.com/teamcodecourse
https://youtu.be/570_dWgBhZY
20 days ago
0
0
0
I seriously hate when something fails halfway through and now your system is in a weird in-between state
20 days ago
0
0
0
Full episode + quiz on YouTube.
loading . . .
New in Inertia: Partial Reloads are now Async
Want more? Explore the library at https://codecourse.comOfficial sitehttps://www.codecourse.comTwitterhttps://twitter.com/teamcodecourse
https://youtu.be/570_dWgBhZY
20 days ago
0
0
0
Load more
feeds!
log in