About This Title

Pages: 210
Published: April 2024
ISBN: 9798888650318
In Beta

Skill Level Meter

From Ruby to Elixir

Unleash the Full Potential of Functional Programming

by Stephen Bussey

Elixir will change the way you think about programming. Use your Ruby experience to quickly get up to speed so you can see what all of the buzz is about. Go from zero to production applications that are reliable, fast, and scalable. Learn Elixir syntax and pattern matching to conquer the basics. Then move onto Elixir’s unique process model that offers a world-class way to go parallel without fear. Finally, use the most common libraries like Ecto, Phoenix, and Oban to build a real-world SMS application. Now’s the time. Dive in and learn Elixir.

eBook Formats:

  • PDF for desktop/tablets

  • epub for Apple Books, e-readers

  • mobi for Kindle readers

Get all eBook formats here for $27.95 (USD)

Add to Cart we accept visa, mastercard, amex, discover, paypal

This book is in Beta, final version expected Apr 2024

Beta Books: What do I get?


Whether you’re a seasoned Ruby developer looking to expand your skill set or a programming beginner looking for a solid foundation in Elixir, this book has what you need to get up to speed quickly. Elixir is a functional language with a fairly small footprint. This makes it easier to learn and put into production than other languages. Plus, it’s built on forty-year-old foundations that give your applications rock-solid stability.

The first part of this book is all about developing expertise in the language. Learn about the core data types, build application data structures, enumerate over data, and use pattern matching to control the flow of an application. Elixir has an amazing process model that allows for (actually) easy parallel processing. Learn how to tap into this process model so you can leverage that power yourself.

The second part of this book builds a real-world application using the most important libraries in a web developer’s toolbox. Each library is compared to its similar Ruby library so you’ll quickly see similarities and differences. We’ll use Ecto, Phoenix, and Oban to build a SMS application powered by Twilio.

What are you waiting for? Tap into your Ruby knowledge and start building scalable Elixir applications today.

What You Need

You’ll need Elixir 1.14+ and Erlang/OTP 24+ installed on a Mac OS X, Linux, or Windows machine.

Resources

Releases:

  • B4.0 2024/01/26
  • B3.0 2023/11/15
  • B2.0 2023/08/31
  • B1.0 2023/05/30

Contents & Extracts

Note: Contents and extracts of beta books will change as the book is developed.

  • Introduction
  • Fundamentals of Elixir
    • Why Elixir? Why Now? excerpt
      • The Joy of Ruby
      • The Case for Elixir
      • Erlang, OTP, Elixir, and Friends
      • Install Elixir on Your Computer
      • Write Your First Elixir Code
      • Wrapping Up
    • New Language, New Syntax
      • The Big Picture
      • Data Types
      • Operators
      • Module and Function Basics
      • Fun with Functions
      • Capturing Functions
      • Advanced Module Keywords
      • Compile Versus Run-Time
      • Wrapping Up
    • Working with Data
      • Lists—Not Arrays
      • Maps—Your Data Layer Foundation
      • Implementing Data Structures
      • Enumerating Data Structures
      • Wrapping Up
    • Pattern Matching Your Way to Success excerpt
      • Pattern Matching Basics
      • Use Patterns for Control Flow
      • Level Up Your Functions
      • Wrapping Up
    • GenServers: Build Cities, Not Skyscrapers
      • Parallelism vs Concurrency
      • Explore Elixir Processes excerpt
      • Go Parallel With GenServers
      • Be Parallel, Be Cautious
      • Build Cities, Not Skyscrapers
      • Wrapping Up
  • Tools of the Trade
    • Persisting Data with Ecto
      • What Will We Build?
      • The Foundations of Ecto
      • Write an Ecto Schema
      • Use Migrations to Create Database Tables
      • Use Changesets To Persist Data
      • Query Data with Ecto.Query
      • Put Everything in a Context
      • Wrapping Up
    • Serving Requests with Phoenix
      • Explore the Foundations of Phoenix
      • Route Requests through Phoenix
      • Serve Requests with Phoenix Controllers
      • Manage Static Assets
      • Use Components to Keep Your User Interface Clean
      • Phoenix is More Than Controllers
      • Wrapping Up
    • Outbound HTTP Requests with Tesla
    • Asynchronous Jobs with Oban
    • What Next?

Author

Steve Bussey is a software architect turned startup founder. He led the introduction of Elixir to an all-Ruby team, resulting in successful adoption of Elixir. Now, he uses Elixir to build his startup—Supered. He wrote Real-Time Phoenix, which teaches readers how to build scalable real-time Elixir applications. Steve is passionate about sharing Elixir due to the positive impact it has had on how he designs and develops applications.

eBook Formats:

  • PDF for desktop/tablets

  • epub for Apple Books, e-readers

  • mobi for Kindle readers

Get all eBook formats here for $27.95 (USD)

Add to Cart we accept visa, mastercard, amex, discover, paypal

This book is in Beta, final version expected Apr 2024

Beta Books: What do I get?

Related Titles:

Skill Level Meter

About This Title

Pages: 210
Published: April 2024
ISBN: 9798888650318
Edition: 1
In Beta