Hey Badr, did you look into tools that are actually built for this? I built
one at https://github.com/Ocramius/ProxyManager
On Apr 12, 2015 2:37 PM, "Badr Ghatasheh" <[email protected]> wrote:

> Hi,
>
> I'm building an SOA platform which leverages Doctrine 2.4.7 ORM to build
> reusable data models, which will have multiple namespaces for each model
> with PSR-4 autoloading mechanism, i.e.
>
> Git Repo1 has:
> \Model\User\Entity\User
> \Model\User\Entity\UserInfo
>
> Git Repo2 has:
> \Model\Locale\Entity\Country
>
> And so on.
>
> I'm trying to have proxies as a part of each model itself, so that the
> developers working on User model would include their proxies side by side
> with their entities.
>
> The only way I managed to do that is to fork doctrine ORM and modify the
> proxy generator, and create my custom proxy autoloader.
> While the solution works, I still want to avoid forking doctrine, is there
> any way I can achieve this without having to modify the framework itself?
>
> P.S. having the proxies generated and configured on each application that
> uses the model is not an option.
> Regards.
>
> --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to