On 04.06.2011, at 09:47, Benjamin Eberlei wrote: > Hi everyone, > > i am currently working on getting Doctrine CouchDB ODM support working as a > DoctrineCouchDBBundle and integrated into FOS UserBundle aswell. I came > across a little problem, thats why I am asking for Feedback here: > > Since MongoDB already takes the "Document" namespace of a bundle i was first > trying to just re-use it. This however poses problems in reusable bundles, > since validation rules cannot depend on configuration. So i was renaming the > namespace to "CouchDocument". Now when implementing this in FOS UserBundle i > started to find this solution very ugly, since its renaming the namespace to > something technical just for technical reasons. > > So I want the Document namespace for CouchDB aswell. In larger context, I > dont really like the Model/ + Entity/ + Document/ construct that the FOS > USerBundle started to use. Proper persistence mapping is about mapping any > object (multiple times if necessary!), so everything should work in a Model/ > folder. > > This obviously leads to an requirement where validation rules should be > applied explicitly, however currently the validation.xml/.yml is pretty > hardcoded without a good extension point. Any clues?
This is indeed a big problem that we need to address before we can do to RC1. regards, Lukas Kahwe Smith m...@pooteeweet.org -- 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 symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en