Laravel Livewire vs Vue vs jQuery: Simple Example

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

КОМЕНТАРІ • 225

  • @matheusnascimento4793
    @matheusnascimento4793 4 роки тому +35

    to clear the variables, there is a method reset. it works like this:
    $this->reset(['name', 'email', 'question', 'message']);

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

      You can simply further with just $this->reset();

    • @PovilasKorop
      @PovilasKorop 4 роки тому +3

      Thanks, somehow missed that in documentation.

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

      Thank you... this is very useful.

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

      That is much better than what i ve to write in vue to reset the form. But what about nested models/arrays? Does this keep the model structure?
      Seems i should test it from start

  • @saidodanaro
    @saidodanaro 4 роки тому +6

    Great explanation, thank you!
    I think Livewire is perfect for simple data entry projects, like a simple one-step form submission.

  • @nabeelyousafpasha
    @nabeelyousafpasha 4 роки тому +6

    So we accepted this stack finally.
    Btw Livewire is awesome 👏🏻

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

    I have tried Vue and Flutter as the front end and Laravel API as a backend. It worked but in the long run I think I will not be able to keep up with all those different technologies. So I will go back to just Laravel with Blade. I will give Livewire and alpine.js a try though as an in-between-solution

  • @muhammadshahid1548
    @muhammadshahid1548 3 роки тому +2

    I want full series. Please create awesome tutorials like this one.

  • @VictorGonzalez85
    @VictorGonzalez85 4 роки тому +3

    This is great news, exactly what I was wishing for a long time, thanks livewire

  • @toomass2668
    @toomass2668 4 роки тому +6

    Hei, very nice examples. I do get the point of livewire and it looks good, but .. imagine you have form with 10 fields, do I understand correctly that livewire would do 10 api calls just for 1 update? So if 100 people update form at the same time it is almost as if 1000 request was done. I can not see the benefit of that. Can you explain that more in detail? Maybe I just do not understand it

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

      There are ways to make fewer API requests, use different events than in this example.
      But generally yes, there's a risk of too many API calls.

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

      @@PovilasKorop But this risk also exists when you are using jquery. It always (!) depends on the implementation.

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

      There is a pretty simple way to handle this.

    • @Dennis-wf9qu
      @Dennis-wf9qu 4 роки тому +1

      You could use wire:model.defer to keep it at a minimum

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

    I've been wanting to use Livewire since before version 2 came out, but I need to start a new project using just that, and that's not happening until I'm done with the project I'm working on right now. Thanks for the video, as always very informative. -Khalid

  • @AksoomHussain7866
    @AksoomHussain7866 3 роки тому +1

    what will impact the performance of the application as PWA livewire vs Vue vs jquery?

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

    I will definitely go with livewire

  • @beshoymounir6254
    @beshoymounir6254 4 роки тому +52

    too much requests to backend , its good for small projects , but not good idea for the developers who caring about perphormance and laravel structure , with livewire you dont follow laravel structure for requests and controllers

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

      You can modify how often livewire makes an ajax request to a certain degree

    • @gilberthg3868
      @gilberthg3868 4 роки тому +3

      Better use js library bruh

    • @YourAwesomePlace
      @YourAwesomePlace 4 роки тому +12

      wire:model.defer="name" - it could help you. Just one request on submit

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

      Developers who care about performance don't use laravel in the first place 😁

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

      @@YourAwesomePlace Then you lose some goodies like realtime form validations. And what about the fact it recieves a full html of component instead of json responses like react or vue?

  • @adnanshoukat2300
    @adnanshoukat2300 4 роки тому +14

    my only conern about the livewire is it sends more requests on the server .I know it can be handled by debounce/lazy but again it's sending more request then vue.js

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

      Though he gave example of GitHub but I don't think GitHub but I don't think it should be a good comparison. Yup http requests for everything almost.

    • @nkrumah2000
      @nkrumah2000 4 роки тому +9

      Livewire V2 has new way of binding ( wire:model.defer)
      That way you only send the request when you click to submit the form

    • @Satheeshkumar-dv1uu
      @Satheeshkumar-dv1uu 4 роки тому

      In cases where you don't need data updates to happen live, Livewire has a .defer modifer that batches data updates with the next network request.

    • @AhtshamShabir
      @AhtshamShabir 4 роки тому +3

      @@nkrumah2000 Then you lose some goodies like realtime form validations. And what about the fact it recieves a full html of component instead of json responses like react or vue? That results in larger response sizes.

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

      @@AhtshamShabir wt about SEO is Livewire SEO friendly?

  • @NebsterSK
    @NebsterSK 4 роки тому +6

    My team at work had to choose a new front-end framework last week because we wanted to get rid of jQuery. We picked Livewire over Vue.js because we are all PHPers not really skilled in JS.

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

    I work with livewire, very simple, clean an productive. But... The mess arrive when you want to embed some other library as ckeditor, tinyMCe, select2 etc.. and nested livewire component. As for now for me it doesn't work !!!

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

      you can use wire:ignore, that way when livewire parses the page, it wont change the child html/jscript in the div

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

      was that point really worth three exclamation marks?

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

      @@dogwalkinginc6371 For example, i can not make working leaflet map library as i want. i have a step by step form make with livewire at the first load on the first step all is good the map is created and displayed by leafleft, then if i go forward to the second step then backward on the first step , the map dissapeared and can not be recreated again. I known is not for all a livewire problem. But more generally for me the difficulty is that livewire reload all the dom for the concerned compoment and destroy content generated by other libraries and sometimes not easy to make all the pieces dance together.

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

      @@BernardBAILLY I just watched this screencast(laravel-livewire.com/screencasts/s4-rich-text) and walked through everything and have trix rich editor up and running perfectly. Caleb explains what you need in order to make javascript not conflict w/ Livewire.

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

      @@dogwalkinginc6371 reminds me of jQuery days

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

    I don't familiar with Laravel, but is there way to create a custom client-side validator with Livewire?

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

    Great video! I would like to see you do a Laravel Nova and custom admin templating. For example I always find it difficult to make the admin panel my own with out all the quirks in Nova and the docs can be a be unclear at many key moments leaving you clicking back and forth through the docs trying to find he missing step.

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

      I'm not planning to make reviews or customizations about PAID products, because it would be useful for only small amount of my audience who purchased that product. Nova included.

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

      Povilas Korop ok I can see your point and understand , it was just a suggestion as no one seem to be doing this type of video. I can’t even find it on paid learning coding platforms but Laravel seem to be pulling it a lot still hence why I suggested it. Anyway keep up the good work I enjoying your video content that you are creating. 😎👍🏻

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

      @@markbarton6845 To be honest, I've read quite a lot of similar comments about Nova, that it's hard to customize, so personally, I wouldn't recommend it as a solution. Of course, I'm biased as a QuickAdminPanel creator :)

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

      David Basil sometimes it about time and budget. Nova is very good on small projects. It gives enough out of the box to get you about 90% of the way in not much time at all. For this I found it to be very good. However when you want to be more bespoke about your admin styling the grey areas of the documentation leave you in a guessing game. I put this down to me not understanding aspect of the docs and how to apply them rather than pointing my figure at the package.

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

    Livewire is great, ive not actually used it myself, but i have watched a few introduction videos, and with me not really getting into the front end jscript frameworks, this will make it a lot easier for me to bring the front end into 2020

  • @pietrosavastano9940
    @pietrosavastano9940 3 роки тому +2

    Thanks povilas you have a great following here in italy!!

    • @LaravelDaily
      @LaravelDaily  3 роки тому +1

      I've had a few clients from Italy, wonderful people :)

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

    I'm giving a try on livewire on my new project. I was using vue for reactivity on my website. But when I go through the documentation of livewire I feel like I wont regret using it.

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

      I was skeptical at first (and also annoyed) when I saw that 8 shipped w/ Jetstream/Livewire. But I decided to dig-in and try it, and so far I've been nothing but impressed. It's one thing to shout about theories of its poor performance. it's another to actually use it first hand and judge with facts.

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

    Very clear. Very good example. Thank your very much. Use Livewire more easy.

  • @madcoda
    @madcoda 4 роки тому +6

    it's just like the ASP .net tech in the olden days, heavily couple the view and backend together, very little flexibility on the frontend, good for people who have zero knowledge on frontend/JS

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

      I thought I was the only one seeing the similarities.

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

      Just abandoned .net altogether during the evolution.

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

    This is amazing. I see great hope for livewire

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

    I think a popular misunderstanding is that Livewire is a potential replacement for Vue. It is not. It delivers reactivity in a beautiful way, yes, but it does not provide for managing loops and DB calls. That still is undertaken within Laravel. A major benefit perhaps?

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

      @vincej151 what exactly do you mean by "managing loops" and "DB calls"?

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

      and also it is replacement for js framework, why would you use livewire and then additionally install js framework? That makes no sense.

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

      ​@@impulserr It is great for reactivity and substituting for Ajax. Go and watch the author of Livewire on his website. Caleb's own video tutorials state that this is not a replacement for Javascript or Vue or JQuery for that matter.

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

      @@wulfheart5475 if you would like to understand this, start here, it's not hard:
      www.w3schools.com/php/php_if_else.asp

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

      @@impulserr Livewire is very good at what ti does, but it does not do everything you need in the front end. You don't need a JS frame work. Just JS.

  • @JoshDanns
    @JoshDanns 3 роки тому +1

    Your videos are super amazing. You explain stuff pretty well! Thanks a lot for the videos

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

    For database propose should i use inertia ou limewired

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

    Thank you for this video. If I want to do simple I will go for easy and looks like livewire is easy to implement. But this Vue Livewire jQuery and others stufs depends our needs. I'm using jQuery for little things sometimes. If I want to more complex structer I'm not using jQuery. Because thats really hard to code and manage. If I want to more complex app I will use Vue or similar. Depends our needs I guess.

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

    Livewire is very interested, but i think is not matute enought yet. I was using it in a production project and things where broke when updating livewire versión. Also if your not carefully you may end up with too much ajax requests

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

    Thanks for a video, but how we can use requests to our custom api methods with livewire?

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

    Каким расширением пользуетесь для автозаполнения полей форм ? Спасибо

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

      addons.mozilla.org/ru/firefox/addon/fake-filler

  • @yuliarahma1300
    @yuliarahma1300 4 роки тому +12

    plis laravel 8 inirtia + vue CRUD and auth role

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

      Yes, it would be good if the author makes a video also about Laravel + Inetria.js.

  • @EnamulHasanthatsenam
    @EnamulHasanthatsenam 4 роки тому +9

    We want more livewire tutorial.

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

    Wow as a back-end software developer this really does sound interesting. I can't think of how many times you have to work with javascript to make something reactive. I will definitely do more research, and I am looking forward to more videos about this stuff!

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

      Me too, i was very interested in this new library that stays on the backend and not worry too much about JS.
      Im in the process of rebuilding a CMS with Livewire and then Inertia.js, just want to see which side is more efficient because both are server side with the only exception that Inertia uses Vue, React or Svelte but only for the views, the rest is all Laravel backend which passes the data to the views. Im planning of releasing both of these CMS'es as public git repositories which some might find useful.

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

      @@Tux0xFF Nice man! I'd be very interested in seeing the results

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

    I have been using Livewire for a long time, and if you use ir with alpinejs you can do everything

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

    Great comparison, thank you!
    But there is a fifth way you could test. Basically progressively enhancing the "web" version, using htmx (successor of intercooler) or for an even more impressive "no code needed" option, unpoly : unpoly.com/
    Quick howto with unpoly:
    - Read unpoly.com/form-up-target
    - For a quick test add unpoly to your project using a CDN unpoly.com/install/cdn
    - Add some class to the .card that contains the first sample something like
    - Update the of this sample to be like :
    And voilà, same reactivity as the other examples without altering your code, and works with and without javascript enabled in the browser. Easy-est to write and maitain.
    If you want I create a pull request for that on the repository.
    Unpoly is the unpopular hidden gem you might like to discover. It has been written to make long term, maintainable web applications. I'm not affiliated with it, I'm just a huge fan :-)

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

    Can livewire be integeated with HOT RELOAD like React JS?

  • @СтаниславЧетвериков-з2м

    Очень полезное видео. Нам действительно не нужны абстрактные примеры. Реальные примеры наглядно демонстрируют выгоду Livewire для Laravel программиста

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

    I have just learned react. Should I go with react and laravel or learn live wire please suggest me.

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

      Try and learn both, and learn Vue too :) Each tool has its use.

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

    greet video we need more about livewire plz

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

    Liveware is love

  • @natnaelmulugeta101
    @natnaelmulugeta101 4 роки тому +3

    Livewire is awsome.

  •  4 роки тому

    Cool, I need to try it later. Thanks.

  • @LoganathanNatarajanlogudotcom
    @LoganathanNatarajanlogudotcom 2 роки тому

    thanks for the wonderful explanations, keep doing...

  • @373323
    @373323 Рік тому

    Yay, the very best. more LiveWire please :-)

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

    Thanks for this great information. Amazing way to explained it.

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

    I started to use livewire, I think it's a great tool but there are some certain limitations which I am still discovering. Like not being able to store a collection as a public property or to render different views with data. I think and would love to see a video on all these limitations and how to overcome them.

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

      Stay tuned, more changes are coming, the creator of Livewire Caleb will certainly expand this to more possibilities, the v2 already had many improvements, and who knows it may even be part of core Laravel because Taylor also loves this library, and Caleb loves to solve impossible problems, thats what drives him to create these awesome libraries

  • @vitormicillo1
    @vitormicillo1 2 роки тому

    I really really like this video, awesome Povilas

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

    thank you

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

    Psst! Wanna know about something better? Try Phoenix LiveView. LiveWire was actually inspired by it in the first place, and it uses websockets instead of AJAX, so it is a lot faster. But to be fair, if someone already knows PHP/Laravel then stick to LiveView, but if one wants to learn Elixir, a new functional language that powers Phoenix and LiveView, then give it a try. I'm using both frameworks/languages on different projects nowadays. It's faster than Node.js too if you are curious.

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

    Need suggestion. I am not familiar with vue at all. I have used jquery all the time. Now I want to start working in vue or livewire. Which one should I go for?

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

      First, try Vue. It will get you better job positions in the future. Just TRY. If you really dislike it, then try to replace it with Livewire.

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

      @@PovilasKorop thanks.

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

      React is best for job purpose

  • @windxtech4369
    @windxtech4369 10 місяців тому

    Very good! Thank you

  • @DeepakSharma-hl2lz
    @DeepakSharma-hl2lz 4 роки тому

    Very nice tutorial sir

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

    i think livewire is very backend developer oriented but not end user oriented, since the performance is gonna be deeply affected

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

    Does that mean if we know vue then livewire is not required? Can you please specify correct use case of livewire in real time application?

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

      livewire is made in my opinion for people who don't like ineract alot with javascript otherwith i think vue will give you more powerfull options

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

      Vue better but Livewire is a bit more simplistic

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

      It's a philosophical question, to be honest. What are you MORE COMFORTABLE with? If you are happy with Vue, you don't need Livewire. But if it feels that Vue is too much work for you, Livewire can make SOME stuff much easier. In my opinion, Livewire is mostly for those back-end developers who haven't really started much with Vue because they don't like JS, and with Livewire they don't need to write JS anymore at all.

    • @tanzimibthesam5861
      @tanzimibthesam5861 4 роки тому +3

      @@PovilasKorop And also Vue is a more transferable skill. We can only use Livewire with Laravel but if we work on other frameworks we can still use Vue

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

      @@tanzimibthesam5861 Great point. Livewire is more like a helper for Laravel developers, it's a Laravel package after all.

  • @AhtshamShabir
    @AhtshamShabir 4 роки тому +3

    It sends way more requests than vue or react. Another downside is that it has to download a full html page in response and then diff the changes while other js frameworks just get json responses. Way more requests and bigger response size. I personally haven't used livewire so I'm not sure if it handles client side validations and routing.
    It definitely has its place for small projects. But for bigger projects, it abstracts away a lot of necessary control.

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

    thank you for your explanation!

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

    Holy moly ... sign me up!

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

    great explanation, thank sr

  • @anatoliy1435
    @anatoliy1435 2 роки тому

    спасибо

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

    Awesome tutorial.. thanks a ton !

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

    Awesome love livewire

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

    I use livewire, but sometimes you to use alpine js with livewire.

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

    nice tutorial. thanx sir.

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

    In general it looks awesome, but this not good because it handle all js underneath the hood for someone intreseted to write his logic with it's requrement i don't think it would be a good choise otherwise it's really awesome

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

      Yes that "hidden magic" of JavaScript is what also scares me, that's why, in my opinion, Livewire is good for some small components, like this form, but not for something that would potentially require custom logic.

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

      @@PovilasKorop yes you are right it would be good for small business

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

      @@josephmakram4342 small business and customizations are not the same thing

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

      in most cases in small business there no much customization

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

      @@josephmakram4342 I also think it can be used for blog or simplistic crud projects but it has a easier learning curve . But I believe we can learn both

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

    Thank you!

  • @dmdk8301
    @dmdk8301 3 роки тому +1

    First i gave up with nuxt. At first it was wow, vue with ssr. Later i've lost so much time installing plugins, tons of npms... now vue is at the same stage. Small projects but to the end i have hundreds of files and i dont remember what ive done 2 weeks before. Great things of vue die while data transfering back and forth to server. Data transformations, array loopings, mapings etc in order to pass it to new superhandymobilefriendly vue-component.
    Last days i want videos on livewire. If it is ready to simplify data transfers... the only trouble - while you learn livewire, there will be laravel 9 with supernewawesome verylivewwire and from the very beginning) sorry for emotions.
    Crying when look my first site with flash buttons written in notepad. Index.txt save as .html. later php. And basic txt editor was enough to build anything....

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

    Maybe build chat or notifications popups in livewire + pusher + echo on SPA

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

    Really Excelent, Thanks

  • @hugo-abdou
    @hugo-abdou 4 роки тому +1

    is so hard for server side to handel 4 request onli for a contact form

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

      it doesnt need to be 4 requests, just one, with the defer option which executes on click submit

  • @code.with.martin
    @code.with.martin 4 роки тому +2

    Please, next video, how to add jetstream (Inertia + Vue) to live Laravel project upgraded to Laravel 8. :-)

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

      There's no way to ADD jetstream to an existing project, it's not the purpose. Jetstream is a project STARTER, like "laravel new" installer.

    • @code.with.martin
      @code.with.martin 4 роки тому

      @@PovilasKorop I think, its not so easy, but is definitelly possible.

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

    the TALL stack is really powerful

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

      only thing that i really dont like is Tailwind, so i use the BALL stack, which uses Bootstrap

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

    Very nice thanks

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

    Nice

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

    Please create a video about Voyager

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

    Please may u do livewire tutorials maybe on laravel diary

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

    Excellent!

  • @LucianoOliveira-zq8vk
    @LucianoOliveira-zq8vk 4 роки тому

    Excelent

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

    Nice.

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

    Please make tutorial for laravel resources API

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

      What exactly is not clear for you there? Actually, I have a separate course on APIs: laraveldaily.teachable.com/p/how-to-create-laravel-api

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

      @@PovilasKorop That's great but I'm talking about this - laravel.com/docs/8.x/eloquent-resources#resource-collections

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

      @@akashthoriya Yes, that collection API resources are part of my course. Also, I'm not sure what can I make a tutorial about, if the documentation is pretty clear on that topic.

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

    Seems to be safe Laravel developer with Livewire as compare to VUE JS

  • @be-kreidly1515
    @be-kreidly1515 4 роки тому

    good information, but very rapid. especially that this is a new tech

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

    imho the vue is more useful because may be some day you will work with javascript + vue, and its very popilar so its a plus for your cv. Also its more easy to person who is more familiar with javascript it self. But if some one is more backed php guy, probably they will stick with jQuery and livewhire

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

    with livewire, it's no more Model View Controller **its Model (View + Component)**

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

    sorry livewire. i just marry laravel and vue js

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

      kkkkk

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

      See my comment

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

      You are using Inertia right?
      if not, your working too much.
      Livewire is the baby of Laravel+Vue

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

      @@Tux0xFF Nested components in Livewire are not reactive like props from a Vue component so... What actually does it mean? It can put off people.

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

      @@Tux0xFF livewire is great for a local project, but for a project with multiple access and a not so great server the ajax request for reactivity is terrible. They want you to use alpine to make things client side and... Well... It's not so good. Plus, livewire is just for laravel, if you someday need to use laravel as API or use another framework it can hit you hard, so it's good to learn and use vue/react/angular nowadays

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

    personally I don't like livewire because it will request all the changes to the server.
    if your traffic is not very high then it will make sense to use it
    but if your site is a high traffic site, it will burden the server surely

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

    livewire series plz

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

    Best channel

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

    real crack!

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

    Omg this is rlly great 😍😍

  • @impulserr
    @impulserr 4 роки тому +3

    I don't see reason to use livewire in real app. If you don't know any js then using livewire won't teach you anything, in other hand if you know, there is no reason to use livewire.

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

      Isnt faster than building a SPA? where you have to deal with creating an API, then Auth if its needed. Livewire is reactive. There is also another adapter called Inertia which cuts a lot of bs that involves building an SPA, which is flawed because you have to work so much more , unless it serves mobile, web and other services then its ok, but for a website, a CMS, a CRM where most of the time SEO is important and everyone knows that SPAs built in the classical way have always had that problem, its been years already and the problem remains, there hacky workarounds for it but its just doesnt feel right.

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

    Livewire is awesome. You should make a seperate video on livewire instead of comparison.

    • @Satheeshkumar-dv1uu
      @Satheeshkumar-dv1uu 4 роки тому

      🔥🙏

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

      But you are Livewire, right?
      if not, Caleb will delete all your livewire videos

  • @the2worlds
    @the2worlds 4 роки тому +3

    No thanks, I prefer to move as much as possible to the frontend and leverage the users cpu resources than my own.

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

    Can some give me some examples using ssr in Vue spa

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

      all JS frameworks suck for SEO related apps, its the wrong solution to that problem.

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

    Waiting for famous blade+ jQuery enough comments

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

      Wait wait, waaaait. You need BLADE? :O twitter.com/levelsio/status/1308145873843560449

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

    was better to say smth about advantage or disadvantage to use livewire

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

    weird to find actual web developers trying to avoid javascript.
    stop fighting the inevitable. be more efficient
    livewire is inefficient without learning whats going on behind the scenes and putting in extra work to improve it

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

    looks like a godsend, javascript is a nightmare.

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

    Try upload multiple big videos using Livewire, and see how it works
    No client side preview (BEFORE UPLOAD): createObjectURL + video n canvas element, which is really easy and faster
    But the fact is Livewire "instantly" upload selected files whenever input files is changing
    Example case
    I want to upload a video with size +-200MB, with my smartphone, currently in that moment, my phone connection is not really good
    So what happen next? i have to "idle" in the upload form / page for few minutes (since my connection is bad) just to see what I have uploaded ($f->temporaryUrl()), this is not a good UX,
    then, if I want to change the video (Cancel the previous video), then again, I have to wait again for few minutes for simple preview?????? Really???????
    Nope nope and nope, just nope
    I knew they provide JS function for manual upload, but still, nope and thank you, I'm sticking to Laravel n Vue

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

      Thanks for pointing this, I have the feeling that it would be limited or could have some issues because it just looks a "cool" tool that isn't really well-thought. I will save my time from learning it.

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

      @@ivantan222 for small project its good, but in large scale app, no, IT IS NOT
      My advice is, for long-term website development, you should use something that has wide range community support, so in the future, you don't have to change many things for your future requirement, Vue is already easy to learn, its not gonna hurt to learn it, there are tons of plugins for Vuejs framework

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

      @Gwein Lotusiana Yeah, I agree. Moreover, I often find a project that looks easy at the start, so we might be interested in a simple tool like this Livewire, but when the project goes bigger it will be much more complicated if the tool can't support or becomes the technical barrier.

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

      @@ivantan222 indeed
      For me, if I ever need to update my features, etc, I don't have to "entirely" change everything, and go through learn process, trial, and error all over again
      That's why I choose to stick with Vue
      And another example, for Laravel Eloquent
      If ur model record is still below 50k - 100k records, it is still good using eloquent
      But when you reach > 200k records, you should start using Laravel Query Builder
      1. stackoverflow.com/questions/58314420/laravel-eloquent-vs-query-builder-pros-and-cons
      2. medium.com/@abad.developer/laravel-eloquent-vs-query-builder-why-use-eloquent-to-decrease-performance-5aa17bed358a
      3. (PDF) www.google.com/url?sa=t&source=web&rct=j&url=www.diva-portal.org/smash/get/diva2:1014983/FULLTEXT02&ved=2ahUKEwi0vPzvyYjsAhXJAnIKHXKLCVcQFjAOegQIARAB&usg=AOvVaw3Dz7Dk8x6LzIOFbzvp8zhW&cshid=1601183897129

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

      @@delvinlotusiana2704 btw should I use nuxt for SEO or Vue would you enlighten

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

    Livewire +

  • @krozaine
    @krozaine 4 роки тому +3

    Blade was just enough functionality at the backend. Livewire doesn't have any future, especially with introduction of much simpler and efficient jQuery alternative (Vuejs) for years to come.

    • @JohnSmith-zl8rz
      @JohnSmith-zl8rz 4 роки тому

      Actually I prefer avoid Livewire and go pure with Blade.

  • @vovkko
    @vovkko 4 роки тому +9

    Livewire sucks.
    a developer who locks on one stack will never be better than a developer who learns new things. vue expands consciousness, while livewire looks like a crutch for those who have not mastered vue

    • @andy.robinson
      @andy.robinson 4 роки тому +4

      You make the assumption that Vue is the best alternative. And then presumably whatever JS framework supersedes Vue in the next few weeks/months will become the new best alternative and so on and so on. Personally I'm still on the fence with Livewire, but I welcome the option to remain within one stack. It's a "jack of all trades" vs "master of one" situation. But a "better developer" to me is one who gets the job done quicker, cleaner and simpler - not just one who knows more ways to skin a cat.

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

      @@andy.robinson you are right

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

      You couldnt be more wrong adminko.
      Why are you even here in a Laravel channel? Its like someone from the Laravel side comes to a Vue channel and talks shit about why are you using this small library for backend , it is a crutch.
      Laravel is a whole ecosystem, is a fullstack framework, no other framework achieved what Laravel did, JS is just a helper for Laravel, its a la carte menu to enhance some parts of it, do you think the world revolves around SPAs? Are CMS's, CRMs, ecommerce, and web applications in general all built with Vue or any other JS framework?
      Each tech stack have its own uses, only hipsters put JS frameworks on everything, even in their salads and their laundry detergent. What happened to the Deno hype? where did the hipsters go?

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

      you are very right