lundi 30 avril 2018

Why do we use Command lines Artisan to create controllers & Models in Laravel

It might be a silly question but I have to ask, why do we need use command lines for everything in laravel ?!! to create a controller, we need to type the following command line

Php artisan make:controller FileController 

or for migrate DB

php artisan migrate

and why DB even should be created within laravel code.

and can we do all those things just by doing a regular way in PHP, which creates a page of controller and types the things on?

I find that confusing little bit and a little bit out of control on and relay alot on command line, than understand the relationship between pages and linking things, like why got model and controller, does create with command line means there is another dependence on those pages and code be amendment in another area in laravel that I dind't know.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire