Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest packages #167

Open
andrew-svirin opened this issue Jun 14, 2021 · 4 comments
Open

Suggest packages #167

andrew-svirin opened this issue Jun 14, 2021 · 4 comments

Comments

@andrew-svirin
Copy link

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.

@samdark
Copy link
Member

samdark commented Jun 15, 2021

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

@andrew-svirin
Copy link
Author

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

@vjik
Copy link
Member

vjik commented Jun 22, 2021

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.

@Zehee
Copy link

Zehee commented Jul 13, 2021

means recommendations ? best practice of combinations ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants