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

SSE Example Using Live Data Source #1

Open
memelab74 opened this issue Jun 9, 2014 · 0 comments
Open

SSE Example Using Live Data Source #1

memelab74 opened this issue Jun 9, 2014 · 0 comments

Comments

@memelab74
Copy link

Hello. First of all thanks for your great book. Not really an issue, but just wanted a community place to air out a question. I know it's probably out of scope for your book, but do you have any guidance on a framework for integrating SSE with a live data feed? In other words, what would be the typical framework for obtaining the FX data that is simulated in the book?

Basically, it seems that the server-side SSE script is itself downstream from some datasource which could theoretically be anything: database, web service, etc., and that it would need to do all the things that SSE tries to avoid like polling.

In my particular instance, I control the datasource and I like working with PHP. But rather than go into ridiculous levels of detail about my own situation, I'm more looking for some pseudocode or library/framework recommendations so I can continue hacking. I've been toying around with PHP sockets, etc., but I'm not sure if I'm barking up the wrong tree or overlooking something very obvious.

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

1 participant