Other articles


  1. Implementing finite state machines with Erlang and gen_statem

    This post discusses the implementation of and FSM (finite state machine) in Erlang with the gen_statem module. We emphasize the implementation of the FSM by creating a table of rules that define the transitions (from state to state) of the FSM and then implementing the FSM by translating those rules into code (in this case, Erlang code).

    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
  3. An experimental Erlang framework and behavior for cellular automata

    This post describes work toward the implementation of a framework on top of which we can implement cellular automata (CA) that can be used to model behavior of real world systems. An interesting and potentially powerful aspect of this work is that each cell or agent is realized as an Erlang process, making it possible to model systems containing arbitrarily complex actors.

    read more

Page 1 / 2 »

links