Hello, Your fe / be should be in the same bundle.
quote from the Symfony2 doc : A *Bundle* is a structured set of files (PHP files, stylesheets, JavaScripts, images, ...) that *implements* a single feature (a blog, a forum, ...) and which can be easily shared with other developers. Think about creating separated controllers in your bundle to separate your frontend and backend. Yohan. 2011/2/16 Daniel Londero <daniel.lond...@gmail.com> > Hi, I'm quite ready to start a project with Symfony2 but I need to > share some thoughts about bundles and entities organization to start > with the better structure. > > In symfony 1.4 we can have more applications in the same project (say > fe and be) with a common model generated from schema.yml. > > In Symfony2 this can be replicated by 2 different bundles FeBundle and > BeBundle BUT what about Entities (the old model)? These are most of > the times in common to Fe and Be so putting them all in one instead of > another makes no-sense (but it works, we have namespaces!). Could be a > solution creating a third ModelBundle or ProjectDomainBundle (replace > ProjectDomain with the specific domain of your project) where to place > ALL Entities and using them in other bundles from there (again thanks > namespaces)? > > I don't want to have a standard way to do that but almost a best-practice. > > Thanks > Daniel > > -- > Daniel Londero > http://phpblog.it > http://www.vivaborabora.net > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en