KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
This might be an obvious thing to you but - even after reading through a lot of manuals and blogs - I'm still not sure what exactly should a bundle in Symfony2 represent in a webpage. And it's hard to guess it from the simple demo applications. For example: I have a site which is divided into two parts (one is just a 2nd level domain like example.com and another is dom2.example.com ). Each of these two parts has some sections of it's own - sometimes the same (like news) sometimes different. What would the correct representation of this in symfony2? Should I have a MySite\site1 and MySite\site2 bundle and do the different sections via different controllers, or bundles Site1\News and Site2\News , or bundles MySite\Site1News and MySite\Site2News etc. ...or am I getting all wrong at this?
Tags (comma-separated)
Save Edits
Cancel