Elixir Foundations And Practices


Download Elixir Foundations And Practices PDF/ePub or read online books in Mobi eBooks. Click Download or Read Online button to get Elixir Foundations And Practices book now. This website allows unlimited access to, at the time of writing, more than 1.5 million titles, including hundreds of thousands of titles in various foreign languages.

Download

Learn Functional Programming with Elixir


Learn Functional Programming with Elixir

Author: Ulisses Almeida

language: en

Publisher:

Release Date: 2018-03-05


DOWNLOAD





Elixir's straightforward syntax and this guided tour give you a clean, simple path to learn modern functional programming techniques. No previous functional programming experience required! This book walks you through the right concepts at the right pace, as you explore immutable values and explicit data transformation, functions, modules, recursive functions, pattern matching, high-order functions, polymorphism, and failure handling, all while avoiding side effects. Don't board the Elixir train with an imperative mindset! To get the most out of functional languages, you need to think functionally. This book will get you there. Functional programming offers useful techniques for building maintainable and scalable software that solves today's difficult problems. The demand for software written in this way is increasing - you don't want to miss out. In this book, you'll not only learn Elixir and its features, you'll also learn the mindset required to program functionally. Elixir's clean syntax is excellent for exploring the critical skills of using functions and concurrency. Start with the basic techniques of the functional way: working with immutable data, transforming data in discrete steps, and avoiding side effects. Next, take a deep look at values, expressions, functions, and modules. Then extend your programming with pattern matching and flow control with case, if, cond, and functions. Use recursive functions to create iterations. Work with data types such as lists, tuples, and maps. Improve code reusability and readability with Elixir's most common high-order functions. Explore how to use lazy computation with streams, design your data, and take advantage of polymorphism with protocols. Combine functions and handle failures in a maintainable way using Elixir features and libraries. Learn techniques that matter to make code that lives harmoniously with the language. What You Need: You'll need a computer and Elixir 1.4 or newer version installed. No previous functional programming or Elixir experience is required. Some experience with any programming language is recommended.

Elixir Foundations and Practices


Elixir Foundations and Practices

Author: Richard Johnson

language: en

Publisher: HiTeX Press

Release Date: 2025-06-01


DOWNLOAD





"Elixir Foundations and Practices" "Elixir Foundations and Practices" is an authoritative exploration of the Elixir programming language, designed for software developers seeking to master modern functional programming and distributed application design. The book begins with a deep dive into the origins of Elixir and its powerful synergy with the BEAM virtual machine, laying a solid foundation for understanding concurrency, fault tolerance, and code organization. Practical discussions on the nature of immutable data, robust runtime pipelines, and best practices for structuring large-scale projects seamlessly introduce readers to the core pillars of building reliable systems. Advancing into the realm of advanced functional programming, the text thoroughly covers Elixir's expressive syntax—highlighting pipe patterns, composition, and sophisticated pattern matching. Readers are guided through higher-order functions, lazy evaluation, recursion optimization, and the unique approach to error handling that underpins Elixir's legendary robustness. Mastery of metaprogramming is within reach, as clear step-by-step sections reveal the power of macros, code generation, domain-specific language construction, and the intricacies of compile-time transformations. To prepare readers for real-world deployment, the book offers comprehensive coverage of concurrent processes, the OTP framework, distributed systems, and high-availability design. Deep technical insights into testing methodologies, debugging concurrent and distributed systems, and ensuring code quality are paired with thorough guidelines for integration—whether interfacing with Erlang, working with databases, or building scalable web APIs using Phoenix. Security, observability, and operational best practices are woven throughout, empowering developers to create resilient, scalable, and secure Elixir applications for demanding production environments.

Mastering Elixir


Mastering Elixir

Author: André Albuquerque

language: en

Publisher: Packt Publishing Ltd

Release Date: 2018-07-30


DOWNLOAD





Leverage the power of Elixir programming language to solve practical problems associated with scalability, concurrency, fault tolerance, and high availability. Key Features Enhance your Elixir programming skills using its powerful tools and abstractions Discover how to develop a full-fledged file server Understand how to use Phoenix to create a web interface for your application. Book Description Running concurrent, fault-tolerant applications that scale is a very demanding responsibility. After learning the abstractions that Elixir gives us, developers are able to build such applications with inconceivable low effort. There is a big gap between playing around with Elixir and running it in production, serving live requests. This book will help you fll this gap by going into detail on several aspects of how Elixir works and showing concrete examples of how to apply the concepts learned to a fully fledged application. In this book, you will learn how to build a rock-solid application, beginning by using Mix to create a new project. Then you will learn how the use of Erlang's OTP, along with the Elixir abstractions that run on top of it (such as GenServer and GenStage), that allow you to build applications that are easy to parallelize and distribute. You will also master supervisors (and supervision trees), and comprehend how they are the basis for building fault-tolerant applications. Then you will use Phoenix to create a web interface for your application. Upon fnishing implementation, you will learn how to take your application to the cloud, using Kubernetes to automatically deploy, scale, and manage it. Last, but not least, you will keep your peace of mind by learning how to thoroughly test and then monitor your application. What you will learn Use Elixir tools, including IEx and Mix Find out how an Elixir project is structured and how to create umbrella applications Discover the power of supervision trees, the basis for fault-tolerance Create a Domain-Specifc Language (DSL) that abstracts complexity Create a blazing-fast web interface for your application with Phoenix Set up an automatic deployment process for the cloud Monitor your application and be warned if anything unexpected happens Who this book is for Mastering Elixir is for you if you have experience in Elixir programming and want to take it to the next level. This Elixir book shows you how to build, deploy, and maintain robust applications, allowing you to go from tinkering with Elixir on side projects to using it in a live environment. However, no prior knowledge of Elixir is required to enjoy the complex topics covered in the book.