Reputation: 784
In a Symfony2 project with Doctrine as ORM, I have many entities dedicated to store data domain.
According to your experience:
Thank you very much.
Upvotes: 0
Views: 63
Reputation: 73
1) I think that the correct name is Province. "Domain" is like a role. IMHO it doesn't have to be in the name. So, the full name could it be: CoreBundle/Entity/Province or xxx/Entity/Core/Province.
2) In some projects I placed that kind of entities in a folder "Entity/Core". At other times I have solved it in a specific bundle, for example, "CoreBundle/Entity".
3) I see well that you call tables like "table_name_domain". Note that table is data, and it is not bad to categorize information as "domain"
Upvotes: 1