Building a todo app: before and after Verbs

  Рет қаралды 1,602

Chris Morrell

Chris Morrell

Күн бұрын

Пікірлер: 23
@joshcirre
@joshcirre Ай бұрын
This helped me a lot. I still haven't fully grasped when to use state vs. just models like you showed here. But this helped me see how events can be decoupled from state. Thank you!
@cmorrell
@cmorrell Ай бұрын
@@joshcirre I’ll see about making another video on State some time soon!
@MarcoCarro
@MarcoCarro 5 күн бұрын
great video!
@nunomaduro
@nunomaduro Ай бұрын
great video! thanks for this and for verbs. 🙌
@cmorrell
@cmorrell Ай бұрын
@@nunomaduro thanks for checking it out!
@EserDeniz
@EserDeniz Ай бұрын
Great video! It’s cool to see more and more content about Verbs.
@Zahista
@Zahista 27 күн бұрын
this is nuts! :) I need to try it in some app! Thank you and Daniel! :)
@BenHolmen
@BenHolmen Ай бұрын
Chris! This was such a chill pitch and it really resonated with me. Already wishing I would have written my last side project with Verbs. Maybe the next one!
@cmorrell
@cmorrell Ай бұрын
@@BenHolmen thanks Ben!
@christophrumpel
@christophrumpel Ай бұрын
Great one 👏
@dion3109
@dion3109 Ай бұрын
You are good at explaining! Really nice to watch. Hopefully you will be uploading frequently in the future. You can maybe make an video about every feature of Laravel. Like when to use observers, services etc
@hayden_ellis
@hayden_ellis Ай бұрын
I agree with Josh's comment - this paints a nice picture of when to fire events and the upside of event sourcing. In my experience, when I'm trying to event source a particular feature, the biggest hurdle for me has been understanding how to use the state and models to store data as well as represent that data in the UI (and then updating/interacting with that data). And in Livewire, how to make it quick/snappy with Verbs.
@cmorrell
@cmorrell Ай бұрын
@@hayden_ellis yeah, I’m gonna try to make another video on state vs eloquent models. As for Livewire, that’s less my area of expertise. But I know Josh Hanley has done some talks about that-might want to look them up.
@SimonHamp
@SimonHamp Ай бұрын
great video, Chris! one day, my hair will also be this beautiful
@kyledoesdev
@kyledoesdev Ай бұрын
great video!!!!
@andrewpeacock5107
@andrewpeacock5107 Ай бұрын
Hi Chris, what's the app you're using at 11:43?
@cmorrell
@cmorrell Ай бұрын
@@andrewpeacock5107 that’s PhpStorm with the amazing Laravel IDEA plugin. It makes working with Laravel *so* good!
@andrewpeacock5107
@andrewpeacock5107 Ай бұрын
​@@cmorrellAh, thanks.
@jjjrmy
@jjjrmy Ай бұрын
why can't this be done using actions instead? if we already have a bunch of actions I'd now have to move those into Verb Events instead?
@cmorrell
@cmorrell Ай бұрын
The upside of events over actions is that the event itself is stored in the db, rather than just the outcome of the event. If you’re already using the actions pattern, it’s relatively easy to switch to events, but it’s definitely work. Only you can decide if it’s worth it.
@jjjrmy
@jjjrmy Ай бұрын
@@cmorrell it's not possible to have a trait for an action like "asVerb"? that way you don't have to change too much - or is that not possible based on how Verbs package works?
@cmorrell
@cmorrell Ай бұрын
That would be very cool! I’ve thought about it the other way-could Verbs work be routed to/etc like how Laravel-Actions works, but I never thought about it the other way around. I’ll have to tinker a bit to see what’s possible, but it’s a great idea!
@jjjrmy
@jjjrmy 29 күн бұрын
@@cmorrell at least that way it's more the "Laravel way" and you can even turn built in actions (like Jetstream signup action) into a Verb without refactoring anything
What's New in Laravel Herd 1.11
22:39
Laravel
Рет қаралды 13 М.
LiteLLM - One Unified API for for all LLMs
17:37
Trelis Research
Рет қаралды 1,3 М.
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
Вопрос Ребром - Джиган
43:52
Gazgolder
Рет қаралды 3,8 МЛН
BachGPT is back: Can AI Compose Like the Greatest Musician of All Time?
14:06
Nobody & The Computer
Рет қаралды 29 М.
Using state in Verbs
51:53
Chris Morrell
Рет қаралды 333
6 Months of Testing C++ Build Systems: Here’s What You Need to Know
16:33
Laravel Gems - Pipelines 💎
15:21
Laravel
Рет қаралды 11 М.
Automate file management in R with the {fs} package
17:30
R for the Rest of Us
Рет қаралды 594
Simon Sinek's Advice Will Leave You SPEECHLESS 2.0 (MUST WATCH)
20:43
Alpha Leaders
Рет қаралды 2,3 МЛН
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 86 М.
Laravel Actions: The Secret Sauce
4:06
Nuno Maduro
Рет қаралды 8 М.
4 Problems with Eloquent Soft Deletes (and Two Alternatives)
9:05
Laravel Daily
Рет қаралды 15 М.
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН