Skip to content

tardisgallifrey/erlangservers

Repository files navigation

Learning Erlang Servers

I am learning Erlang Server programming. As such, I have three servers called, Tom, Dick, and Harry. These allow sending messages back and forth. This first version is pretty pathetic, but I will build on it in future branches.

Main branch is the current version milestone where I am working. It is probably at or one before the highest numbered version.

  1. v1 tag is the first one I wrote that functions.
  2. v2 is a tag with tom.erl heavily commented.
  3. v3 is a tag with checks to see if server is running.
  4. v4 is a tag that has a generic send/1 with server checks.
  5. v5 is a basic OTP gen_server that only talks to itself.
  6. v6 is OTP gen_server with non-OTP client
  7. v7 is OTP gen_server with non-OTP client and DETS (message saving).
  8. v8 is OTP gen_server with DETS and supervisor.
  9. v9 turns our server generic and allows us to call person_server with a server name.
  10. v10 adds Erlan OTP app folder structure for person_server.
  11. v11 adds supervisor for a person_server that creates instances (named servers).
  12. v12 adds OTP application code for person_app that runs person supervisor.
  13. v13 changes person_sup (supervisor) to dynamically name person_servers as needed from client.
  14. v14 is the smallest changes to get to a rebar3 Erlang app.

At some point, I will work on the tag documentation. Just not right now.

About

A repo on learning to use Erlang Server syntax

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages