Laravel Livewire vs Vue vs jQuery: Simple Example

  Рет қаралды 43,157

Laravel Daily

Laravel Daily

Күн бұрын

Пікірлер: 225
@matheusnascimento4793
@matheusnascimento4793 4 жыл бұрын
to clear the variables, there is a method reset. it works like this: $this->reset(['name', 'email', 'question', 'message']);
@ShabeebRizvi
@ShabeebRizvi 4 жыл бұрын
You can simply further with just $this->reset();
@PovilasKorop
@PovilasKorop 4 жыл бұрын
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 жыл бұрын
Great explanation, thank you! I think Livewire is perfect for simple data entry projects, like a simple one-step form submission.
@nabeelyousafpasha
@nabeelyousafpasha 4 жыл бұрын
So we accepted this stack finally. Btw Livewire is awesome 👏🏻
@muhammadshahid1548
@muhammadshahid1548 3 жыл бұрын
I want full series. Please create awesome tutorials like this one.
@VictorGonzalez85
@VictorGonzalez85 4 жыл бұрын
This is great news, exactly what I was wishing for a long time, thanks livewire
@beshoymounir6254
@beshoymounir6254 4 жыл бұрын
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 жыл бұрын
You can modify how often livewire makes an ajax request to a certain degree
@gilberthg3868
@gilberthg3868 4 жыл бұрын
Better use js library bruh
@YourAwesomePlace
@YourAwesomePlace 4 жыл бұрын
wire:model.defer="name" - it could help you. Just one request on submit
@AhtshamShabir
@AhtshamShabir 4 жыл бұрын
Developers who care about performance don't use laravel in the first place 😁
@AhtshamShabir
@AhtshamShabir 4 жыл бұрын
@@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?
@NebsterSK
@NebsterSK 4 жыл бұрын
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.
@leonvanrijswijk8409
@leonvanrijswijk8409 4 жыл бұрын
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
@madcoda
@madcoda 4 жыл бұрын
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 жыл бұрын
I thought I was the only one seeing the similarities.
@johnwesley2090
@johnwesley2090 3 жыл бұрын
Just abandoned .net altogether during the evolution.
@iWaxxy
@iWaxxy 4 жыл бұрын
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
@pietrosavastano9940
@pietrosavastano9940 3 жыл бұрын
Thanks povilas you have a great following here in italy!!
@LaravelDaily
@LaravelDaily 3 жыл бұрын
I've had a few clients from Italy, wonderful people :)
@EnamulHasanthatsenam
@EnamulHasanthatsenam 4 жыл бұрын
We want more livewire tutorial.
@JoshDanns
@JoshDanns 3 жыл бұрын
Your videos are super amazing. You explain stuff pretty well! Thanks a lot for the videos
@LaravelDaily
@LaravelDaily 3 жыл бұрын
Glad you think so!
@adnanshoukat2300
@adnanshoukat2300 4 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
@@AhtshamShabir wt about SEO is Livewire SEO friendly?
@VimKanzo
@VimKanzo 4 жыл бұрын
This is amazing. I see great hope for livewire
@davidson7838
@davidson7838 4 жыл бұрын
I will definitely go with livewire
@vincej151
@vincej151 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 жыл бұрын
@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 жыл бұрын
​@@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 жыл бұрын
@@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.
@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
@toomass2668
@toomass2668 4 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
You could use wire:model.defer to keep it at a minimum
@373323
@373323 Жыл бұрын
Yay, the very best. more LiveWire please :-)
@AhtshamShabir
@AhtshamShabir 4 жыл бұрын
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.
@vitormicillo1
@vitormicillo1 2 жыл бұрын
I really really like this video, awesome Povilas
@ajithlal1688
@ajithlal1688 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 3 жыл бұрын
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.
@markbarton6845
@markbarton6845 4 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
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.
@Mauriceereee
@Mauriceereee 4 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@Tux0xFF Nice man! I'd be very interested in seeing the results
@BernardBAILLY
@BernardBAILLY 4 жыл бұрын
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 жыл бұрын
you can use wire:ignore, that way when livewire parses the page, it wont change the child html/jscript in the div
@dogwalkinginc6371
@dogwalkinginc6371 3 жыл бұрын
was that point really worth three exclamation marks?
@BernardBAILLY
@BernardBAILLY 3 жыл бұрын
@@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 3 жыл бұрын
@@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
@boysue9103
@boysue9103 3 жыл бұрын
Very clear. Very good example. Thank your very much. Use Livewire more easy.
@windxtech4369
@windxtech4369 9 ай бұрын
Very good! Thank you
@LoganathanNatarajanlogudotcom
@LoganathanNatarajanlogudotcom 2 жыл бұрын
thanks for the wonderful explanations, keep doing...
@philippej
@philippej 3 жыл бұрын
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 :-)
@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.
@thatsenam9183
@thatsenam9183 4 жыл бұрын
Liveware is love
@AksoomHussain7866
@AksoomHussain7866 3 жыл бұрын
what will impact the performance of the application as PWA livewire vs Vue vs jquery?
@thiagomiranda7987
@thiagomiranda7987 4 жыл бұрын
Thanks for this great information. Amazing way to explained it.
@yuliarahma1300
@yuliarahma1300 4 жыл бұрын
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.
@fadllabanie8987
@fadllabanie8987 4 жыл бұрын
greet video we need more about livewire plz
4 жыл бұрын
Cool, I need to try it later. Thanks.
4 жыл бұрын
i think livewire is very backend developer oriented but not end user oriented, since the performance is gonna be deeply affected
@natnaelmulugeta101
@natnaelmulugeta101 4 жыл бұрын
Livewire is awsome.
@nkrumah2000
@nkrumah2000 4 жыл бұрын
I have been using Livewire for a long time, and if you use ir with alpinejs you can do everything
@borisoffdenis
@borisoffdenis 4 жыл бұрын
I don't familiar with Laravel, but is there way to create a custom client-side validator with Livewire?
@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.
@sudhirdhawle5370
@sudhirdhawle5370 4 жыл бұрын
thank you
@artisticdeveloperad2127
@artisticdeveloperad2127 3 жыл бұрын
Awesome tutorial.. thanks a ton !
@haroldpepete
@haroldpepete 3 жыл бұрын
great explanation, thank sr
@DeepakSharma-hl2lz
@DeepakSharma-hl2lz 3 жыл бұрын
Very nice tutorial sir
@user-zg1pc6md6y
@user-zg1pc6md6y 3 жыл бұрын
Очень полезное видео. Нам действительно не нужны абстрактные примеры. Реальные примеры наглядно демонстрируют выгоду Livewire для Laravel программиста
@ivan_adamovich
@ivan_adamovich 3 жыл бұрын
thank you for your explanation!
@andresmisiak
@andresmisiak 3 жыл бұрын
Really Excelent, Thanks
@josephmakram4342
@josephmakram4342 4 жыл бұрын
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 жыл бұрын
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 жыл бұрын
in most cases in small business there no much customization
@tanzimibthesam5861
@tanzimibthesam5861 4 жыл бұрын
@@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
@devmanlive
@devmanlive 4 жыл бұрын
Awesome love livewire
@Talkinglife
@Talkinglife 4 жыл бұрын
Nice
@nicuticu
@nicuticu 3 жыл бұрын
Holy moly ... sign me up!
@surojmaharjan5467
@surojmaharjan5467 4 жыл бұрын
nice tutorial. thanx sir.
@OAzraai
@OAzraai 3 жыл бұрын
Excellent!
@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?
@kamalshkrie1807
@kamalshkrie1807 4 жыл бұрын
Very nice thanks
@hugo-abdou
@hugo-abdou 4 жыл бұрын
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
@iamdestonian2029
@iamdestonian2029 3 жыл бұрын
Thank you!
@pauloclara4764
@pauloclara4764 3 жыл бұрын
For database propose should i use inertia ou limewired
@hafiznugraha3063
@hafiznugraha3063 4 жыл бұрын
sorry livewire. i just marry laravel and vue js
@gessegoncalves6493
@gessegoncalves6493 4 жыл бұрын
kkkkk
@delvinlotusiana2704
@delvinlotusiana2704 4 жыл бұрын
See my comment
@Tux0xFF
@Tux0xFF 4 жыл бұрын
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
@chuksokwuenu3435
@chuksokwuenu3435 4 жыл бұрын
Can livewire be integeated with HOT RELOAD like React JS?
@code.with.martin
@code.with.martin 4 жыл бұрын
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.
@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
@anatoliy1435
@anatoliy1435 2 жыл бұрын
спасибо
@dmdk8301
@dmdk8301 3 жыл бұрын
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....
@mehranreyhani6037
@mehranreyhani6037 4 жыл бұрын
Omg this is rlly great 😍😍
@yazidthedev4281
@yazidthedev4281 4 жыл бұрын
I use livewire, but sometimes you to use alpine js with livewire.
@aoukrad
@aoukrad 4 жыл бұрын
Best channel
@isaacmontielsanchez1509
@isaacmontielsanchez1509 3 жыл бұрын
real crack!
@asifm3520
@asifm3520 4 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
@@tanzimibthesam5861 Great point. Livewire is more like a helper for Laravel developers, it's a Laravel package after all.
@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
@LucianoOliveira-zq8vk
@LucianoOliveira-zq8vk 4 жыл бұрын
Excelent
@TokyoXtreme
@TokyoXtreme 4 жыл бұрын
Nice.
@webkoth6105
@webkoth6105 3 жыл бұрын
Каким расширением пользуетесь для автозаполнения полей форм ? Спасибо
@ug1135
@ug1135 3 жыл бұрын
addons.mozilla.org/ru/firefox/addon/fake-filler
@ZZZMixzzyZZZ
@ZZZMixzzyZZZ 4 жыл бұрын
Maybe build chat or notifications popups in livewire + pusher + echo on SPA
@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.
@ehsanbagherzadegantalkhoun1479
@ehsanbagherzadegantalkhoun1479 3 жыл бұрын
Please create a video about Voyager
@akashthoriya
@akashthoriya 4 жыл бұрын
Please make tutorial for laravel resources API
@PovilasKorop
@PovilasKorop 4 жыл бұрын
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 жыл бұрын
@@PovilasKorop That's great but I'm talking about this - laravel.com/docs/8.x/eloquent-resources#resource-collections
@PovilasKorop
@PovilasKorop 4 жыл бұрын
@@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.
@tatendawilson3057
@tatendawilson3057 4 жыл бұрын
Please may u do livewire tutorials maybe on laravel diary
@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 жыл бұрын
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 3 жыл бұрын
React is best for job purpose
@EnamulHasanthatsenam
@EnamulHasanthatsenam 4 жыл бұрын
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
@impulserr
@impulserr 4 жыл бұрын
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.
@muhammadtariq7474
@muhammadtariq7474 4 жыл бұрын
Seems to be safe Laravel developer with Livewire as compare to VUE JS
@codingmonkey2003
@codingmonkey2003 4 жыл бұрын
with livewire, it's no more Model View Controller **its Model (View + Component)**
@be-kreidly1515
@be-kreidly1515 4 жыл бұрын
good information, but very rapid. especially that this is a new tech
@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
@the2worlds
@the2worlds 4 жыл бұрын
No thanks, I prefer to move as much as possible to the frontend and leverage the users cpu resources than my own.
@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
@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 жыл бұрын
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
@delvinlotusiana2704
@delvinlotusiana2704 4 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
@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 жыл бұрын
@@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
@JoshuaKisb
@JoshuaKisb 3 жыл бұрын
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 3 жыл бұрын
looks like a godsend, javascript is a nightmare.
@WillanCorreia
@WillanCorreia 4 жыл бұрын
Livewire +
@vovkko
@vovkko 4 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 3 жыл бұрын
you are very right
@krozaine
@krozaine 4 жыл бұрын
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 3 жыл бұрын
Actually I prefer avoid Livewire and go pure with Blade.
Livewire VS Vue.js: Practical Example of Dependent Dropdowns
13:40
Laravel Daily
Рет қаралды 43 М.
Junior Code Review: Laravel Routes, Middleware, Validation and more
19:57
Фейковый воришка 😂
00:51
КАРЕНА МАКАРЕНА
Рет қаралды 6 МЛН
Whoa
01:00
Justin Flom
Рет қаралды 58 МЛН
Livewire or Vue.js: Which to Use When?
12:13
Laravel Daily
Рет қаралды 15 М.
Eloquent Soft Deletes: Things You May Not Know
10:57
Laravel Daily
Рет қаралды 21 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,5 МЛН
Exceptions in Laravel: Why/How to Use and Create Your Own
12:18
Laravel Daily
Рет қаралды 87 М.
The Tools I Use to Build Products in Laravel
19:00
Josh Cirre
Рет қаралды 28 М.
Laravel Validation: 12 Less-Known Tips in 13 Minutes
13:11
Laravel Daily
Рет қаралды 38 М.
I tried 10 code editors
10:28
Fireship
Рет қаралды 3 МЛН
Eloquent Performance Challenge: My Solution Version
9:57
Laravel Daily
Рет қаралды 19 М.
If Your Code Looks Like This... You're A GOOD Programmer
16:39
Continuous Delivery
Рет қаралды 68 М.