Duration 14:19

(06) What is Controller | Why Controller | How to Create Controller

276 watched
0
6
Published 20 Sep 2021

What is the controller and why do we use the controller in Laravel Application Instead of defining all of your request handling logic as closures in your route files, you may wish to organize this behavior using "controller" classes. Controllers can group related request handling logic into a single class. For example, a UserController class might handle all incoming requests related to users, including showing, creating, updating, and deleting users. By default, controllers are stored in the app/Http/Controllers directory. My goal with this Laravel series is to create a guide for those just learning Laravel. This guide will take you from the very beginning of an idea into a real deployable application. If you are facing any problem during development, you can post your queries free of cost at https://solutions.cdlcell.com so our team will respond to you within 24 hours. If you need paid help from us, please visit https://solutions.cdlcell.com/user/instant-help to process a contract with us. * Contact us: contact@cdlcell.com * Our website: https://cdlcell.com * My Twitter: https://twitter.com/HadayatNiazi3 * My FB: http://facebook.com/hadayatniaziofficial Follow us on LinkedIn: https://linkedin.com/in/cdlcell Follow us on Tiktok: https://tiktok.com/@ cdlcell Join us on Instagram: https://instagram.com/cdlcell Follow us on Facebook: https://facebook.com/cdlcellpk Join our Laravel Developers whatsapp group: https://chat.whatsapp.com/JSA8qZZGVbPIv9NdHeIwyi #php #phplaravel #laravel #webdevelopment #cdl #career_development_lab #hadayatniazi #coding #technology

Category

Show more

Comments - 4