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

preview_player
Показать описание
96% of any modern web application is just different types of forms (don't look it up, it's true.) So, one could assume that it's incredibly important to know how forms work in your given flavor of Laravel.

Let's take a look at what a basic form would look like with input, validation, submission, error handling, and success messages within different stacks in Laravel.

Рекомендации по теме
Комментарии
Автор

small correction 6:50 : the form uses the input "name attribute" not the "Id" as input name.

ajzack
Автор

Laravel is always more powerful and successful with popular technologies. It keeps you up to date.

tanerozdas
Автор

I worked with both inertia and. Livewire. But I love livewire and alpine.

sajsaj
Автор

Amazing format! Compare all the possible stack for see the difference in different approach, good idea! Thank you very much!

ArturMamedov
Автор

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.

JeremyMoore
Автор

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

yoanestradablanco
Автор

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!

pawenowicki
Автор

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.

Ivcota
Автор

Thank you for the great video, personally this is another reason why I prefer Livewire over Inertia 😅

kouceylahadji
Автор

Great content!

What font the host is using in the Vscode? This font family is pretty good looking.

jonatasbaldan
Автор

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 💨

Devdojo
Автор

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.

mariomthree
Автор

Inertia with Vue or Livewire with alpine depending on the project requirements

Samuel.Mwangi
Автор

It's not "pulling from input's id attribute". The variable names are defined by inputs' name attributes

mityukov
Автор

Why does Blade use JS for form submissions? Why not just use...plain forms?

theshinyplayer
Автор

Tbh I find livewire most satisfying to use from this 3
The thing is I'm heavy backend dev

salahdidi
Автор

Blade is the best for me, livewire is awesome but I haven't understand it

khant-nyar
Автор

watching this video hurts, i can hear crickets in the background

drugoviic
Автор

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.

Vichion