akeeba / fof

Rapid Application Development framework for Joomla!™ 3 and 4
0 stars 0 forks source link

Expand the scaffolding feature's abilities #556

Closed nikosdion closed 9 years ago

nikosdion commented 9 years ago

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.