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. 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
  3. Defining and implementing finite state machines in Python with the transitions module

    This post discusses the implementation of FSMs (finite state machines) in Python using the transitions module. The following are discussed: (1) Given a set of rules, how to implement an FSM with Python and transitions. (2) How to export a Python transitions FSM to JSON. (3) How to read that JSON file and generate Python code which implements the FSM that it specifies. (4) How to load a JSON file that describes an FSM into a running Python application.

    read more

Page 1 / 3 »