O'Reilly logo

Clojure Recipes by Julian Gamble

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Assumptions

In this chapter we assume the following:

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required