On 17 jan, 11:41, Benjamin Eberlei <[email protected]> wrote: > I don't think this makes sense for a PHP Application. You can have a > service that is local from the beginning and switch it to be a SOAP or > XML-RPC Client though if the interface stays the same. I don't see any > further action required for allowing these kind of scenarios.
Hello Benjamin, and thanks for your answer, The swith of local or remote instanciation from the configuration is pretty nice for running test with a local mock object and running production with SOA object. It's also nice when you need to optimize an environment for scalability, for exemple a class/service that consume some cpu could be moved to another server when application load is growing. I often use this feature with Java and .Net project by using Spring Framework, and while I see DI / IoC coming into the Php world, it wake up me about this possibility. Cheers Cyrille. > > On Mon, 17 Jan 2011 00:22:25 -0800 (PST), Cyrille37 <[email protected]> > wrote: > > > Hello Symfony Devs, > > > I would like to know if you've planned to add some remoting > > capabilities to the Dependencies Injection engine, to be able to > > instanciate object locally or remotly (SOA), like it is possible in > > Spring Framework (Java and .Net), using some kinds of protocols like > > xml-rpc, soap, json-rpc, and so on... > > It's really a nice feature to help scallability of complex application > > and for testing to. > > > Thanks for you lights about this subject. > > > Regards, > > Cyrille. -- 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
