Caleb Porzio - Introducing: Livewire

Поділитися
Вставка
  • Опубліковано 12 лис 2024

КОМЕНТАРІ • 51

  • @salemexpress3014
    @salemexpress3014 5 років тому +61

    He eliminated 50% of front-end developers jobs.

    • @mist4620
      @mist4620 4 роки тому +13

      Yeah now we can be 50% more sure the site'll work :P

  • @whispering-pebble7415
    @whispering-pebble7415 5 років тому +25

    Great talk! Livewire is THE thing that blow my mind this year

  • @ricko13
    @ricko13 3 роки тому +3

    This is 2021 and I actually was afraid of look into that new "Livewire" thing because I thought it was just ANOTHER Javascript framework, but OMG I was wrong. Thank you Caleb for that, you just save my life ♥

  • @AxelParis
    @AxelParis 4 роки тому +7

    One of the best talk I ever seen. Such an amazing work!

  • @guillermocava3568
    @guillermocava3568 5 років тому +6

    I remember one of the first web apps I made used heavily the jquery load function to load whole sections of content without refreshing, this is like seeing that but on steroids. Such a dope approach and with the blade syntax to rely upon makes is even better. Under 10kbs to make it all happen, incredibly impressive.

  • @vasiovasio
    @vasiovasio 4 роки тому +5

    This is Insane man! Thank you!

  • @felipeballoni76
    @felipeballoni76 4 роки тому +1

    I loved it... and I'm already studying. Tanks Caleb to share this with us.

  • @sixkiller9240
    @sixkiller9240 4 роки тому +5

    Caleb is such a beast!

  • @mangoknights
    @mangoknights 4 роки тому

    The use case, to start, is to quickly throw together secondary views so they appear dynamic. eg. Account, Profile, Billing, etc. and spare the Vue stuff for complex needs.

  • @lenux5828
    @lenux5828 5 років тому +1

    i really like this guy

  • @onessimuslyngdoh289
    @onessimuslyngdoh289 4 роки тому +4

    What font was he using on the editor?

  • @RafaelMilewski
    @RafaelMilewski 5 років тому +1

    That`s a really nice idea!....

  • @afrazahmad5446
    @afrazahmad5446 5 років тому

    I like this idea very much. But I'm thinking that while using livewire I cannot share/re-use the same code for web and mobile app (because of separate class and blade file) which I can do using Vue.js for web-app.
    Most of the time we also write API endpoints for mobile apps and same code is shared to them which is being used for web-app in Vue.js.
    If I am taking it wrong please correct me.
    If we are only going to create a website then I will definitely like to try it.

    • @Jossnaz
      @Jossnaz 4 роки тому +2

      what code can you share to webapp when using vue?

  • @ProgrammingwithPeter
    @ProgrammingwithPeter 5 років тому +2

    I did like live wire but still thinking where i could put this on my projects.

    • @kiiyaerick
      @kiiyaerick 5 років тому +4

      More me replacing things like Datatables with this would be amazing. I hate the JS datatables.

    • @ProgrammingwithPeter
      @ProgrammingwithPeter 5 років тому

      @@kiiyaerick Well yea, i wonder if it would behave on init like a normal blade file so the parser will index a listing and after that go to js mode or something like that. How Nuxtjs does it with vue components. This would be a big plus for simple application to use livewire. (still have a modern feeling of having real time data changing with php but SEO friendly)

    • @gustavovasquezveliz7046
      @gustavovasquezveliz7046 4 роки тому +1

      You can use livewire when you need some ajax interaction, but you don't want to bring vue/react to your stack

    • @gustavovasquezveliz7046
      @gustavovasquezveliz7046 4 роки тому

      He explains at 5:23 when you can use livewire

  • @anticom1337
    @anticom1337 5 років тому +3

    3:54 liar! Your MacBook Time says it's 10:32pm

  • @NguyenVunguyenvu
    @NguyenVunguyenvu 4 роки тому +2

    haha, nice idea, so fun :D

  • @slowgaffle
    @slowgaffle 5 років тому +18

    this is illegal. Im calling the authorities

  • @rickybarabba7866
    @rickybarabba7866 4 роки тому +1

    Why did people laugh when the "embrace the backend" slide was shown? I am naive ;-)

  • @machinelearningid3931
    @machinelearningid3931 3 роки тому

    wow, i just know this

  • @MrSMGun
    @MrSMGun 4 роки тому +1

    So basically webforms.

  • @amanvirk
    @amanvirk 5 років тому +5

    Classic case of over engineering.

    • @caspersrensen8693
      @caspersrensen8693 5 років тому +4

      In fact this is quite the opposite if you think about it :)

    • @amanvirk
      @amanvirk 5 років тому

      @@caspersrensen8693 Yeah depends!
      Managing WebSocket connections to perform view updates is good for todo apps, but I prefer writing Javascript (using the entire ecosystem built around JS) vs adding new machines to manage persistent socket connections.

    • @ProgrammingwithPeter
      @ProgrammingwithPeter 5 років тому +14

      @@amanvirk it's not using websockets, they are sending requests for every update

    • @officialAXVin
      @officialAXVin 5 років тому

      @@ProgrammingwithPeter isn't that same? i like to keep the traffic on the backend low coz a simple apps don't need a backend server usually for most tasks

    • @ProgrammingwithPeter
      @ProgrammingwithPeter 5 років тому +7

      @@officialAXVin it's not the same, but you know, if github does it, it's not that bad

  • @JoshuaKisb
    @JoshuaKisb 4 роки тому

    He's a good presenter but livewire is sad. So sad

    • @desther
      @desther 4 роки тому

      Sad? I am using it extensively on most of my new projects and it's plain awesome. Instant onboarding if you know Laravel and extremely powerful tool with very little limitations.

    • @JethroYSCao
      @JethroYSCao 3 роки тому

      Care to elaborate on why you say it's sad? I'm new to Laravel and PHP in general, so genuinely curious.

    • @JoshuaKisb
      @JoshuaKisb 3 роки тому

      @@JethroYSCao its essentially developers giving up and settling for inefficiency.
      ever heard of gwt... was this build web apps in java thing. reminds me of it
      livewire is essentially developers saying, javascript is... something to learn. but we are tired of learning. so lets stick to what we know.
      instead of sending json like we do today in ajax requests they deal with html because thats easier to implement even though its inefficient.
      it is a functional product but in any serious projects, once it gets big enough sooner or later you will need to do javascript somewhere, so... they are essentially lying to themselves to put it off and hide away.
      In serious web development, Javascript is inevitable
      finally the laravel js intergration could have easily been accomplished with a little more effort. for example livewire sends all its requests to a single url end point and so you dont have to write routes. also you don't have to register components yourself and you can create components in terminal.
      and for some reason this is amazing to people. with a little effort you could get the same done with a js framework and developers lives would have been easier with the benefits of js.
      ....
      anyways enough rambling. livewire is an okay product. usable even. easy for newbies to misuse it as a javascript replacement instead of a tool to make ajax requests easier and end up making their apps extremely slow. but should be fine.
      hoping similar effort is made for laravel intergration with Vue

    • @Vitorruy1
      @Vitorruy1 3 роки тому +3

      @@JoshuaKisb That's a missunderstanding, the point of the library is not to replace all JS with Blade, you still have to use JS in high interaction cases and the author talks about that in the presentation itself. The library is for low interaction components only.

    • @andyhinkle
      @andyhinkle 3 роки тому +3

      @@JoshuaKisb You're wrong. Livewire has been nothing but exceptional. Your code remains in a single stack; no longer do you have to manage both, JavaScript and PHP. Livewire is used at a component level and can be nested. Livewire test suite follows those of PHPUnit. Each of your statements are repeating yourself and you are essentially saying javascript is good, Livewire is bad with no actual examples of pros/cons.