Laravel tip: Higher order collection proxies (and Zevia)

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 22

  • @aarondfrancis
    @aarondfrancis  Месяц назад

    Prefer to read instead of watching? Check out the article version of this video: aaronfrancis.com/2024/laravels-higher-order-collection-proxies-451f4176

  • @pilskalns
    @pilskalns 2 месяца назад

    I was just about to write simple 3 line each loop, then remembered about this feauture from one of your videos and now I saved 2 lines into cool oneliner. Thanks!

  • @jorbascrumps
    @jorbascrumps 2 месяца назад +10

    This is such a fun series. Keep it up!

  • @rmdashrfv
    @rmdashrfv 2 месяца назад +19

    Hi, I work at Zevia! Thanks for the feedback, how can we improve the product Aaron?

  • @alexanderkrist95
    @alexanderkrist95 2 месяца назад +5

    The part when we deleted the test was the cherry on top 😂 love this ❤

  • @Devdojo
    @Devdojo 2 месяца назад +1

    Haven’t used’m before, but I will now. Thanks.
    Also, I kind of want to give Zevia a try 😅 my expectations are low, so I might enjoy it.

  • @AndreSantos-nl3vy
    @AndreSantos-nl3vy 2 месяца назад

    This is a fun. Keep it up!

  • @jervi_sir
    @jervi_sir 2 месяца назад

    it will be really helpful if you make light on Laravel Reverb, for web or mobile like react native

  • @spicynoodle7419
    @spicynoodle7419 2 месяца назад +3

    I've used higher-order proxies, however, I don't like them. They break LSP hints and I've been embracing the stricter/more staticky typing of PHP 8. I wish Laravel would also throw away some of its magic *debugger()* statements in Eloquent relationship methods and the many *__get()* / *__set()* methods. The new JIT provides a good amount of performance but the dynamic magic of the frameworks trip it up

    • @aarondfrancis
      @aarondfrancis  2 месяца назад +5

      You can just add a type comment to tell PHP Storm that it's an instance of Browser and you get it all back

  • @iPwnPancakes
    @iPwnPancakes 2 месяца назад

    Oh snap, I do laravel and I didn't know I could do this 😆

  • @FunctionGermany
    @FunctionGermany 2 месяца назад +1

    nice video, but i think i don't like this pattern. i think there's nothing wrong with foreach, making it more expressive that you're working with multiple variables of a collection/list.

  • @sinaahmadpour3180
    @sinaahmadpour3180 2 месяца назад

    Short yet beneficial ❤
    And not wasting time on thumbnails 😜

  • @darkbelg
    @darkbelg 2 месяца назад

    These highirderproxy is not really mentioned or shown like this in the docs. Like in the docs it's shown chained. But never mentioned you can use it like this. Does this only work for each?

  • @MohammadRoshandelpoor
    @MohammadRoshandelpoor 2 месяца назад

    thanks amazing keep it up دمت گرم

  • @thewizardguy1337
    @thewizardguy1337 2 месяца назад

    bro, black cherry zevia, their only actual flavor imo
    still has the aftertaste, but much more tolerable imo

  • @younesessaadani9303
    @younesessaadani9303 2 месяца назад

    Yayy first 🎉

  • @phefochis6149
    @phefochis6149 2 месяца назад

    Second 😂