Тёмный

Laravel Code Review: Visual Installer with Steps 

Laravel Daily
Подписаться 144 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@jahanzaibaslam6967
@jahanzaibaslam6967 3 года назад
Instead of removing Database from the form request, you could have used "nullable" validation property. BY this, you could also use $request->validated() method while creating user.
@ryanb509
@ryanb509 3 года назад
Not a fan of how you moved the success check into the view like that. I mean I am all for a shorter controller too but I don't like the idea of having actual logic the the view even though it was a simple in_array check on another variable that was passed in. I personally try to stick to using only variables passed in from the controller and anything blade provides for itself like if's and loops. Maybe an occasional helper function call, but only if necessary.
@LaravelDaily
@LaravelDaily 3 года назад
Agree, it was a questionable move on my side.
@ryanb509
@ryanb509 3 года назад
@@LaravelDaily In a way I'm glad to hear that because I'll catch myself looking at code I wrote months ago and wondering what I was thinking. Good to know I'm not alone in that.
@stojankukrika7242
@stojankukrika7242 3 года назад
Nice and interesting UI and code solution for install project! Great job Kevin!
@J87NL
@J87NL 3 года назад
I really like how it looks, but since you still have to start from the commandline (generate key), I would probably have made the installation there. Besides grouping the routes I think I would move them to a separate file as well. But it does look nice!
@LaravelDaily
@LaravelDaily 3 года назад
Yeah that was my impression too, the installation wasn't 100% non-developer-friendly, so I don't think it achieved its original idea fully.
@randomagent
@randomagent 3 года назад
Actually it seems a bit complex for me. I definitely prefer to use one or two controller for setup. Also private methods are ok but for readability i prefer helpers. So i definitely agree with you.
@kumarnaresh3518
@kumarnaresh3518 3 года назад
Amazing video series. Congratulations !! I coded almost 20 years back :) and now I am working on a real estate portal. I learned laravel 8 a bit and have reached a respectable stage of the project. Now I am facing some issues on the frontend . What technology you suggest for front end which has small learning curve and with good documentation ? People talk about vue js , react js etc and you also have some videos on livewire. Which is the better option for me ? Your advice will be a great help for me.
@LaravelDaily
@LaravelDaily 3 года назад
Just yesterday, I tweeted: twitter.com/PovilasKorop/status/1405117715522666506 It's YOUR decision. Invest a day reading about how EACH of them work (just read the general documentation and program simple "Hello world") and you will understand what you like more and what is more fit for your project.
@brokersaddatv
@brokersaddatv 3 года назад
@@LaravelDaily Thanks.
@L-A-O-S
@L-A-O-S 3 года назад
Good video, It will be nice if you show how to send emails, when each user has his own smtp settings. And change mail setting on the fly.
@LaravelDaily
@LaravelDaily 3 года назад
I haven't worked on such project where each user would have their own smtp settings. I would even say it's pretty dangerous to allow them to have their own settings.
@L-A-O-S
@L-A-O-S 3 года назад
@@LaravelDaily In my project, there are many admins. All of them seem to be confidants. And they have a list of owned users. And they need to send letters on behalf of the administrator, tell me, what exactly is it dangerous, or where can I read it?
@LaravelDaily
@LaravelDaily 3 года назад
I can't answer this in a short RU-vid comment. I mean, in general, allow users to change core config of your system is dangerous, in theory. But actually, this exact repository, in this video, has an example of overriding the config with custom values, so I guess you should follow the same strategy.
@sightskill904
@sightskill904 3 года назад
Thanks a lot sir for your contribution ..I really appreciate knowledge shared by you.( best laravel teacher ).🙏 please sir start one series laravel 8 with interia stack. Beginning to expert ..
@LaravelDaily
@LaravelDaily 3 года назад
I don't actively work with Inertia
@sightskill904
@sightskill904 3 года назад
@@LaravelDaily please sir one page application with laravel 8 and vue js..
@mukolamusiv
@mukolamusiv 3 года назад
Thank you very much from Ukraine
@cvija997
@cvija997 3 года назад
Hey Laravel Daily, can you cover Traits as concept with some examples? Great video as always!
@LaravelDaily
@LaravelDaily 3 года назад
Search the channel, there are a few videos about traits
@cvija997
@cvija997 3 года назад
@@LaravelDaily Oops, sorry then
@mukolamusiv
@mukolamusiv 3 года назад
Beautiful :)
@rodolfopereira3714
@rodolfopereira3714 3 года назад
Perfect
@santiagotv6095
@santiagotv6095 3 года назад
this is what i need thank you so much 😘
@m.shahrim1933
@m.shahrim1933 3 года назад
nice. Hello from Malaysia
@swarnadeeppramanick
@swarnadeeppramanick 3 года назад
Sir would you please make a video on how to set env data from form inputs?
@LaravelDaily
@LaravelDaily 3 года назад
This repository has all the code about it, just look at the code. I partly discuss it in the video, as this code just overwrites .env file content.
@newTenchi
@newTenchi 3 года назад
Great
@vsakthivel85
@vsakthivel85 3 года назад
Hi , Laravel WhereIn query, how many value can we use to filter the records . Is it possible to use 4k value inside the whereIN (id, [....]). Please advice.
@LaravelDaily
@LaravelDaily 3 года назад
Haven't tried, but should be possible.
@vsakthivel85
@vsakthivel85 3 года назад
@@LaravelDaily okay Thank you
@enricoadamelli4834
@enricoadamelli4834 3 года назад
Is there a more user-friendly way to do it? Can you make another video about It?
@debjit21
@debjit21 3 года назад
For more userfriendly and also with update check here github.com/rashidlaasri/LaravelInstaller
@workservice918
@workservice918 3 года назад
Off topic but can you please make a video about verifying phone number with Twilio or Nexmo? Would be thankful
@LaravelDaily
@LaravelDaily 3 года назад
I think it's pretty clear in their own articles, like this one: www.twilio.com/blog/verify-phone-numbers-php-laravel-application-twilio-verify
@workservice918
@workservice918 3 года назад
@@LaravelDaily Yes, true. But for more code formatting like with Observers & Services. When you register a user a code goes right from observer and if he wants to send a new code, excecutes service.
@curious.coders.
@curious.coders. 3 года назад
What the hell yaar hmare jaese small creators ko bhi dekhlo