Adding references to 2 new middlewares #24
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'd like to add a reference to 2 new very special middlewares I just wrote:
silex-middleware and symfony-middleware can turn a Silex application or a Symfony application into a middleware.
This is cool because Silex or Symfony are no more the last "app" that we stack upon. They can now be a part of the middleware to another app.
So you could stack a Silex application in front of a Symfony application, and so on...
I've had a need for those as I was working on a fork of framework-interop (https://github.com/moufmouf/framework-interop/), a project by @mnapoli that makes heavy use of StackPHP and of container-interop to build a web application with many frameworks enabled at once (the test project is having Silex, Symfony 2 and Zend Framework 1 working together in the same application)