Books & Videos

Table of Contents

  1. Chapter 1 Building Scalable Systems with Erlang and REST

    1. Why Erlang?

    2. Why Web Services? Why REST?

    3. New Opportunities for Scaling and Resilience

  2. Chapter 2 Getting Started with Yaws

    1. Working with Yaws

    2. Dynamic Content in Yaws

    3. Templates

    4. Logging

  3. Chapter 3 Appmods: Dynamic Content in Yaws

    1. Appmod Configuration

    2. When the URI Does Not Correspond to a File

    3. Cookies

    4. Session Handling

    5. Access Control

    6. Interacting with Erlang Services and Business Logic Layers

  4. Chapter 4 Implementing REST

    1. Decoding a Request

    2. Response and Headers

    3. Building the Response

    4. Responding to the REST Request

    5. A Full Example

  5. Chapter 5 File Upload

    1. The File Upload Request

    2. Saving to Disk

    3. Putting It All Together

    4. Storage in a Distributed System

    5. Saving to Amazon S3

  6. Chapter 6 WebSockets

    1. The WebSocket Request

    2. Basic WebSocket Handler

    3. Advanced WebSocket Handler

  7. Chapter 7 Streaming

    1. Simple Streaming

  8. Chapter 8 Using the HTTP Client

    1. Making a Request

    2. Using OAuth

  9. Chapter 9 Building an Application with OTP

    1. Directory Structure

    2. Building an Application Server

    3. The Generic Server

    4. The Multicast Server

    5. Interfacing the Server with the Web

    6. Some Client-Side Code

    7. Let’s Have Some Adult Supervision Around Here!

    8. A Little Optimization

    9. Bundling as an Application

    10. The App File

    11. Wrapping Up OTP

  1. Appendix Installing Erlang and Yaws

  2. Appendix Beyond Yaws

    1. Web Servers

    2. Web Frameworks

  3. Appendix Interfacing with Ruby and Python

    1. Ruby

    2. Python

  4. Appendix Using Erlang with Emacs

    1. Distel

    2. Flymake Mode

    3. Gen Server Template