This post introduces an new series of tutorials on the LFE blog which will step LFE users through OTP in the style of Lisp Flavoured Erlang.

LFE OTP Tutorial Series

There aren't a lot of OTP tutorials online. One really good one (starts here) is in Fred's most excellent book Learn You Some Erlang for great good!. Other resources include:

There are bits and pieces in blog posts, documentation, etc., but nothing that really gives a complete picture, is easy to grasp for newcomers, and which keeps the code very clean and clear.

And there is absolutely nothing for LFE.

This series will attempt to alter this landscape somewhat, if only to address the last point. The idea will be to refer readers to these excellent books for in-depth looks into the topics that we cover, but to provide a clear howto for basic concepts and getting started.

We do want to make this an amazing OTP tutorial series, so please leave feedback if you have ideas on how to do that.

The plan as it stands right now is to cover the following, with super-explicit code (no "magical" implicit parameters):

  • Creating services with the gen_server behaviour
  • How to use the gen_fsm behaviour
  • Working with gen_event and notifications
  • Using supervisor to create supervision trees
  • Creating applications with the application behaviour
  • Making a "release" with relx

Depending upon content covered and the size of any give post's draft, these may get split into more than just those six. Watch the skies! Wait for the signal! LFE OTP tutorials are on their way!



Author

Published

23 May 2015

Category

tutorials

Tags