The most powerful way to use Eloquent

  Рет қаралды 2,515

Mateus Guimarães

Mateus Guimarães

6 күн бұрын

Persist: github.com/mateusjatenee/persist
👨‍💻 Learn Test-Driven Development with Laravel!
tddwithlaravel.com
Sign up to 30 Days of Laravel 👉🏻 30daysoflaravel.com
👨‍💻 Sign up to my newsletter and receive PHP, JS and Laravel news in a weekly-basis:
subscribe.mateusguimaraes.com
🎉 Party up:
/ mateusjatenee
/ mateusjatenee
/ mateusguimaraes
Thanks for watching!

Пікірлер: 18
@inspiway6424
@inspiway6424 5 күн бұрын
Nice, I had no idea about that "persist" method. Thx!
@nexxai
@nexxai 5 күн бұрын
Wow. This is awesome! It makes so much sense regarding consistency and I think I'm going to be spending some time over the next week bringing it into my latest side project. Thanks for doing this!
4 күн бұрын
Let me know what you think!
@neverything
@neverything 4 күн бұрын
Great video Mateus, thanks for sharing
3 күн бұрын
Glad you enjoyed it my friend!
@piter33
@piter33 5 күн бұрын
Great idea, Mateus! I'll try it. I think this is worth a PR in Laravel 😉
5 күн бұрын
The package came from a PR! :-) github.com/laravel/framework/pull/48914
@joshcirre
@joshcirre 5 күн бұрын
This is awesome. Thanks for teaching me. :)
4 күн бұрын
Thanks for watching my dude!
@DaviMartins99
@DaviMartins99 4 күн бұрын
I wish that Taylor left you some feedback on why not merging this instead of just closing with the auto message, guess it was because it's pretty big change to the Eloquent-way of thinking. Great idea for a package nevertheless, can see myself pulling this if the right scenario comes up.
3 күн бұрын
I think it was a fair response! Eloquent is very complex and it’s a critical piece, so I understand that changing how it behaves is complicated.
@learn-web-dev
@learn-web-dev 4 күн бұрын
Great Doctrine idea :)
@bobbyiliev_
@bobbyiliev_ 4 күн бұрын
Great video! Well done!
3 күн бұрын
Glad you liked it Bobby!
@vladvasilov
@vladvasilov 4 күн бұрын
nice! This is somehow similar to MikroORM persist
3 күн бұрын
Oh cool! I’ll check it out.
@Ruggie1of1
@Ruggie1of1 5 күн бұрын
push() exists on models already and is intended to save the model and relationships. (still a good idea to call it inside of a transaction)
5 күн бұрын
Sadly it doesn’t always work - push assumes that models have been persisted already. See: github.com/laravel/framework/issues/48914
From 0 to Front-End Developer in 12 Months: The Complete Roadmap
8:54
Programming with Mosh
Рет қаралды 147 М.
So You Think You Know Git Part 2 - DevWorld 2024
23:02
GitButler
Рет қаралды 70 М.
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 146 МЛН
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 19 МЛН
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 27 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 23 МЛН
How to properly integrate with 3rd party providers
16:27
Mateus Guimarães
Рет қаралды 1,8 М.
Thinking about Aggregates in Active Record
19:22
Mateus Guimarães
Рет қаралды 2,3 М.
From React To HTMX
40:01
ThePrimeTime
Рет қаралды 306 М.
3 Key Version Control Mistakes (HUGE STEP BACKWARDS)
15:08
Continuous Delivery
Рет қаралды 26 М.
How React 19 Almost Broke The Web
55:40
Theo - t3․gg
Рет қаралды 90 М.
My Burnout Experience
15:20
ThePrimeTime
Рет қаралды 108 М.
What I do before coding complex features
20:35
Mateus Guimarães
Рет қаралды 1,8 М.
I can't believe this is real
11:54
Theo - t3․gg
Рет қаралды 115 М.
The Svelte 5 Guide: Runes And Universal Reactivity
21:41
Joy of Code
Рет қаралды 15 М.
Lid hologram 3d
0:32
LEDG
Рет қаралды 10 МЛН
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 422 М.
Low Price Best 👌 China Mobile 📱
0:42
Tech Official
Рет қаралды 717 М.