On 05.02.2011, at 16:54, Christophe COEVOET wrote: > Le 05/02/2011 16:48, Lukas Kahwe Smith a écrit : >> On 05.02.2011, at 08:06, Lukas Kahwe Smith wrote: >> >>> On 05.02.2011, at 04:46, Fabien Potencier wrote: >>> >>>> So, what about removing the Bundle\ and Component\ categories altogether? >>>> >>>> Symfony\FrameworkBundle -> dedicated repository >>>> Symfony\DoctrineBundle -> dedicated repository >>>> >>>> Symfony\Form -> in the components repository (the current symfony one) >>>> Symfony\Security -> in the components repository >>>> ... >>>> >>>> I was not in favor of dropping the Bundle\ category but now that the >>>> decision has been taken, I think we should remove it everywhere. >>> >>> I was in favor of this from the beginning :) >>> >>> One thing I am wondering about, there will be some people that might even >>> prefer to install components into the vendor dir, but I guess that wouldnt >>> really be very effcient with autoloading. >>> >> just to clarify what i mean: >> symfony bundles should go into the src dir >> symfony components should go into the vendor dir >> >> regards, >> Lukas Kahwe Smith >> [email protected] > How would it work for autoloading as they are all in the Symfony namespace ? > Keeping the Bundle and Component namespace would allow to register them > separately in the autoloader but it does not work if you remove these > namespaces.
thats what i mean with not "efficient", since it would have to use a fallback. but one thing we have to realize is that the problem will happen to others too .. Liip, knpLabs, opensky might also eventually come up with components/libraries that they will want to namespace. so whatever we do, i think we need to come up with a best practice that works for Symfony, but also for others. regards, Lukas Kahwe Smith [email protected] -- 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
