My Account Log in

1 option

From Ruby to Elixir : unleash the full potential of functional programming / Stephen Bussey.

Ebook Central Academic Complete Available online

View online
Format:
Book
Author/Creator:
Bussey, Stephen, author.
Language:
English
Subjects (All):
Functional programming languages.
Elixir (Computer program language).
Object-oriented programming languages.
Ruby (Computer program language).
Physical Description:
1 online resource (213 pages)
Edition:
1st ed.
Place of Publication:
[Place of publication unknown] : The Pragmatic Programmers, LLC, [2024]
Summary:
From Ruby to Elixir by Stephen Bussey is a comprehensive guide designed to ease the transition for Ruby developers into the Elixir programming language. Emphasizing functional programming, the book delves into the philosophies and practicalities of Elixir, offering a blend of theory and hands-on examples. It covers key areas such as data types, pattern matching, concurrency with GenServers, and web development with the Phoenix framework. The book also introduces tools like Ecto for database interaction and Oban for asynchronous job processing. Aimed primarily at Ruby programmers, it also serves as a valuable resource for developers from other languages like Java and Python, providing foundational knowledge and advanced insights into Elixir's capabilities. Generated by AI.
Contents:
Cover
Table of Contents
Acknowledgments
Introduction
Who Should Read This Book?
About This Book
About the Code
Online Resources
Part I-Fundamentals of Elixir
1. Why Elixir? Why Now?
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
2. New Language, New Syntax
The Big Picture
Data Types
Operators
Module and Function Basics
Fun with Functions
Capturing Functions
Advanced Module Keywords
Compile Time vs. Runtime
3. Working with Data
Lists-Not Arrays
Maps-Your Data Layer Foundation
Implementing Data Structures
Enumerating Data Structures
4. Pattern Matching Your Way to Success
Pattern Matching Basics
Use Patterns for Control Flow
Level Up Your Functions
5. GenServers: Build Cities, Not Skyscrapers
Parallelism vs. Concurrency
Explore Elixir Processes
Go Parallel with GenServers
Be Parallel, Be Cautious
Build Cities, Not Skyscrapers
Part II-Tools of the Trade
6. 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
7. 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
8. Outbound HTTP Requests with Req
Decide on Which HTTP Client to Use
Prep Your Project for Req
Use Req to Make Requests
See Your App in Action
Wrapping Up.
9. Asynchronous Jobs with Oban
Understand Async Job Systems
Explore Asynchronous Jobs in Elixir
Implement an Oban Worker
More About Oban
10. Testing Elixir
Create Your First Test
Test an Ecto Query
Test External API Requests
Test Phoenix Requests
Test Oban Jobs
11. The Future of Elixir
Deployment and Observability
Real-Time Apps with LiveView
GraphQL with Absinthe
Machine Learning with Nx and Bumblebee
Type Systems
The End of Our Journey
Bibliography
Index
- SYMBOLS -
- A -
- B -
- C -
- D -
- E -
- F -
- G -
- H -
- I -
- K -
- L -
- M -
- N -
- O -
- P -
- Q -
- R -
- S -
- T -
- U -
- V -
- W -.
Notes:
Description based on publisher supplied metadata and other sources.
Part of the metadata in this record was created by AI, based on the text of the resource.
Description based on print version record.
Includes bibliographical references.
Other Format:
Print version: Bussey, Stephen From Ruby to Elixir
ISBN:
9798888650745
OCLC:
1439601818

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account