Sorry for the last email.
What if we create one DoctrineBundle with abstract extension and many
concrete ones? Or one extension with many ...Load() functions?

Sent from my Nexus One
On Dec 29, 2010 1:01 PM, "Bulat Shakirzyanov" <[email protected]> wrote:
> Sent from my Nexus One
> On Dec 29, 2010 12:59 PM, "Benjamin Eberlei" <[email protected]> wrote:
>> Hello everyone,
>>
>> I begin to see a problem with the bundles concept (at least for the
> technical bundles). The Doctrine ORM and MongoDB Bundles have lots of code
> duplication mainly in the DI Extension. But i can't come up with a
> straightforward approach to have something like abstract bundles. One
> requirement would be that they auto-enable themselves when you add their
> parent, so you'd only need to register the parent bundle (ORM or ODM) and
> get all the love of the Common Doctrine Bundle (which mainly is for
> maintenance purposes so we don't need to copy paste 1k LOC of code around
in
> both extensions).
>>
>> Anyone a good idea on this one?
>>
>> greetings,
>> Benjamin
>>
>> --
>> 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]<symfony-devs%[email protected]>
<symfony-devs%[email protected]<symfony-devs%[email protected]>
>
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-devs?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 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

Reply via email to