-
Notifications
You must be signed in to change notification settings - Fork 197
Is it possible to use Zend Expressive with Zend Apigility #342
Comments
@pdrosos as you said Apigility 2.0 will be based on zend-expressive, at least this the plan. Right now, you can use zend-expressive to build a REST API. I'm working on a prototype of this, without all the features of Apigility. |
@ezimuel Thank you for your reply! |
Say, for example, you wanted to route certain requests to a legacy ZF1 app, others to a new Apigility app, and still others to some other hypothetical app, wouldn't zend-expressive get that job done? Something like #283 (comment) is what I'm thinking of implementing. Any other suggestions for this concept? |
@marcguyer You may want to take a look at https://github.com/janatzend/zend-expressive-legacy-bridge (developed by one of the Professional Services team at Zend/RogueWave); it provides a way for a ZF1 or Symfony1 application to act when no Expressive middleware can handle the request. @pdrosos We're still evaluating our next steps for Apigility — if the next major version will be based on Expressive, or if we will create a parallel project to Apigility with similar goals, but built on top of Expressive. At this time, we have nothing to share, and it will likely be some months before we can start any planning or work in earnest. |
Hi all,
I am wondering if Zend Expressive can be used along with Zend Apigility for REST API projects? Does it make sense? If not, which of them is better for what kind of API projects?
I know that middleware architecture is faster than MVC, very suitable for REST APIs and the idea is Apigility 2 to be built on top of Expressive, but this was not started yet. So I would like to know if currently best from both technologies can be used and how should I integrate and use them together.
I should choose a technology for a new REST API project and it will be Apigility, Expressive or both of them, if it makes sense.
Thanks in advance for helping to anyone, who could give me an idea and make it clear!
The text was updated successfully, but these errors were encountered: