Erlang and Elixir for Imperative Programmers


This book is no longer available for sale.

Erlang and Elixir for Imperative Programmers

About the Book

The printed version of this book and the eBook will be available in November/December 2016 from Apress.

In 2014 I started to develop an application for a Kenyan startup. Basically it is a repository for digital assets and one requirement is to deliver those assets in binary form quickly and reliably, being able to deal with at least hundreds of requests per second.

Since I could decide the architecture and software stack of the solution, I immediately was thinking of Erlang and its libraries and started to evaluate this option. It was not long after that when my eye was also on Elixir, which sits on top of the Elixir virtual machine and has features more palatable for non-functional programmers, although it is a functional programming language itself.

This book gives you a basis for deciding yourself if the effort is viable for your next project. It is partly a tale of my own experience, partly a description of the bigger and more subtle differences between Erlang/Elixir to languages like C++, Java or C#.

About the Author

Wolfgang Loder
Wolfgang Loder

Wolfgang is programming software since the 1980s. He successfully rejected all calls for management roles and remained hands-on until now.

His journey went from Assembler and C to C++ and Java to C# and F# and JavaScript, from Waterfall To Agile, from Imperative to Declarative and other paradigm changes too many to list and remember.

Most of his career Wolfgang was a contracting 'Enterprise Developer', so the introduction of 'new' languages, frameworks and concepts is very slow in this field. Once he decided to develop his own products he was free of such constraints and ventured into all sorts of paradigms, be it NoSQL or functional and evaluating all the latest ideas, crazy or not. In other words, he has fun developing software.

Wolfgang was born in Vienna, Austria and lives in the UK and Kenya.

Table of Contents

    • Foreword
    • About the Book
  • Part 1: Before we start
      • Chapter 1: Imperative vs. Functional Programming
      • Chapter 2: From Erlang to Elixir
      • Chapter 3: Setting your Mind
  • Part 2: The Service
      • Chapter 4: Service Overview and Design
      • Chapter 5: Service Features
  • Part 3: The Setup
      • Chapter 6: Environment and Deployment
      • Chapter 7: Development Setup
      • Chapter 8: Production Setup
  • Part 4: Implementing the Service
      • Chapter 9: Overview
      • Chapter 10: Public Interface
      • Chapter 11: Asset Processing
      • Chapter 12: Deployment
  • Part 5: Patterns and Concepts
      • Chapter 13: Overview Patterns and Concepts
      • Chapter 14: Functional Concepts
      • Chapter 15: Type Creation Concepts
      • Chapter 16: Code Structuring Concepts
    • Where to go from here?
    • Appendix A: Modeling
    • Appendix B: Resources
    • Appendix C: Features-Framework-Concepts Matrix
    • Appendix D: Quick Guide to Erlang and Elixir
    • About the Author

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Do Well. Do Good.

Authors have earned$10,462,200writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF, EPUB and/or MOBI files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub