Other articles

  1. Structured applications using REST and FSMs

    This post discusses design and structure of applications that are composed of multiple, heterogeneous processes that communicate with each other. In particular, the two types of processes or sub-applications that we shall consider are those that implement a REST API and those implemented as finite state machines (FSMs).

    read more
  2. A Cowboy REST CRUD application with a supervised OTP database process

    This document explains a REST application built in Erlang on top of the Cowboy Web server. The application supports the following operations: add record, get recort, get list of records, update record. The records are stored in a DETS database, and are, therefore, persistent. This example is similar to the REST CRUD example in the previous post but differs in that all database/DETS operations are performed in a separate process that keeps the DETS database open.

    read more

Page 1 / 2 »