On 17.01.2011, at 17:59, Cyrille37 wrote:

> On 17 jan, 14:45, Benjamin Eberlei <[email protected]> wrote:
>> You can overwrite services in the DIC using the config_test.yml (test
>> environment) or config_dev.yml (dev environment) i believe.
> 
> Of course, service implementation has to be changed in configuration
> files.
> 
> But with advanced DI/IoC like the Spring Framework, the remote proxy
> is the responsability of the DI. You tell to it where is the service
> object, and the DI create a local object or a remote proxy to access
> the remote service.
> 
> After googling on this subject, I've not found anthing about PHP and
> DI which create remote object proxy. Perhaps a not need feature in the
> Php world.


Sounds to me like you would need to create some wrapper class, that uses 
Reflection to figure out what interfaces it needs to implement etc. There are 
of course also security implications. However even if it would eventually 
become a DI feature, I wouldnt call it a must have and maybe not even a nice to 
have for the first stable release. Though adding such a wrapper at a later 
stage of the 2.x release cycle should be possible while maintaing BC.

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

Reply via email to