Should I, as a Laravel Developer, learn Vue or Livewire? | Ask Matt

  Рет қаралды 55,634

Matt Stauffer

Matt Stauffer

Күн бұрын

In this video, I respond to a tweet asking whether a new Laravel developer should learn Vue or Livewire.
---
🛣 Who is Matt Stauffer?
Hey, I'm Matt Stauffer, partner & technical director at Tighten (tighten.co/).
Find out more about me, my projects, my book (Laravel: Up and Running), read my articles, and more at mattstauffer.com/ While you're there, you can also subscribe to my newsletter to get regular unfiltered updates direct from my brain.

Пікірлер: 111
@theophilusaika1215
@theophilusaika1215 3 жыл бұрын
Thanks Matt. I think the learning curve for Vue on Laravel may be wider than Livewire on Laravel. Hoping you'll get us started on it soon. Don't mind if its premium. Thanks again
@403gtfo
@403gtfo 3 жыл бұрын
Thanks Matt, I've started using livewire because I love reducing the complexity of bolting on a whole front end framework for the limited reactive stuff I am doing. Vue is still heaps of fun, but rarely needed for me. (Solo full time employed dev with multiple projects)
@MattStauffer
@MattStauffer 3 жыл бұрын
No problem! Yah, I think everyone has their own unique scenario! Some folks can't imagine ever using Livewire, some folks have replaced their JavaScript entirely with it, and at Tighten we use em both. To each their own! So glad you're finding a setup you like.
@vancouverUs
@vancouverUs Жыл бұрын
à1 see see À away and 1aà
@JH-xd1zo
@JH-xd1zo 3 жыл бұрын
I tried livewire and I really like it. But I also like the concept of JAM Stack, and the problem of livewire is that it cannot fit to using API instead. I was hoping Alpine JS can help livewire do that atleast since they have the same creator. but right now, i only use livewire for Admin systems where the front end and back end can be joined together and does not need an API.
@toddpacker4008
@toddpacker4008 3 жыл бұрын
I was very intrigued by this title, and it is something that I've been thinking about. I need vue in my (laravel) projects anyway so I feel that livewire is unnecessary even if it's smoother than having to create vue components for everything. an important note is that this video was posted in March, and a lot of things has happened in livewire since then
@cairomitchell3552
@cairomitchell3552 2 жыл бұрын
i know im asking randomly but does someone know a trick to get back into an instagram account?? I somehow forgot my login password. I would love any tips you can offer me!
@mpal794
@mpal794 2 жыл бұрын
Livewire style is the future. You just minimize the costs of development plus reducing time of development to minimum! Also the code, is really clean instead of separating everything to backend end frontend
@AbuBakr1
@AbuBakr1 Жыл бұрын
Livewire response is slow. Try making a simple counter and compare it with vue
@mpal794
@mpal794 Жыл бұрын
@@AbuBakr1 Yes, I know what you mean. But the development time with Vue is a nightmare. Livewire with some cache tweaks and code from a master can perform really well. Also, for features like search and advanced stuff usually meilisearch algolia or any kind of SAAS is a lifesaver. For small projects with low budget is a good idea.
@jonnyso1
@jonnyso1 4 жыл бұрын
The whole javascript echosystem is such a pain to deal with that I'm parcial to using Livewire. When I'm using all the frontend frameworks I often find myself having to deal with node, and dependencies, and its a pain to mantain the projects, it adds so much more complexity. I'm probably just inexperienced with it but beeing able to keep it simpler sounds great.
@MattStauffer
@MattStauffer 3 жыл бұрын
Yup!!
@johnwesley2090
@johnwesley2090 3 жыл бұрын
A video comparison on Livewire and Inertia JS would be interesting.
@MattStauffer
@MattStauffer 3 жыл бұрын
I think that's a great idea!
@kunalrajput2234
@kunalrajput2234 4 жыл бұрын
If I learn live wire I'll be limited to laravel, but if I'm learning vue this is not the case, i can use other php framework, or nodejs or Django, also learning vue will help you to explore Javascript in details, i can switch to react
@MattStauffer
@MattStauffer 3 жыл бұрын
Yup!
@hafiznugraha3063
@hafiznugraha3063 3 жыл бұрын
yes you're right
@TheKer7
@TheKer7 3 жыл бұрын
Learning curve and orientation differ for sure! Seeing this as a limitation may fairwell be a valid argument. Then again lw might just be the needed juice too.
@atiquechowdhury8910
@atiquechowdhury8910 3 жыл бұрын
Thanks a lot for the advice man. Helped me a lot.
@MattStauffer
@MattStauffer 3 жыл бұрын
So glad to hear it!
@sethneeabiaanannaryeertey8392
@sethneeabiaanannaryeertey8392 Жыл бұрын
i think it will be more explanatory including few codes in your comparison
@angelamolina5599
@angelamolina5599 3 жыл бұрын
I'm a Laravel Developer, i was working with Vue.js when I was transferred to livewire, i haven't deepen my learning in Vue.js yet. so i was thinking which one is good. Thank you for this Video!
@haradakin2728
@haradakin2728 2 жыл бұрын
which one is good?
@drugoviic
@drugoviic 2 жыл бұрын
Learning livewire is soo easy and very helpful i learnt very easily in less than a week
@jeffreygarcia9076
@jeffreygarcia9076 4 жыл бұрын
Hi matt. really cool stuff I had even used this to my current project and works like a charm. considering that I have atleast basic vue ideas it was so easy to follow and implement without leaving the comfort of Laravel. I am thinking of Livewire demolition and domination so soon. And yeah this is built on top of Alpine JS. that’s make really special.
@MattStauffer
@MattStauffer 3 жыл бұрын
I love it, so glad it's been helpful for you!
@bigollie006
@bigollie006 3 жыл бұрын
I love Livewire, but I have seen many more jobs for Vue. I guess I'll be learning Vue. At the end of the day, its not about what you want, its about what's available. Thanks for the advice
@MattStauffer
@MattStauffer 3 жыл бұрын
Yah, totally, good metric!
@tanujkumar2488
@tanujkumar2488 3 жыл бұрын
Hi matt, if we are going to make huge project. So we are confused over front-end side like react, vue and livewire integrated with laravel ? Which is best ,speedy , and pwa easily suppprted ?
@Paltibenlaish
@Paltibenlaish 3 жыл бұрын
how will be the perfomance of livewire ? for many users using the application?
@AwakeningofAI
@AwakeningofAI 2 жыл бұрын
Very well explained. Respect.
@MattStauffer
@MattStauffer 2 жыл бұрын
:) Thanks, I'm so glad to hear it helped!
@efo7783
@efo7783 3 жыл бұрын
Thanks man. T
@yacobee
@yacobee 4 жыл бұрын
as a freelancer, I chosed Livewire over React in Laravel
@MattStauffer
@MattStauffer 4 жыл бұрын
Totally makes sense!
@neo6259
@neo6259 4 жыл бұрын
How do you feel working with it as a freelancer? I'm freelancer too.
@johnwesley2090
@johnwesley2090 3 жыл бұрын
only people with thickest skin and hardest heart should try for freelancing. Just Hell, when project arent coming
@yacobee
@yacobee 3 жыл бұрын
@@neo6259 I am regretful for years I worked for others.
@chang112x
@chang112x 4 жыл бұрын
Easy. I learnt both.
@MattStauffer
@MattStauffer 3 жыл бұрын
👌🏻
@vincej151
@vincej151 4 жыл бұрын
Just found your channel. Brilliant! I have subscribed. ( I also bought your first book!) I am a solo developer working on a large-ish project of my own. I will never be looking for an outside job. I have *moutains* of raw JS and JQuery already written. Some reputable people on the Laracasts forum have recommended that as I am so deep into JS I should just stick with it. It worries me though. I have no intention of rewriting what I have got. There is too much. Going forward though, would you suggest I stick with JS or perhaps starting using Livewire or even Vue. I am worried that I will end up with literally thousands of lines of JS. Thanks!
@MattStauffer
@MattStauffer 4 жыл бұрын
Hey Vince! I'm so glad you like the channel and the book! I would say that you should start using some organizational systems around your JavaScript. If you're used to writing a lot of vanilla JavaScript, you might actually prefer React, as it's much more JavaScript-y than Vue is. Regardless of whether you choose React or Vue, I'd recommend that you learn a framework and write all *new* code in that framework. Then, as you have time, you can optionally slowly re-write the old code in that framework. I love Livewire, but I think in your context you'll likely have a better time sticking with JavaScript and adding a framework to help organize it.
@sajalhsn13
@sajalhsn13 3 жыл бұрын
There is no comparison between Vue and Livewire. There is no better or bad choice between them. Both are different. To use livewire a laravel project is a must but Vue doesn’t care about laravel. Vue can live without laravel. Any api based backend works for Vue.
@berbagimadani
@berbagimadani 3 жыл бұрын
Great livewire but why laravel livewire use ajax instead of websocket like reflex stimulus ? what about performance, is there a measure. Thank you
@MattStauffer
@MattStauffer 3 жыл бұрын
Caleb started with Websockets but switched to AJAX, not sure why though!
@ahmeddeghady4510
@ahmeddeghady4510 Жыл бұрын
I'm new to the Laravel world. Since this video is 3 years old, did Livewire pick up more pace as you mentioned in the video than the time of recording? Is it still the case the vue is more dominant in job hiring ? I'm practicing side projects using Livewire currently and I think it's cool, but I'm mainly out there for the job.
@abilioneto6366
@abilioneto6366 Жыл бұрын
I`m Laravel developer for about 4 years and i learned a little bit of vue and react but i really dont like front end too much, especially doing with routing and hooks components hierarchy props. Soo for my perspective Livewire was very useful and i`m using it for about 1 year, all my projects are about and api with some front end admin dashboard and functions and livewire serve me soo well to do that, easy to learn. But if you have no job yet and like front end go to vue.
@hamburger--fries
@hamburger--fries 11 ай бұрын
Maybe you should update this video. Livewire 3 was a total rewrite and is a game changer. Went from T3 Stack to using Laravel with Livewire 3 + Filament. Lastly I would tell people to focus on the tool rather than learning a language.
@alexmaven
@alexmaven 8 ай бұрын
Seriously? Can you tell me more. I’m just starting out and pumped for Livewire 3. What was your experience like before and after. Switching from the T3 stack?
@Killer24nl
@Killer24nl 3 жыл бұрын
Nice video, really well explained. I was wondering whats that thing on your finger?
@MattStauffer
@MattStauffer 3 жыл бұрын
Thanks! I jammed my finger so badly I couldn't use it for a few weeks; this is a finger brace that kept it safe.
@remarkpainting
@remarkpainting 2 жыл бұрын
Curiosity question for Matt...are there plans to do a 3rd edition of your book? I know much of Laravel has remained the same, but there are plenty of changes too...especially with different starting points and of course, Livewire. I don't know how many would join me, but I'd certainly buy a copy.
@MattStauffer
@MattStauffer 2 жыл бұрын
Hey Mark, I am slowly working on updating it. It’s just taking a lot longer than I thought. Because it’s not a full update it may just be an update to the second edition instead of a third edition.
@remarkpainting
@remarkpainting 2 жыл бұрын
@@MattStauffer Humble suggestion: Make a paid video course that covers the additional/new material and if it didn't create copywrite issues, you could then do the same for the rest of the core material. I found your book to be a great introduction to Laravel...easy to read/understand and with some depth too.
@andywong2244
@andywong2244 Жыл бұрын
@@MattStauffer hey man, what book you guys talking about? you mind sharing a link to it so i can take a look and maybe buy it. thanks
@celotrovi
@celotrovi 3 жыл бұрын
What if you keep using Laravel and add Turbolinks to your project? What is the main difference with livewire?
@haroonniaz8836
@haroonniaz8836 3 жыл бұрын
You do not need to use jquery any more if you are using livewire.
@atefrihane
@atefrihane 4 жыл бұрын
I don't think it's such easy to completely move out from vue to livewire... Vue has a big community and especially those pre made components on vue that you have to make on your own when using livewire...
@MattStauffer
@MattStauffer 4 жыл бұрын
I think *learning Livewire if you don't know Vue* and *moving from Vue to Livewire* is an entirely different proposal, and I agree that the amount of existing tooling in Vue is going to be valuable to anyone--even Livewire users!--when you need those particular tools.
@ShahMdShamsulAlam
@ShahMdShamsulAlam 4 жыл бұрын
If I already have api developed and I just want to fetch the data from api, in that case is @Livewire even applicable?
@MattStauffer
@MattStauffer 3 жыл бұрын
Not really--Livewire gets its data directly from the Laravel controllers. You could move *to* Livewire easily, but if you want to consume an API from a frontend, JavaScript is already prepped for that.
@ShahMdShamsulAlam
@ShahMdShamsulAlam 3 жыл бұрын
@@MattStauffer thanks
@davoodjafari1312
@davoodjafari1312 3 жыл бұрын
it's better to learn javascript clients frameworks ( vue, react, angular and ... ) or even flutter for making client apps based of your favorite api backend
@fahrurrazi7962
@fahrurrazi7962 3 жыл бұрын
In rails it's called turbolinks fyi
@MattStauffer
@MattStauffer 3 жыл бұрын
:) Thanks!
@SergioArroyoSailing
@SergioArroyoSailing 3 жыл бұрын
How about Vue vs. REACT? Is REACT harder to integrate into Laravel?
@MattStauffer
@MattStauffer 3 жыл бұрын
It's a *bit* harder to integrate, only because Laravel's core has built-in Vue integrations and not React. But once you do the work it'll be just fine.
@mohammadmohammadi2724
@mohammadmohammadi2724 3 жыл бұрын
hello Matt I'm learning Laravel and React because I want t o be a full stack developer What do you think about that can I combine Laravel and react JS like Vue?
@joeys7519
@joeys7519 3 жыл бұрын
Dont do that
@davidbasil2727
@davidbasil2727 4 жыл бұрын
Turbolinks!
@MattStauffer
@MattStauffer 4 жыл бұрын
Thank you!!
@pyongits
@pyongits 3 жыл бұрын
Inertia + Vue
@sylvain351
@sylvain351 2 жыл бұрын
Vue project have so much dependancie. In few month, if we use some package can be deprecated. And on npm update can break ami project
@jcc300689
@jcc300689 11 ай бұрын
Should i learn here, should i learn there. What about should i work here or should i work there?
@guilleagudelo
@guilleagudelo 4 жыл бұрын
I'd say Vue all the way. Livewire is too new. Vue can open all kinds of posibilities for you.
@MattStauffer
@MattStauffer 4 жыл бұрын
👌🏻 Love Vue.
@therocketmanprince682
@therocketmanprince682 3 жыл бұрын
I saw your talk in prismic 😅.
@MattStauffer
@MattStauffer 3 жыл бұрын
OH really?? Can you link me?
@therocketmanprince682
@therocketmanprince682 3 жыл бұрын
@@MattStauffer ohh shit i think it was not you.... but I will watch your videos and will try Livewire link : kzfaq.info/get/bejne/pbF_n89kzpy7qJ8.html
@nabeelyousafpasha
@nabeelyousafpasha Жыл бұрын
Respect from Pakistan
@JohnnyBigodes
@JohnnyBigodes 4 жыл бұрын
Like I said on twitter. The problem with Livewire is documentation. I really apreciate Caleb`s work and think he is one the best devs out there, but the documentation is unfortunately not on point. This is one of the things that will scare new devs to livewire. If the dev comes from Vue that shouldnt be a problem, because there will be the understanding from a JS framework, but for someone that is new to a JS framework this will make their live difficult.
@MattStauffer
@MattStauffer 4 жыл бұрын
Huh, could you give a few examples? I'd love to pass them off to Caleb and see if we can help him get the documentation good. I'll admit I learned it partly from documentation, partly from watching videos of him working in it, and partly from people chatting on my streams, so I don't have a great idea of what it's like to learn it from the docs only.
@JohnnyBigodes
@JohnnyBigodes 4 жыл бұрын
@@MattStauffer I saw your live streams and it was pretty obvious you came from a JS Framework. Everything looked flawless, you knew exactly what you were doing all the time and knew exactly what questions to make. I have done already an internal project with Livewire and I had some problems with simple forms in a modal. I couldnt find the right answers and so I was lurking the Livewire Forum for answers. I got my answers from a guy there but the code I got from there wasnt obvious in the documentation. For someone that is new to a JS Framework, Livewire could be pretty difficult.
@ronsmith4325
@ronsmith4325 3 жыл бұрын
I noticed this as well, however, that's not the only concern in my mind. What happens if someone decides to use Livewire for a very large project, then say 3-5 years down the road Livewire is no more? Not saying this would happen, but I've been around long enough to see this happen before in the open source world. To me, at this point, it would make much more sense to use an established and mature framework like Vue or React.
@philipjfry4465
@philipjfry4465 3 жыл бұрын
In livewire every thing is server request and it's a must. In vue it's your choice.
@tanzimibthesam5861
@tanzimibthesam5861 4 жыл бұрын
Atleast no more jQuery.If not Vue than it should be Es6 with Axios
@MattStauffer
@MattStauffer 3 жыл бұрын
Absolutely!
@davidbasil2727
@davidbasil2727 4 жыл бұрын
Blade + jquery is more than enough for me
@MattStauffer
@MattStauffer 4 жыл бұрын
No need to change if that's working!!
@MohammedIqlasUddin
@MohammedIqlasUddin 4 жыл бұрын
@个人开发小程序、app、公众号、业务系统 MOPS should be new way to program LOL
@jassehomar
@jassehomar 4 жыл бұрын
Are you serious? :D
@ronsmith4325
@ronsmith4325 3 жыл бұрын
Hello,. it's 2009 calling. 😂 Just joking lol.
@ricko13
@ricko13 2 жыл бұрын
gud
@GameCrawl
@GameCrawl 4 жыл бұрын
what is that on your finger? looks like oximeter
@MahmoudMohsab
@MahmoudMohsab 4 жыл бұрын
maybe he is sick
@MattStauffer
@MattStauffer 3 жыл бұрын
It's a brace; I jammed my finger so badly I wasn't allowed to use that finger at all so it could heal!
@Victor-xu5tm
@Victor-xu5tm 3 жыл бұрын
Neither. Web Components.
@MattStauffer
@MattStauffer 3 жыл бұрын
"This is finally the year of ~Linux on the Desktop~ Web Components!"
@juancarloshuamangrados7761
@juancarloshuamangrados7761 3 жыл бұрын
Spanish?
@MattStauffer
@MattStauffer 3 жыл бұрын
Do you mean Spanish subtitles? I'd be happy to pay for those if they would be helpful! ¿Te refieres a subtítulos en español? ¡Estaría feliz de pagar por esos si fueran útiles!
@Chavez3d
@Chavez3d 3 жыл бұрын
lol did you break your finger flipping off Trump supporters :P ... great video!
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 34 М.
Caleb Porzio - Introducing: Livewire
30:21
StreamACon Streaming Conferences
Рет қаралды 24 М.
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 80 МЛН
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 7 МЛН
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 16 МЛН
HTMX: 3 IRL Use Cases
18:33
ThePrimeTime
Рет қаралды 108 М.
I'm Done With React
5:41
adamdotdev
Рет қаралды 29 М.
What is a Pull Request, and How Do I Write Great Pull Requests?
18:13
Livewire VS Vue.js: Practical Example of Dependent Dropdowns
13:40
Laravel Daily
Рет қаралды 42 М.
Software as a Service Starter Kit - Wave - Tallstack theme
15:25
Livewire considerations
2:57
PHP Annotated
Рет қаралды 4 М.
Laravel Livewire vs Vue vs jQuery: Simple Example
11:23
Laravel Daily
Рет қаралды 43 М.
Спутниковый телефон #обзор #товары
0:35
Product show
Рет қаралды 2,1 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 8 МЛН
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00