Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 22, 2022 12:47 am GMT

Laravel 9 Tutorial 29


Laravel 9 Tutorial Complete Playlist:- https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ

In Part-29 of the Laravel 9 Tutorial to create a Multi-Vendor E-commerce Website in Laravel, we will continue working on the Sections module. In this video, we will work on Add/Edit Section functionality and will add Laravel Validation to validate add/edit section form.

1) Create Route:-
First of all, create GET/POST route in web.php file like below:-
Route::match(['get','post'],'add-edit-section/{id?}','SectionController@addEditSection');

2) Create addEditSection function:-
Create addEditSection function in SectionController to add/edit section

3) Create add_edit_sections.blade.php file
Create add_edit_sections.blade.php file for add/edit section form

4) Update sections.blade.php file :-
Update sections.blade.php file to show Add Section link

Laravel 9 Tutorial (Create Multi-Vendor E-commerce Website) - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ

Get Ready for Laravel 9 - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYVb9lco6OnloSFyBLZU3tz

Click here to subscribe for Laravel & other updates - https://www.youtube.com/stackdevelopers

Popular Stack Developers Series that can help you:-

Laravel Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZaHaFmydqjcQ-YyeQ19Cd6u

GIT Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZVQ-dLOMFWvmCCduzJ8c6R

Laravel API Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbcCsd4yAAiBU2L3ROREk8P

Laravel Interview Questions - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbzB_1Jdp_yFcORwOfWP8RU

jQuery Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbMYoUA46GIonOH29KcjtxA

Laravel Basic E-commerce Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZY5drPxIWzpq5crhantlzp7

Laravel Dating Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZrPUnxjlomErJfNvkyS6Hf

Join this channel to get the complete source code of all series:
https://www.youtube.com/channel/UCExO2i-tLU1NyVZD6zOJQlw/join

Follow Stack Developers on Social Media to get updates and resolve your queries
Like Facebook Page to get updates - http://facebook.com/stackdevelopers2/
Join Facebook Group to resolve your queries - http://facebook.com/groups/stackdevelopers
Follow on Instagram - https://www.instagram.com/stackdevelopers2/
Follow on GitHub - https://github.com/stackdevelopers


Original Link: https://dev.to/stackdevelopers/laravel-9-tutorial-29-278c

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To