What Do Forms Look Like in Different Laravel Stacks (Blade, Livewire, and React/Inertia)?

  Рет қаралды 10,098

Laravel

Laravel

Күн бұрын

Пікірлер: 66
@ajzack983
@ajzack983 6 ай бұрын
small correction 6:50 : the form uses the input "name attribute" not the "Id" as input name.
@hermanceaser
@hermanceaser 6 ай бұрын
Exactly what i wanted to comment about 😅
@LaravelPHP
@LaravelPHP 6 ай бұрын
Good catch! Looks like I misspoke there both are great to have semantically, but the form only uses the "name" attribute. :) Thanks so much! -Josh
@tanerozdas6903
@tanerozdas6903 6 ай бұрын
Laravel is always more powerful and successful with popular technologies. It keeps you up to date.
@Sillyvan
@Sillyvan 3 ай бұрын
Really nice comparison! Only thing i kind of missed here was the network tab in the browser explaining how the communication is different between these 3.
@ArturMamedov
@ArturMamedov 5 ай бұрын
Amazing format! Compare all the possible stack for see the difference in different approach, good idea! Thank you very much!
@LaravelPHP
@LaravelPHP 5 ай бұрын
Thanks Artur! I'm glad it resonated with you! :) -Josh
@sajsaj
@sajsaj 6 ай бұрын
I worked with both inertia and. Livewire. But I love livewire and alpine.
@LaravelPHP
@LaravelPHP 6 ай бұрын
They all have incredible benefits. I prefer Livewire myself. :) -Josh
@sigmund233
@sigmund233 Ай бұрын
Can you use both Livewire and Blade in the same codebase?
@darlingtonhp
@darlingtonhp Ай бұрын
Indeed
@yoanestradablanco1608
@yoanestradablanco1608 6 ай бұрын
This video is very educational because the truth is I have used vue and react a lot, but never livewire and I see that it looks a lot like vue with its directives, I'm going to try to learn that
@LaravelPHP
@LaravelPHP 6 ай бұрын
So glad that it was helpful! :) It IS a lot like Vue, especially with how you're thinking through things, but it does require a different mental model shift to thinking when you actually have to interact with the server. Livewire Volt is really similar to Vue in that you're only in one file/component. Might be a great place to start. ☺️ -Josh
@jonatasbaldan
@jonatasbaldan 6 ай бұрын
Great content! What font the host is using in the Vscode? This font family is pretty good looking.
@Fool-arxana
@Fool-arxana 6 ай бұрын
I wanna know as well.
@LaravelPHP
@LaravelPHP 6 ай бұрын
Howdy! Thanks so much. :) This font is the "Dank Mono" font. One of my favorites. -Josh
@pawenowicki6575
@pawenowicki6575 6 ай бұрын
Love the video! Maybe You could do a video about some advanced form fields like dependent dropdown, option disabling, multiselect, grouped multiselect, something with one to many relation where user could add multiple items to the parent model at once or maybe something related to dates. That would be awesome! Great work!
@LaravelPHP
@LaravelPHP 6 ай бұрын
Great suggestion. I'll add it to the list for a "advanced form usage" type of video! :) -Josh
@mityukov
@mityukov 6 ай бұрын
It's not "pulling from input's id attribute". The variable names are defined by inputs' name attributes
@LaravelPHP
@LaravelPHP 6 ай бұрын
You are correct. I misspoke there. I pinned a comment and I'll add this to the description too just to clarify. :) -Josh
@Ivcota
@Ivcota 6 ай бұрын
At my job I'm leading front-end work with NextJS and our stack includes flask in the backend. We've got some neat configuration with open-api specs and code gen BUT oh my is Laravel + Intertia make so much sense for monoliths.
@LaravelPHP
@LaravelPHP 6 ай бұрын
It really is awesome! And it continues to improve. :) -Josh
@jokergamingtv5002
@jokergamingtv5002 6 ай бұрын
Why is Splade not available?
@Samuel.Mwangi
@Samuel.Mwangi 6 ай бұрын
Splade is fantastic. It is however a community package which probably explains why it's not featured here. Livewire and Inertia are almost first party at this point.
@LaravelPHP
@LaravelPHP 6 ай бұрын
Splade is great, but like Samuel said, I wanted to stick to the options that come with the Breeze starter kits. :) -Josh
@Tuktuk_Academy
@Tuktuk_Academy 6 ай бұрын
Thank You for adding github repo
@LaravelPHP
@LaravelPHP 6 ай бұрын
Glad that helps! :) -Josh
@kouceylahadji
@kouceylahadji 6 ай бұрын
Thank you for the great video, personally this is another reason why I prefer Livewire over Inertia 😅
@LaravelPHP
@LaravelPHP 6 ай бұрын
I personally love that I never write controllers anymore with Livewire, but the flexibility and options Laravel gives is AWESOME. :) -Josh
@JeremyMoore1
@JeremyMoore1 6 ай бұрын
Great video and nice timing as well. I'm looking into Laravel. I'm a long-time Symfony user-I love SF's forms. Would love to see something similar between Vue and React.
@LaravelPHP
@LaravelPHP 6 ай бұрын
I haven't gotten the chance to use Symfony forms, so I'll have to take a look to compare! :) -Josh
@Devdojo
@Devdojo 5 ай бұрын
top notch as always 👌 Really loving Livewire 😍 I've used React and Vue in the past and I just feel that Livewire allows me to be more productive and fast 💨
@LaravelPHP
@LaravelPHP 5 ай бұрын
Don't tell anyone. But same here. 😅 -Josh
@mariomthree
@mariomthree 6 ай бұрын
I've had trouble using Livewire with depended select element. It loses style even after following the documentation. Additionally, Livewire integration with Select2 seems problematic.
@OverBlockPlay
@OverBlockPlay 6 ай бұрын
I dont have this problem
@mariomthree
@mariomthree 6 ай бұрын
@@OverBlockPlay Can you help me to solve it? I will share the details problem.
@Samuel.Mwangi
@Samuel.Mwangi 6 ай бұрын
Inertia with Vue or Livewire with alpine depending on the project requirements
@LaravelPHP
@LaravelPHP 6 ай бұрын
Completely agree! :) -Josh
@theshinyplayer2373
@theshinyplayer2373 6 ай бұрын
Why does Blade use JS for form submissions? Why not just use...plain forms?
@LaravelPHP
@LaravelPHP 6 ай бұрын
There is no JS used for form submission on the Blade implementation. While there is Alpine for the data state of the slider (Alpine does come with the Breeze Blade kit), all of the submission is just through standard Blade forms. -Josh
@theshinyplayer2373
@theshinyplayer2373 6 ай бұрын
@@LaravelPHP ​ Ok. I started to wonder as you consistently and repeatedly stated that it used the id attribute when submitting forms(6:50, 7:05, 8:05 ...). I see that you answered another comment that you misspoke and that it does just use plain forms. I like the comparison, but I wish you didn't split it into three columns. I understand that you wanted to show a comparison, but when the columns are that narrow it just makes it harder to compare and get an overview of what it actually looks like.
@hasithudayanga6160
@hasithudayanga6160 6 ай бұрын
Livewire is Awesome 🎉
@LaravelPHP
@LaravelPHP 6 ай бұрын
It really is! It's awesome that we have so many options in the Laravel world. -Josh
@hasithudayanga6160
@hasithudayanga6160 6 ай бұрын
@@LaravelPHP We still missing a Good UI Library for Livewire. WireUi and MaryUi is great. But we need more pre built components like ShadcnUi. Hope we can have a good one in future 🥹
@ВячеславПрокоса-д1ж
@ВячеславПрокоса-д1ж 5 ай бұрын
server-side rendering welcome to 2010
@Vichion
@Vichion 6 ай бұрын
This was hard to follow because the columns are too narrow. It would be better if you used a dual stack on the left and a full stack on the right. That way, you'd have 50% screen width, which is more important than height when showing code.
@LaravelPHP
@LaravelPHP 6 ай бұрын
Thanks for the feedback. You're right that would have been easier to follow. I'll try to keep that in mind for next time. :) -Josh
@sajadtorkamani9399
@sajadtorkamani9399 4 ай бұрын
I prefer the blade version ;)
@hafiznugraha3063
@hafiznugraha3063 6 ай бұрын
i wanna try livewire form right now
@LaravelPHP
@LaravelPHP 6 ай бұрын
Do it! :) -Josh
@salahdidi8287
@salahdidi8287 6 ай бұрын
Tbh I find livewire most satisfying to use from this 3 The thing is I'm heavy backend dev
@LaravelPHP
@LaravelPHP 6 ай бұрын
I love Livewire as well, but it's nice to have options too! 😁 -Josh
@MarceloPereira-wx7in
@MarceloPereira-wx7in 6 ай бұрын
Great video 🔥
@LaravelPHP
@LaravelPHP 6 ай бұрын
Thank you for watching Marcelo ☺️ -Josh
@davidadokuru8139
@davidadokuru8139 6 ай бұрын
love this video. Thanks
@LaravelPHP
@LaravelPHP 6 ай бұрын
Thanks for watching David! -Josh
@khant-nyar
@khant-nyar 6 ай бұрын
Blade is the best for me ,livewire is awesome but I haven't understand it
@LaravelPHP
@LaravelPHP 6 ай бұрын
Blade is great and a fantastic way to get things up and running quickly. I prefer Livewire myself but it's nice to have options. :) -Josh
@srhanzd3022
@srhanzd3022 6 ай бұрын
🔥🔥🔥
@srhanzd3022
@srhanzd3022 6 ай бұрын
😍😍😍
@srhanzd3022
@srhanzd3022 6 ай бұрын
❤❤❤
@drugoviic
@drugoviic 6 ай бұрын
watching this video hurts,i can hear crickets in the background
@LaravelPHP
@LaravelPHP 6 ай бұрын
Oh no. Are they good crickets at least? 😬 -Josh
@khanra17
@khanra17 3 ай бұрын
Absolutely his speaking style is so anything, the only reason I'm not subscribing to this channel is his whispering! I watch almost every video on this channel with other hosts. And get to ignore Josh but few topics are so good (not the host's speaking) i click & pissed off' 😑
@khanra17
@khanra17 3 ай бұрын
Don't whisper, speak 🗣️
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Laravel Gems - Pipelines 💎
15:21
Laravel
Рет қаралды 8 М.
WTF Do These Even Mean
13:44
Web Dev Simplified
Рет қаралды 98 М.
The Power of Laravel Folio and Volt with Ruslan Steiger
19:56
Swiss Laravel Association
Рет қаралды 2,4 М.
The New Outlook is TERRIBLE
20:19
Chris Titus Tech
Рет қаралды 119 М.
Why Don't We Have A Laravel For JavaScript?
12:36
Theo - t3․gg
Рет қаралды 112 М.
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 52 М.
I tried React and it Ruined My Life
1:19:10
Tsoding Daily
Рет қаралды 156 М.
We Love PHP Attributes
10:02
Laravel
Рет қаралды 12 М.
What’s Up with Laravel? It’s Everywhere, and Here’s Why!
6:22
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН