The Rubyist's Survival Guide to Elixir and Phoenix (expanded and updated for 2023)

Ғылым және технология

An introduction and overview of Elixir and Phoenix for Ruby developers (though if you know Python or similar already, it will probably be useful to you). Come learn how to survive in the jungle if all you have is Elixir and Phoenix! Perfect for the curious mind who knows what they're doing but is new to Elixir and wants a solid taste.
You've heard of this "better Ruby" before, and it sounds intriguing. It's performant, very scalable, and functional. But, it's a bit weird. It looks a lot like Ruby, but there's some big things that are different.
Note: The content here was originally developed for a conference presentation (Ruby HACK 2019). The original recording is still good and has value, but had two flaws that I've heard regret expressed about:
1. The content is rushed due to time constraints
2. The audio is poor and video is meh
This video is a re-recording of the same presentation, but with the full intended content, a few bug fixes, and some updates for 2023. Regrettably and to my horror, there was a hard-learned lesson for me about running the camera through a USB hub 🤦‍♂️. For about 10 minutes there is stuttering and loss of audio sync. I tried to re-sync the audio during editing as best I can, but the differential varies so wildly and frequently that after 4 hours of effort it's still not great. Lesson learned!
But overall I think the result is pretty good. I hope it's helpful and enojoyable for you.
Links mentioned in video:
1. What are 12 Factor Apps and Why Should You Care?: • What are 12 Factor App...
2. Intro to Containers (aka Docker): • Intro to Containers (P...
3. Dockerizing 2048: • Intro to Containers (P...
4. Forming Elixir cluster automatically (useful in K8s):
A. Hexdocs: hexdocs.pm/libcluster/readme....
B. Github: github.com/bitwalker/libcluster
5. Communities:
A. Elixir Slack Team: elixir-slackin.herokuapp.com/
B. Elixir Discord: discord.me/elixir-lang
C. #elixir-lang on Libera Chat

Пікірлер: 15

  • @alurma
    @alurma Жыл бұрын

    Your channel is a gem (pun indented)!

  • @gauntleteer
    @gauntleteer Жыл бұрын

    A ton of work went into this, so thank you for making the effort and slogging through the recording woes.

  • @freedom_ben

    @freedom_ben

    Жыл бұрын

    Thanks! Much appreciated. Yes it took a ridiculous amount of time lol ⏳

  • @tylerdback2025
    @tylerdback2025 Жыл бұрын

    Although I don't have a background in Ruby, I really enjoyed this presentation! I've spent the past few days learning more about Elixir, and I have really been enjoying it! I've also taken a look at learning some Ruby too, just for some extra fun and as another alternative to Bash scripting. Thanks for putting in all the effort, and don't worry, I won't let anyone know about the Rakefiles :-)

  • @amozossify
    @amozossifyАй бұрын

    Fantastic video. Concise and expert comparison. Thank you so much!

  • @chrisr236
    @chrisr236Ай бұрын

    No Ecto vid! 😮 Great introduction, thanks

  • @mianaviatte
    @mianaviatte11 ай бұрын

    That's literally what I was looking for! Thanks a lot!

  • @diegocasmo
    @diegocasmo10 ай бұрын

    Thanks a lot for putting this together, it’s been really helpful!

  • @williamguiraud4992
    @williamguiraud4992 Жыл бұрын

    Thank you very much for this high quality work. I really enjoyed watching.

  • @varshneydevansh
    @varshneydevansh Жыл бұрын

    Amazing video

  • @BryanChance
    @BryanChance3 ай бұрын

    I had limited experience with Ruby years go and I couldn't stand it as I learned more Ruby. I just discovered Elixir recently and nothing about it resembles Ruby save some syntax semantics. I love Elixir! Learned it enough to be productive in a weekend. Even though there are a couple of wacky syntax like default value "\\" , concat string "" and "=" is not really an assignment. But it make sense. I don't have the "WTF is this suppose to do.." LOL ..The whole Elixir platform/ecosystem is sensible. Easily replace several backend stacks with Elixir.

  • @encapsulatio
    @encapsulatio Жыл бұрын

    And what CPU bound performance solutions are there inside Erlang ecosystem and Beam itself besides just calling Rust or ZIg or C code that does the heavy lifting? It would also be cool to see videos on you exploring Pony...much easier to learn than Rust but same guarantees and it's also based on the ideal form of actor model, it is made for high performance distributed stuff and it's a shame that no one is really talking about it.

  • @GameGeek-yi9mb
    @GameGeek-yi9mb10 ай бұрын

    is it possible to use |> only once and then pipe x map x => fn,fn,fn,fn (x) because that's how I would do it in JS ... /ramda

  • @OilersFlash
    @OilersFlash9 ай бұрын

    You use ruby for your script? I’m trying to understand what you mean by that. Can you clarify?

  • @freedom_ben

    @freedom_ben

    9 ай бұрын

    Yes, I still use Ruby for the vast majority of scripts that I write. Elixir is getting really good though, maybe even better now with `Mix.install/2`. Most of my production machines already have ruby installed and the Ruby stdlib is pretty good so I rarely need to add dependencies, and Ruby is fairly well-known so others can participate pretty easily.

Келесі