Building a todo app: before and after Verbs

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2024

ความคิดเห็น • 19

  • @christophrumpel
    @christophrumpel 18 ชั่วโมงที่ผ่านมา +1

    Great one 👏

  • @joshcirre
    @joshcirre 2 วันที่ผ่านมา +3

    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  2 วันที่ผ่านมา +1

      @@joshcirre I’ll see about making another video on State some time soon!

  • @dion3109
    @dion3109 วันที่ผ่านมา +2

    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

  • @nunomaduro
    @nunomaduro 2 วันที่ผ่านมา +3

    great video! thanks for this and for verbs. 🙌

    • @cmorrell
      @cmorrell  2 วันที่ผ่านมา

      @@nunomaduro thanks for checking it out!

  • @BenHolmen
    @BenHolmen 17 ชั่วโมงที่ผ่านมา +1

    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  16 ชั่วโมงที่ผ่านมา

      @@BenHolmen thanks Ben!

  • @hayden_ellis
    @hayden_ellis 2 วันที่ผ่านมา +2

    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  2 วันที่ผ่านมา

      @@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 2 วันที่ผ่านมา +1

    great video, Chris!
    one day, my hair will also be this beautiful

  • @kyledoesdev
    @kyledoesdev 2 วันที่ผ่านมา +1

    great video!!!!

  • @andrewpeacock5107
    @andrewpeacock5107 วันที่ผ่านมา

    Hi Chris, what's the app you're using at 11:43?

    • @cmorrell
      @cmorrell  วันที่ผ่านมา +1

      @@andrewpeacock5107 that’s PhpStorm with the amazing Laravel IDEA plugin. It makes working with Laravel *so* good!

    • @andrewpeacock5107
      @andrewpeacock5107 17 ชั่วโมงที่ผ่านมา

      ​@@cmorrellAh, thanks.

  • @jjjrmy
    @jjjrmy 14 ชั่วโมงที่ผ่านมา

    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  13 ชั่วโมงที่ผ่านมา

      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 11 ชั่วโมงที่ผ่านมา

      @@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  6 ชั่วโมงที่ผ่านมา

      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!