Designing an Information System with OTP

With these high-level basics demystified, let’s use another OTP abstraction to enhance our application. Let’s take our video annotations to another level with some OTP-backed information services. We’re going to use some common web APIs to enhance our application.

For any request, we’re going to ask our information system for highly relevant facts that we can inject. We’ll be providing enhanced question/answer–style annotations as the video is playing. This’ll give our live viewers and replayed visits alike an enhanced experience about the video that’s showing.

The goal for our application is to have multiple information systems. We might pull from an API like WolframAlpha while at the same time referencing ...

Get Programming Phoenix 1.4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.