- verb + thing + Controller => "ShowProductController"
MUST NOT:
- contain any code that should be shown in the browser, like HTML and CSS;
- deal with the database or the filesystem. MUST DO:
- receive the HTTP requests;
- send back a response to browser.
- only in dev | LOCAL environment you will see DB error!
- thing(singular) => "Product" + Model
Its function:
- talks to DB;
- works with filesystem.
- thing + verb (past tense) => "ProductCreated"
composer install
composer update
composer dump-autoload
php command.php migrate --up
php command.php migrate --down
php command.php migrate --fresh
php command.php migrate --list
Go To Config and change LOCAL => REMOTE
- UtmostCreator