Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap test to run with symfony/http-foundation #22

Merged
merged 7 commits into from
Sep 4, 2015

Conversation

gianarb
Copy link
Contributor

@gianarb gianarb commented Aug 25, 2015

Reference #21

  1. Dispatcher is too much general because this it is a proxy between FastRouter and Psr7.
  2. Write new dispatcher (int othe test dir) to manage interoperability between FastRouter and Http-foundation

@gianarb gianarb force-pushed the feature/interop-http branch 2 times, most recently from f9d0118 to 0e08b11 Compare August 25, 2015 15:06
@fntlnz
Copy link
Contributor

fntlnz commented Aug 25, 2015

What about defining a common interface for the dispatcher?

@gianarb
Copy link
Contributor Author

gianarb commented Aug 25, 2015

This interface is necessary. Have you proposal about this implementation?

@fntlnz
Copy link
Contributor

fntlnz commented Aug 25, 2015

Not right now, I'll do some tests on it to see what could be a good one

@fntlnz
Copy link
Contributor

fntlnz commented Aug 25, 2015

JFR #17

@@ -5,8 +5,6 @@
use Zend\Diactoros\Response;
use GianArb\Penny\Event\HttpFlowEvent;
use DI\ContainerBuilder;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\RequestInterface;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? Isnt a good idea to use same interface of community?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sensorario at the moment I don't use request and response into the framework, why should it constraint itself? :)

@gianarb gianarb force-pushed the feature/interop-http branch 2 times, most recently from 70aaa2a to f34a57b Compare September 3, 2015 22:05
gianarb pushed a commit that referenced this pull request Sep 4, 2015
bootstrap test to run with symfony/http-foundation
@gianarb gianarb merged commit 4a6af72 into master Sep 4, 2015
@gianarb gianarb deleted the feature/interop-http branch September 4, 2015 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants