On 29 Mrz., 11:14, Fabien Potencier <fabien.potenc...@symfony- project.com> wrote: > On 3/29/10 11:07 AM, Matthias N. wrote: > > > > > On 22 Mrz., 16:11, Fabien Potencier<fabien.potenc...@symfony- > > project.com> wrote: > >> On 3/22/10 2:59 PM, Tom Haskins-Vaughan wrote: > > >>> Hi all, > > >>>> From what I understand, plugins will be replaced in Symfony 2.0 with > >>> bundles. Take for example, the following two bundles: > > >>> * WidgetABundle: adds the functionality to add Widget A to your > >>> Symfony project. > >>> * DoctrineWidgetABundle: adds Doctrine integration for WidgetABundle > > >>> Now, is it/would it be possible to nest the bundles in such a way that > >>> you could 'install' DoctrineWidgetABundle and it would 'install' any > >>> dependencies (WidgetABundle) automatically? > > >> You cannot nest bundles. But the installer will resolve dependencies > >> automatically. > > > Just to understand things right: Wouldn't it be possible to add some > > logic to MyAppKernel->registerBundleDirs() to allow nested bundles for > > example in a vendor dir in a bundle? > > What do you mean by "nested"? You can register any number of directories > where to look for plugins, even if they are nested of course.
It means putting other bundles in a bundle for example like Jon did in the sfSympalPlugin with the bundled plugins. But of course a dependency resolver is much more useful than anything else.. regards, Matthias -- 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 developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en To unsubscribe from this group, send email to symfony-devs+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
