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

Element generators #295

Open
szymach opened this issue May 8, 2017 · 1 comment
Open

Element generators #295

szymach opened this issue May 8, 2017 · 1 comment
Milestone

Comments

@szymach
Copy link
Contributor

szymach commented May 8, 2017

Perhaps we could introduce a new functionality - element factories. Often you will create very similar elements, for example the ones for ResourceRepository, which are basically the same. These could be created by a factory service, which would accept a set of parameters (element id, entity class, form class, repository method name used in datasource initialization etc.) and be defined in services files (either YAML or XML).

@szymach szymach added this to the 4.0 milestone Jun 14, 2017
@szymach szymach changed the title Element factory Element generators Oct 27, 2017
@szymach
Copy link
Contributor Author

szymach commented Oct 27, 2017

On the other hand, it may be better to provide a static code generator for admin elements, similar to what SensioGeneratorBundle offers. Smaller chance of error and still improves productivity.

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

1 participant