app
app copied to clipboard
Suggest packages
Hi, Thank you for the framework, first impression is good.
But could you add suggestion for necessary packages instead of error like: Class not found? Like it doing codeception when missing some packages. Overall this mechanism should be maximum simple and controllable if someone will wont to add support for his own package.
@andrew-svirin would you please give us an example to understand the problem better?
@samdark
Idea is to have some generator that will suggest missing packages like was yii-gui
. This generator can be installed for dev-mode.
For the moment I want to generate Model mapped on table. And I am in doubts: should I use doctrine with repositories and entity-manager like in yii-demo-project or should I use yii-active-record. This choice is enough risky ).
It can be any tool that will guide new user with code examples and variations of implementation and references for implementation.
On my opinion than TDD starts from tests then framework starts from guide.
Hello @andrew-svirin !
Gii will be: https://github.com/yiisoft/yii-gii Popular use cases we will add to documentation.
Yii3 component-based PHP framework and using different packages (not only yii) to solve the same problem is one of features.
means recommendations ? best practice of combinations ?