Hi everyone, the featured code was mine (just a starter for a big project), which featured a directory structure designed for larger projects, thinking ahead about scalability. Povilas provided great feedback on it being over-engineered for a smaller project, which I completely agree with. Honestly i think using laravel for any small project is an overkill in itself (its like using a sword to kill a bee). It's a valuable reminder to balance complexity with the project's size. Also for the admin authentication, i chose to go with custom solution instead for breeze, etc is because its going to be more complex later. Highly recommend checking out this series if you're looking to improve your coding skills!
@o_lobatoКүн бұрын
A project can be really small and still need authentication, authorization for resources control access, database management (migration, etc), notifications, queues, and so one! So its far from being a sword to kill a bee.
@tusharnain6652Күн бұрын
@o_lobato Imo, for smaller projects, we got smaller framework like CI4, etc
@aamirsohailkmasКүн бұрын
I remember when I was a beginner, my goal was to make a structure that can be extended without problems, for example using a global model class that extends Laravel's model and similar case for other vendor classes, 😅
@rock3rkis670Күн бұрын
I think a Trait should have been used here.
@iamriwash79439 сағат бұрын
flashToast can use inside helper funtion also
@Aymen-y8jКүн бұрын
Do more of these pleass
@AndiSyafrianda17 сағат бұрын
"Premature optimization is the root of all evil." - Donald Knuth
@rihardstirums6698Күн бұрын
Hey how would you approche in laravel 11 translatable url slugs? When user switches pages language so it updates the slugs into url menu.
@krekasКүн бұрын
The same way as with earlier laravel versions
@rihardstirums6698Күн бұрын
Hey @ can you please provide some guide (link, post) where i can learn more about this ? I wasn't able to find it.
@LaravelDailyКүн бұрын
We have a full course on multi-language Laravel, so pretty sure you will find it somewhere here, depending on what package (if any) you're using: laraveldaily.com/course/multi-language-laravel
@RubensRochaКүн бұрын
Which contact channel can I use to send a code for analysis?
@LaravelDailyКүн бұрын
Email povilas@laraveldaily.com
@keyvanakbarzadeh15 сағат бұрын
nice
@NeverCodeAloneКүн бұрын
Very good video.
@ZeinotGamingКүн бұрын
over engineering classic newbie mistake
@turculaurentiu912 сағат бұрын
I've seen a lot of "seniors" doing similar mistakes.