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

Missing symfony1 plugin model generation strategy. #212

Closed
alanbem opened this issue Feb 23, 2013 · 1 comment
Closed

Missing symfony1 plugin model generation strategy. #212

alanbem opened this issue Feb 23, 2013 · 1 comment

Comments

@alanbem
Copy link

alanbem commented Feb 23, 2013

In symfony1 every model class in plugin consisted - through inheritance - of base model, plugin model and application model on top. I really miss that as it allowed to add application specific logic to 3rd party plugins. These days when using 3rd-party bundle, it is not possible.

This issue is not feature request per se, but rather a question why propel bundle abandoned that behavior.

Cheers

P.S. I know that Symfony2 application architecture does not conform easily to this legacy model generation strategy, but I think that with few modifications and new conventions it could be done.

@havvg
Copy link
Member

havvg commented Feb 26, 2013

Well, this is nothing that was done by the propel plugin itself, but the 3rd party plugins followed a convention, to add their business logic in a class in between the base and model class. Once they got the model class, with different inheritance, Propel didn't touch those, that's why it worked the way it did (and still works with Symfony2 bundles, if they apply those rules).

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

No branches or pull requests

3 participants