Request handling in custom client


Hi there,

I am currently working on an interface between Zed and a custom iOS-App. Therefore I want to implement a Client that handles requests from the app, builds transfer objects and calls gateway controllers.

Is it possible to get silex to route URLs to clients, or is there a better way to solve this problem?

Best regards,


Hi Mathias,

If you want to access the Client layer from outside, then in YvesBootstrap you can change the existing routers or add a new router that can handle your API requests based on your custom requirements.
Another way could be to simply add a Controller - ControllerProviderPlugin duo that handles all requests that starts with "/api/" for example.



Hi Tamás,

thank you very much for the quick answer. I tried it out and it works like a charm.