
From Ruby to Elixir
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Person
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. 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.
Content
- 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
- Wrapping Up
- 3. Working with Data
- Lists-Not Arrays
- Maps-Your Data Layer Foundation
- Implementing Data Structures
- Enumerating Data Structures
- Wrapping Up
- 4. Pattern Matching Your Way to Success
- Pattern Matching Basics
- Use Patterns for Control Flow
- Level Up Your Functions
- Wrapping Up
- 5. GenServers: Build Cities, Not Skyscrapers
- Parallelism vs. Concurrency
- Explore Elixir Processes
- Go Parallel with GenServers
- Be Parallel, Be Cautious
- Build Cities, Not Skyscrapers
- Wrapping Up
- 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
- Wrapping Up
- 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
- Wrapping Up
- 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
- Wrapping Up
- 10. Testing Elixir
- Create Your First Test
- Test an Ecto Query
- Test External API Requests
- Test Phoenix Requests
- Test Oban Jobs
- Wrapping Up
- 11. The Future of Elixir
- Deployment and Observability
- Real-Time Apps with LiveView
- GraphQL with Absinthe
- Machine Learning with Nx and Bumblebee
- Type Systems
- Wrapping Up
- 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 -
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.