Czym jest wzorzec MVC w laravelu
Hello today i show you and explain you how to work Model-View-Controller on laravel or whatever different framework.
Model its a our data dabases like id, name, city or whatever you create fileds this is our model
The command php artisan make:model MyModel create our logic in laravel you find in folder app.
The next its a Controller. In Controller we create our functions someone send result on view.
The command to create Controller its a php artisan make:controller OurController
Controller exists in folder app/http
View we create our template someone we can stylize and show result on data.
I dont now how is command to create view.
You find view on this folder resources/view and than you can create example.blade.php this is our view.
Blade its a specification on laravelso always you must using them.
Thanks for watching please for comment and upvote sya.
My video is at DLive