Elixir Cookbook
by: Paulo A Pereira
Print Length 页数: 270 pages
Edition 版次: 1
Publisher finelybook 出版社: Packt Publishing
Publication Date 出版日期: 2015-02-24
ISBN-10: 1784397512
ISBN-13: 9781784397517
Book Description
By finelybook
Unleash the full power of programming in Elixir with over 60 incredibly effective recipes
About This Book
Use Elixir to solve common problems associated with scalability,concurrency,fault tolerance,and high availability
From command line to external API interaction,experience the joy of using this new language
Explore the concepts of data structures,immutability,and data transformation with the help of practical recipes
Who This Book Is For
This book is intended for users with some knowledge of the Elixir language syntax and basic data types/structures. Although this is a cookbook and no sequential reading is required,the book’s structure will allow less advanced users who follow it to be gradually exposed to some of Elixir’s features and concepts specific to functional programming. To get the most out of this book,you need to be well versed with Erlang.
In Detail
This book is a set of recipes grouped by: topic that acts as a good reference to get ideas from or to quickly search for a solution to a problem. You will begin by: launching an IEx session and using it to test some ideas. Next,you will perform various operations like loading and compiling modules,inspecting your system,generating a supervised app,and so on. Furthermore,you will be introduced to immutability,working with data structures,performing pattern matching,and using stream modules to generate infinite data sequences. You will learn about everything from joining strings to determining the word frequency in text. With respect to modules and functions,you will also discover how to load code from other modules and use guards and pattern matching in functions.
Table of Contents
Chapter 1. Command Line
Chapter 2. Data Types and Structures
Chapter 3. Strings and Binaries
Chapter 4. Modules and Functions
Chapter 5. Processes and Nodes
Chapter 6. OTP – Open Telecom Platform
Chapter 7. Cowboy and Phoenix
Chapter 8. Interactions