PragmaticBookshelf

PragmaticBookshelf

Forum Sponsor

From Ruby to Elixir (PragProg)

Stephen Bussey @sb8244

edited by Jacquelyn Carter @jkcarter

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.

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.

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.

Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout :+1:

Most Liked

sb8244

sb8244

Author of Real-Time Phoenix

Hi folks, author here!

My journey is Ruby → Elixir (well, some things before that as well). I struggled a bit the first few times I tried to get into Elixir (despite the fantastic guides and docs). I just couldn’t connect A → B to see how to actually connect the dots.

This book connects back to terms and tools I already would have known about (from my Ruby background) in order to help others adopt Elixir faster.

I take the approach of splitting up theory and practice in my books. Part 1 is in the beta and 95% complete. It has all of the theory and what you’d need to read / write Elixir programs. Part 2 is in the works (1 chapter out) and will be using common libraries to build an SMS app.

code-shoily

code-shoily

Nice to see Oban and Tesla make appearances in a book.

AstonJ

AstonJ

Congrats on your second book Stephen! :partying_face: I am sure lots of people will find it useful, especially if it includes “Rails to Phoenix” in it as well… or maybe that could be your third book :lol:

Where Next?

Popular in Books Top

meraj_enigma
New book from Packt publication that goes into teaching how to write a web framework using Elixir. About this book Elixir’s functional...
New
AstonJ
by Benjamin Tan Wei Hao The Little Elixir & OTP Guidebook gets you started programming applications with Elixir and OTP. You begin w...
New
New
AstonJ
https://www.packtpub.com/sites/default/files/3964_Elixir%20Cookbook_Cover_1.jpg
New
akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
PragmaticBookshelf
Isaak Tsalicoglou Built for the curious, this isn’t your average programming book—it’s nearly 500 pages of hands-on mentorship beyond cod...
New
benwilson512
by Bruce Williams and Ben Wilson Your domain is rich and interconnected, and your API should be too. Upgrade your web API to GraphQL, le...
New
waseigo
by Isaak Tsalicoglou Why this book is being written A few years ago I got fed up with the menial manual labor I was engaged in in our f...
New
PragmaticBookshelf
Alexander Koutmos @akoutmos Elixir Patterns aims to surface the powerful and unique characteristics of the Erlang virtual machine and sho...
New
New

Other popular topics Top

danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 29305 241
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
Nvim
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help. Where are they similar? Where do they differ the m...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
vegabook
I'm brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement