can't bundles now specify related bundles that should be instantiated
automatically? i thought there was discussion about that.
my worry is that with menu bundle moving towards 2.0, but routing bundle
not, a single bridge bundle could head into a really confusing and hard
to maintain situation.
On 18.12.2015 20:08, Wouter de Jong wrote:
> I do not like the idea of one integration bundle per CMF bundle. Imagine the
> developer experience when using CmfMenuBundle with SonataAdmin and
> Doctrine PHPCR:
>
> *Before*
> new Symfony\Cmf\Bundle\MenuBundle\CmfMenuBundle(),
>
> *After*
> new Symfony\Cmf\Bundle\MenuBundle\CmfMenuBundle(),
> new Symfony\Cmf\Bundle\MenuSonataAdminBundle\CmfMenuSonataAdminBundle(),
> new Symfony\Cmf\Bundle\MenuDoctrinePHPCRBundle\CmfMenuDoctrinePHPCRBundle(),
>
> Now, imagine this not only for one bundle but for like 4 (routing,
> content, menu, core),
> things will already pretty hard to manage.
>
> Imo, we should introduce the bridging system that Symfony uses and create
> CmfSonataAdminBridge, with all the admin classes. We can then let each
> bundle
> register the admin when this bridge is available and use_sonata_admin is
> auto/true (or we
> use a CmfSonataAdminBundle to do it, based on the registered CMF bundles).
>
> This brings back the other common CMF topic: To maintain this, we should
> use subtree
> splits (maybe Sensio's perfect split system can help us here) and create
> a symfony-cmf/bundles
> (or the like) repository.
>
> 2015-12-18 17:45 GMT+01:00 David Buchmann <
da...@liip.ch
> <mailto:
da...@liip.ch>>:
>
> hi,
>
> some of you brought that topic up a couple of times and i was always
> against it. but lukas convinced me that we should start doing this as of
> 2.0 versions of the bundles. not everybody uses sonata, and its
> difficult to sync things with sonata admin so we would be better of
> separating them into separate bundles. i propose we do that when working
> on 2.0 versions, so for now that would be a CmfMenuSonataAdminBundle
>
> what do others think?
>
> david
>
> --
> You received this message because you are subscribed to the Google
> Groups "symfony-cmf-devs" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
symfony-cmf-de...@googlegroups.com
> <mailto:
symfony-cmf-devs%2Bunsu...@googlegroups.com>.
> --
> You received this message because you are subscribed to the Google
> Groups "symfony-cmf-devs" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
symfony-cmf-de...@googlegroups.com
> <mailto:
symfony-cmf-de...@googlegroups.com>.
--
Liip AG // Agile Web Development // T
+41 43 500 39 80
CH-8005 Zurich // PGP 0xA581808B //
www.liip.ch