I am building a online store with symfony 2.1. Basically I have frontend section from where users of my site can view, add items and backend section for admin users to manage the entire site. Frontend and backend section will have different template but the database models (Doctrine) are same for both.
How do i structure my application?
Previously I was using symfony 1.4 where I could just create frontend apps and backend apps. Symfony 2 deals with bundles. Should I create 2 bundles one for frontend and one for backend? Creating such structure, how will be able to share models between them.
Please suggest me some structure for my application.