I want to create a blogging system in order to practice symfony2, but currently I get a bit confused when creating entities such as user or blog. The reason is the following :
- User( or Blog) is commonly used in frontend and backend(admin) (currently I have considered creating FrontendBundle and AdminBundle)
- Entity must belong to one bundle.
Currently I have considered the following methods, but what is the best way in this case, or please tell me if there is another way.
- Create bundle named 'BlogCommonBundle' and define User entity as "BlogCommonBundle:User".
- Define all controllers under 1 bundle, such as 'BlogBundle', so frontend/backend(admin) controllers belong to same bundle.