I find this explanation of resource routing to be both interesting and useful. Personally, I prefer to use the " --resource " command when creating my controllers. This automatically generates all 7 default functions in the controller, saving me valuable time.
hellow just a quick one.how to do I creat a route in web for a model with two different foreign keys using resource routing for example , table 1 and table2.then table 3 is the one housing the foreign keys for table 1 and table2
I find this explanation of resource routing to be both interesting and useful. Personally, I prefer to use the " --resource " command when creating my controllers. This automatically generates all 7 default functions in the controller, saving me valuable time.
Yea Great tip, using -r or --resource will save a good amount of time from having to write the methods all the time.
Thanks
I think It is a good way to save time but I think the classic way is better for big projects
Nice course sofar.❤
A nextjs laravel api course won't be bad
Thanks for this video.
Thanks for watching.
thanks for the video man
Any time
thanks a lot
hellow just a quick one.how to do I creat a route in web for a model with two different foreign keys using resource routing for example ,
table 1 and table2.then table 3 is the one housing the foreign keys for table 1 and table2
attempt to read property "name" on null
this is what I get when I comment out the old cods
please help
I have the same problem.
First
Thanks 🙏
is there a github with the source code of this project?
The code is now available over here : github.com/yelocode/ideas