app icon indicating copy to clipboard operation
app copied to clipboard

Suggest packages

Open andrew-svirin opened this issue 3 years ago • 4 comments

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 avatar Jun 14 '21 07:06 andrew-svirin

@andrew-svirin would you please give us an example to understand the problem better?

samdark avatar Jun 15 '21 12:06 samdark

@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.

andrew-svirin avatar Jun 16 '21 17:06 andrew-svirin

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.

vjik avatar Jun 22 '21 15:06 vjik

means recommendations ? best practice of combinations ?

Zehee avatar Jul 13 '21 10:07 Zehee