You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: