8. A Stock Ticker on the Pedestal Framework Server
We’ve done an introduction to Pedestal. Now we’ll go deeper by building an application that sends pricing information from the server to the web application in real time. This will be similar to a trading desk application with a stock price ticker and the capability to place stock orders asynchronously.
In this chapter we assume the following:
You know about the HTML5 feature called EventSource or are willing to learn how it works. (You may have heard of WebSockets. The really short summary is that WebSockets are two-way and EventSources are one-way, server to client).
You have ...