Open smolinari opened 8 years ago
@smolinari , i'm not thinking to implement live queries because of the nature of PHP. No utility can be found on leave opened sockets on apache/nginx .
Hmm....ok.
I realize this websocket solution is between a server and web browser client,
http://socketo.me/docs http://socketo.me/docs/flow
but theoretically, the same kind of technology stack can be used to open a socket to ODB too, no? (it doesn't use Apache or Nginx....)
I don't expect you to build out the driver to support a web socketed PHP. At this point, I'd just like to know live query could actually be possible within a PHP ecosystem.
Scott
@smolinari Is Orient live query based on long polling or a persistent connection?
On Tue, Jul 5, 2016 at 10:03 AM, Scott notifications@github.com wrote:
Hmm....ok.
I realize this websocket solution is between a server and web browser client,
http://socketo.me/docs http://socketo.me/docs/flow
but theoretically, the same kind of technology stack can be used to open a socket to ODB too, no? (it doesn't use Apache or Nginx....)
I don't expect you to build out the driver to support a web socketed PHP. At this point, I'd just like to know live query could actually be possible within a PHP ecosystem.
Scott
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Ostico/PhpOrient/issues/76#issuecomment-230383400, or mute the thread https://github.com/notifications/unsubscribe/ABWZUsJRXLPaMVqjs5a1-7HTtQtpLGvgks5qSdeAgaJpZM4Iv0q3 .
Good question. Looking at the Javascript driver, I'd guess persistent connections.
Scott
I noticed a function covering live query in Operations, but it doesn't seem complete. Is this a correct assumption?
What else needs to be done, to get it to work?
Scott