Skip to main content

Unsorted Notes

Voor- nadelen

  Laravel YII
MVC
Model Eloquent Active Record
View/templating Blade PHP met 'Yii Snippets'
Routing Expliciet Impliciet / Expliciet
Migrations
(meer als optie)
Model creations command line
GUI, reverse engineered form DB
Controller Creation command line
GUI, create full CRUD
View creation ?
GUI, create full CRUD
Documentation ***
**
Active development
Add Ons / Libraries *** **
Install Base (volgens Google) 484,970 58,800
     

Grootste voordeel is de GUI waarmee je reverse engineered een CRUD maakt.

Datepicker Install

(in project root)

change in file composer.dev  "minimum-stability": "dev",

Bootstrap 4 install

composer require --prefer-dist yiisoft/yii2-bootstrap4

Redirect

return $this->redirect(['view', 'id' => $model->id]);

Post form on dropdown change

<select name="status" id="status" onchange="this.form.submit()">