Learning Elixir

Unveil many hidden gems of programming functionally by taking the foundational steps with Elixir
Preview in Mapt

Learning Elixir

Kenny Ballou

1 customer reviews
Unveil many hidden gems of programming functionally by taking the foundational steps with Elixir

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$19.60
RRP $27.99
Save 29%
Print + eBook
$34.99
RRP $34.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$19.60
$34.99
$29.99 p/m after trial
RRP $27.99
RRP $34.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Learning Elixir Book Cover
Learning Elixir
$ 27.99
$ 19.60
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Buy 2 for $22.90
Save $32.08
Add to Cart

Book Details

ISBN 139781785881749
Paperback286 pages

Book Description

Elixir, based on Erlang’s virtual machine and ecosystem, makes it easier to achieve scalability, concurrency, fault tolerance, and high availability goals that are pursued by developers using any programming language or programming paradigm. Elixir is a modern programming language that utilizes the benefits offered by Erlang VM without really incorporating the complex syntaxes of Erlang.

Learning to program using Elixir will teach many things that are very beneficial to programming as a craft, even if at the end of the day, the programmer isn't using Elixir. This book will teach you concepts and principles important to any complex, scalable, and resilient application. Mostly, applications are historically difficult to reason about, but using the concepts in this book, they will become easy and enjoyable. It will teach you the functional programing ropes, to enable them to create better and more scalable applications, and you will explore how Elixir can help you achieve new programming heights. You will also glean a firm understanding of basics of OTP and the available generic, provided functionality for creating resilient complex systems. Furthermore, you will learn the basics of metaprogramming: modifying and extending Elixir to suite your needs.

Table of Contents

Chapter 1: Introducing Elixir – Thinking Functionally
Why functional?
Installing Elixir
Hello, World!
Exercises
Summary
Chapter 2: Elixir Basics – Foundational Steps toward Functional Programming
Everything is an expression
A short introduction to types
Invariable variables and pattern matching
Elixir structure
Elixir files
Exercises
Summary
Chapter 3: Modules and Functions – Creating Functional Building Blocks
Modules
Anonymous functions
Named functions
Calling functions
Grabbing functions
When patterns aren't enough for matching
Functional algorithms for everyday problems
Mix – the ladle of Elixir
Building functional projects
More to do about modules
Testing with comments
Exercises
Summary
Chapter 4: Collections and Stream Processing
Keywords, maps, and dictionaries
Flow-based programming
Stream processing and Elixir
Exercises
Summary
Chapter 5: Control Flow – Occasionally You Need to Branch
Branching with Elixir
Examples using branching
Exception handling
Determinism
References
Exercises
Summary
Chapter 6: Concurrent Programming – Using Processes to Conquer Concurrency
Parallel computation and concurrent computation
Erlang processes and OS processes
Basics of Elixir process
Applications
Summary
Chapter 7: OTP – A Poor Name for a Rich Framework
Applications
Gen(eric) behaviours
Supervisors
Exercises
Summary
Chapter 8: Distributed Elixir – Taking Concurrency to the Next Node
Obligatory discussion about distributed computing
Another short discussion about networks
Distributed computing with Elixir
Summary
Chapter 9: Metaprogramming – Doing More with Less
Behaviours and protocols
Abstract syntax trees
Our first macros
Context and macro hygiene
Macro examples
Domain-specific languages
With great power...
Exercises
Summary
Going forward

What You Will Learn

  • Explore Elixir to create resilient, scalable applications
  • Create fault-tolerant applications
  • Become better acquainted with Elixir code and see how it is structured to build and develop functional programs
  • Learn the basics of functional programming
  • Gain an understanding of effective OTP principles
  • Design program-distributed applications and systems
  • Write and create branching statements in Elixir
  • Learn to do more with less using Elixir's metaprogramming
  • Be familiar with the facilities Elixir provides for metaprogramming, macros, and extending the Elixir language

Authors

Table of Contents

Chapter 1: Introducing Elixir – Thinking Functionally
Why functional?
Installing Elixir
Hello, World!
Exercises
Summary
Chapter 2: Elixir Basics – Foundational Steps toward Functional Programming
Everything is an expression
A short introduction to types
Invariable variables and pattern matching
Elixir structure
Elixir files
Exercises
Summary
Chapter 3: Modules and Functions – Creating Functional Building Blocks
Modules
Anonymous functions
Named functions
Calling functions
Grabbing functions
When patterns aren't enough for matching
Functional algorithms for everyday problems
Mix – the ladle of Elixir
Building functional projects
More to do about modules
Testing with comments
Exercises
Summary
Chapter 4: Collections and Stream Processing
Keywords, maps, and dictionaries
Flow-based programming
Stream processing and Elixir
Exercises
Summary
Chapter 5: Control Flow – Occasionally You Need to Branch
Branching with Elixir
Examples using branching
Exception handling
Determinism
References
Exercises
Summary
Chapter 6: Concurrent Programming – Using Processes to Conquer Concurrency
Parallel computation and concurrent computation
Erlang processes and OS processes
Basics of Elixir process
Applications
Summary
Chapter 7: OTP – A Poor Name for a Rich Framework
Applications
Gen(eric) behaviours
Supervisors
Exercises
Summary
Chapter 8: Distributed Elixir – Taking Concurrency to the Next Node
Obligatory discussion about distributed computing
Another short discussion about networks
Distributed computing with Elixir
Summary
Chapter 9: Metaprogramming – Doing More with Less
Behaviours and protocols
Abstract syntax trees
Our first macros
Context and macro hygiene
Macro examples
Domain-specific languages
With great power...
Exercises
Summary
Going forward

Book Details

ISBN 139781785881749
Paperback286 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Learning Vue.js 2 Book Cover
Learning Vue.js 2
$ 35.99
$ 25.20
Building Applications with Scala Book Cover
Building Applications with Scala
$ 39.99
$ 28.00
Practical Machine Learning Book Cover
Practical Machine Learning
$ 37.99
$ 26.60
The Majesty Of Vue.js Book Cover
The Majesty Of Vue.js
$ 31.99
$ 22.40
Mastering Clojure Book Cover
Mastering Clojure
$ 39.99
$ 28.00