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

Does PHPOrient support live queries? #76

Open
smolinari opened this issue Jun 7, 2016 · 4 comments
Open

Does PHPOrient support live queries? #76

smolinari opened this issue Jun 7, 2016 · 4 comments

Comments

@smolinari
Copy link

smolinari commented Jun 7, 2016

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

@Ostico
Copy link
Owner

Ostico commented Jul 5, 2016

@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 .

@smolinari
Copy link
Author

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

@andreyvk
Copy link

andreyvk commented Jul 5, 2016

@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
#76 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABWZUsJRXLPaMVqjs5a1-7HTtQtpLGvgks5qSdeAgaJpZM4Iv0q3
.

@smolinari
Copy link
Author

Good question. Looking at the Javascript driver, I'd guess persistent connections.

Scott

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants