The scaffolding feature currently creates view templates on the fly and can save them to disk. We need to be able to also save missing controllers, models and views. Each one of these optional scaffolding features will be controlled with a different fof.xml flag:
Controller: saveControllerScaffolding
Model: saveModelScaffolding
View: saveViewScaffolding
When creating the Model it's very important to create a class docblock which adds type hints for the magic variables. This can currently be done through FOF30\Utils\ModelTypeHints and it works really good. No such thing required for Controllers and Views.
Further to scaffolding, there's also the CLI helper script (see the cli top level directory in the repository). Please also add commands to generate controllers, models and views through it.
The scaffolding feature currently creates view templates on the fly and can save them to disk. We need to be able to also save missing controllers, models and views. Each one of these optional scaffolding features will be controlled with a different fof.xml flag:
When creating the Model it's very important to create a class docblock which adds type hints for the magic variables. This can currently be done through
FOF30\Utils\ModelTypeHints
and it works really good. No such thing required for Controllers and Views.Further to scaffolding, there's also the CLI helper script (see the cli top level directory in the repository). Please also add commands to generate controllers, models and views through it.