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:

sb8244

sb8244

Author of Real-Time Phoenix

I’d say so. There are comparisons to Ruby made throughout, but it’s not like every code snippet is compared directly to Ruby (which would take up a ton of the book).

The book starts at ground zero in Elixir, no language experience at all. It builds up reading and writing Elixir before going into a larger project that focuses on how to use libraries.

Consider it my approach at teaching Elixir to beginners, except it’s bringing in a bit of the experiences that a Rubyist would be familiar with.

code-shoily

code-shoily

I am currently on the opposite journey (Elixir → Ruby and Phoenix → Rails) and am having so struggles too. I’ll be approaching your book with a more inversed out approach.

Where Next?

Popular in Books Top

AstonJ
https://www.packtpub.com/sites/default/files/3964_Elixir%20Cookbook_Cover_1.jpg https://www.packtpub.com/application-development/elixir...
New
PragmaticBookshelf
Joseph Koski Series editor: Sophie DeBenedetto @SophieDeBenedetto Developmental editor Adaobi Obi Tulton @aotulton Combine advanced fu...
New
AstonJ
By Simon St. Laurent If you’re new to Erlang, its functional style can seem difficult, but with help from this hands-on introduction, y...
New
peerreynders
by Elvio Vicosa @elviovicosa elvio Learning a new framework is hard As a seasoned Rails developer, you know Rails and its components...
New
germsvel
:waving_hand: Hi there, I’ve been working on a Test-Driven Development with Phoenix book. It teaches TDD and BDD by building a chat app ...
New
PragmaticBookshelf
Bruce Tate @redrapids edited by Jacquelyn Carter @jkcarter Elixir is a functional language that crosses many boundaries. With a syntax b...
New
AstonJ
Classing this as a free online book :003: By Sean Callan with help from the community Lessons about the Elixir programming langua...
New
kokolegorille
by Ulisses Almeida Elixir’s straightforward syntax and this guided tour give you a clean, simple path to learn modern functional program...
New
AstonJ
by Joe Armstrong A multi-user game, web site, cloud application, or networked database can have thousands of users all interacting at th...
New
peerreynders
Don’t forget you can get 35% off the ebook using the code ‘devtalk.com’ :023: This title will be available on or about 2018-11-10
New

Other popular topics Top

siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 41539 114
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

We're in Beta

About us Mission Statement