Great talk! Livewire is THE thing that blow my mind this year
@ricko133 жыл бұрын
This is 2021 and I actually was afraid of look into that new "Livewire" thing because I thought it was just ANOTHER Javascript framework, but OMG I was wrong. Thank you Caleb for that, you just save my life ♥
@salemexpress30145 жыл бұрын
He eliminated 50% of front-end developers jobs.
@mist46204 жыл бұрын
Yeah now we can be 50% more sure the site'll work :P
@AxelParis4 жыл бұрын
One of the best talk I ever seen. Such an amazing work!
@guillermocava35685 жыл бұрын
I remember one of the first web apps I made used heavily the jquery load function to load whole sections of content without refreshing, this is like seeing that but on steroids. Such a dope approach and with the blade syntax to rely upon makes is even better. Under 10kbs to make it all happen, incredibly impressive.
@felipeballoni764 жыл бұрын
I loved it... and I'm already studying. Tanks Caleb to share this with us.
@vasiovasio4 жыл бұрын
This is Insane man! Thank you!
@sixkiller92404 жыл бұрын
Caleb is such a beast!
@onessimuslyngdoh2894 жыл бұрын
What font was he using on the editor?
@wichaiwimonkhachonyot72124 жыл бұрын
operator mono i guess
@mangoknights4 жыл бұрын
The use case, to start, is to quickly throw together secondary views so they appear dynamic. eg. Account, Profile, Billing, etc. and spare the Vue stuff for complex needs.
@lenux58285 жыл бұрын
i really like this guy
@RafaelMilewski5 жыл бұрын
That`s a really nice idea!....
@ProgrammingwithPeter5 жыл бұрын
I did like live wire but still thinking where i could put this on my projects.
@kiiyaerick5 жыл бұрын
More me replacing things like Datatables with this would be amazing. I hate the JS datatables.
@ProgrammingwithPeter5 жыл бұрын
@@kiiyaerick Well yea, i wonder if it would behave on init like a normal blade file so the parser will index a listing and after that go to js mode or something like that. How Nuxtjs does it with vue components. This would be a big plus for simple application to use livewire. (still have a modern feeling of having real time data changing with php but SEO friendly)
@gustavovasquezveliz70464 жыл бұрын
You can use livewire when you need some ajax interaction, but you don't want to bring vue/react to your stack
@gustavovasquezveliz70464 жыл бұрын
He explains at 5:23 when you can use livewire
@anticom13375 жыл бұрын
3:54 liar! Your MacBook Time says it's 10:32pm
@afrazahmad54465 жыл бұрын
I like this idea very much. But I'm thinking that while using livewire I cannot share/re-use the same code for web and mobile app (because of separate class and blade file) which I can do using Vue.js for web-app. Most of the time we also write API endpoints for mobile apps and same code is shared to them which is being used for web-app in Vue.js. If I am taking it wrong please correct me. If we are only going to create a website then I will definitely like to try it.
@Jossnaz5 жыл бұрын
what code can you share to webapp when using vue?
@NguyenVunguyenvu5 жыл бұрын
haha, nice idea, so fun :D
@slowgaffle5 жыл бұрын
this is illegal. Im calling the authorities
@rickybarabba78664 жыл бұрын
Why did people laugh when the "embrace the backend" slide was shown? I am naive ;-)
@nasrhussain90614 жыл бұрын
The fruit looks like a human butt.
@machinelearningid39313 жыл бұрын
wow, i just know this
@MrSMGun4 жыл бұрын
So basically webforms.
@amanvirk5 жыл бұрын
Classic case of over engineering.
@caspersrensen86935 жыл бұрын
In fact this is quite the opposite if you think about it :)
@amanvirk5 жыл бұрын
@@caspersrensen8693 Yeah depends! Managing WebSocket connections to perform view updates is good for todo apps, but I prefer writing Javascript (using the entire ecosystem built around JS) vs adding new machines to manage persistent socket connections.
@ProgrammingwithPeter5 жыл бұрын
@@amanvirk it's not using websockets, they are sending requests for every update
@officialAXVin5 жыл бұрын
@@ProgrammingwithPeter isn't that same? i like to keep the traffic on the backend low coz a simple apps don't need a backend server usually for most tasks
@ProgrammingwithPeter5 жыл бұрын
@@officialAXVin it's not the same, but you know, if github does it, it's not that bad
@JoshuaKisb4 жыл бұрын
He's a good presenter but livewire is sad. So sad
@desther4 жыл бұрын
Sad? I am using it extensively on most of my new projects and it's plain awesome. Instant onboarding if you know Laravel and extremely powerful tool with very little limitations.
@JethroYSCao4 жыл бұрын
Care to elaborate on why you say it's sad? I'm new to Laravel and PHP in general, so genuinely curious.
@JoshuaKisb4 жыл бұрын
@@JethroYSCao its essentially developers giving up and settling for inefficiency. ever heard of gwt... was this build web apps in java thing. reminds me of it livewire is essentially developers saying, javascript is... something to learn. but we are tired of learning. so lets stick to what we know. instead of sending json like we do today in ajax requests they deal with html because thats easier to implement even though its inefficient. it is a functional product but in any serious projects, once it gets big enough sooner or later you will need to do javascript somewhere, so... they are essentially lying to themselves to put it off and hide away. In serious web development, Javascript is inevitable finally the laravel js intergration could have easily been accomplished with a little more effort. for example livewire sends all its requests to a single url end point and so you dont have to write routes. also you don't have to register components yourself and you can create components in terminal. and for some reason this is amazing to people. with a little effort you could get the same done with a js framework and developers lives would have been easier with the benefits of js. .... anyways enough rambling. livewire is an okay product. usable even. easy for newbies to misuse it as a javascript replacement instead of a tool to make ajax requests easier and end up making their apps extremely slow. but should be fine. hoping similar effort is made for laravel intergration with Vue
@Vitorruy13 жыл бұрын
@@JoshuaKisb That's a missunderstanding, the point of the library is not to replace all JS with Blade, you still have to use JS in high interaction cases and the author talks about that in the presentation itself. The library is for low interaction components only.
@andyhinkle3 жыл бұрын
@@JoshuaKisb You're wrong. Livewire has been nothing but exceptional. Your code remains in a single stack; no longer do you have to manage both, JavaScript and PHP. Livewire is used at a component level and can be nested. Livewire test suite follows those of PHPUnit. Each of your statements are repeating yourself and you are essentially saying javascript is good, Livewire is bad with no actual examples of pros/cons.