Conversation
The barrier to integrate drift should be relatively low, by integrating a symfony adapter, developers only need to require the drift/server package and change there kernel parent class to get started.
|
@Deltachaos Interesting. So you mean that having a Symfony application we should be able to start working with the server in a blocking mode (important to say that), and starting turning the application a non-blocking one? Shouldn't we test this? |
|
@mmoreram yep. I guess most people start with an existing Symfony application when they want to integrate drift/reactphp. Therefore the first step of integration should be less invasive. |
|
@Deltachaos The kernel is not something that you can switch. Basically because the Drift kernel avoid some events (terminate, for example). Maybe making this switch would cause some "false" issues. Anyway, this PR should test, at least, that by using it a request returns a response. At least this scenario. |
|
I took the idea of that PR and opened this one - #85 Thanks for your amazing job :) |
The barrier to integrate drift should be relatively low, by integrating
a symfony adapter, developers only need to require the drift/server
package and change there kernel parent class to get started.