Ask HN: Looking for the best Phoenix/Elixir/Erlang Tutorials
Hi.
I am just starting out in web development and am looking for any tutorials on Phoenix/Elixir/Erlang. I am not familiar enough in the language to a) know if a tutorial will actually compile (I have had issues with this in the past) and b) how recent the tutorial needs to be given the latest updates to the language builds. Any and all tutorials where I can build an actual thing would be very useful to me as would resources such as "this in x minutes" that gives snippets of code that do something. I find large documentation sources good for exploring ideas later, but at first I need to get to compile something, if for nothing else than my own sanity.
Thank you in advance for your help :D
27 comments
[ 1.7 ms ] story [ 50.1 ms ] threadI have the Phoenix PragProg book but I found the tutorial more informative for beginners.
While I like Elixir a lot, I'm not sure that it's the best place to start. I'd find an ecosystem that is more stable and has more reliable resources available. Try starting with Rails or Django, maybe.
Bottom line, learning to write software well is hard, no matter what language you're in. What is probably weaker in the Elixir sphere is the amount of blog posts that go deeper than "Yay elixir", but there are some really high-quality books that are a good subsitute. Here's the order I usually recommend for new Elixirians:
1) Dave Thomas' Programming Elixir 2) Sasa Juric (http://theerlangelist.com/) Elixir in Action (blog is also great) 3) Programming Phoenix (Jose Valim, Chris McCord, Bruce Tate) 4) Lance Halvorsen's Functional Web Development with Elixir, OTP, and Phoenix should probably be in there somewhere but I'm not sure where, as I haven't had a chance to read it yet. 5) Designing for Scalability with Erlang and OTP is a good followup when you're comfortable with the syntax and concepts from OTP
[1] https://pragprog.com/book/elixir13/programming-elixir-1-3
[2] https://www.manning.com/books/elixir-in-action?a_aid=sjuric
[3] https://pragprog.com/book/phoenix/programming-phoenix
[4] https://pragprog.com/book/lhelph/functional-web-development-...
[5] http://shop.oreilly.com/product/0636920024149.do
Here's a video which sweeps through some basics: https://www.youtube.com/watch?v=pBNOavRoNL0
Having said that, Phoenix is nowhere near as 'magical' as rails.
https://app.rdstation.com.br/mail/e7d43299-3fb4-4405-afbe-d6...
https://github.com/h4cc/awesome-elixir#resources
what sold me was the fact crystal was compatible with most ruby gems.
curious to hear, what do you guys think of crystal?
[1]https://elixirschool.com
[2]http://howistart.org/posts/elixir/1/index.html
[3]https://elixirforum.com/
https://pragmaticstudio.com/elixir
For a more thorough experience, however, I would absolutely recommend you to have a look at the books the Elixir community has produced. As you're specifically asking for tutorials (and not other sources for learning), my best recommendation would be Programming Phoenix [2], a book written by the creators of Elixir and Phoenix.
The book is structured so that most of it is focused on building one specific web application, so you can follow along from start to finish and build something far more interesting than just a run-of-the-mill blog (and learn a lot about Elixir and Phoenix in the progress).
[1] https://hackernoon.com/introduction-fe138ac6079d [2] https://pragprog.com/book/phoenix/programming-phoenix
I totally love Phoenix and and Elixir, I wish I were able to work with it more! Good luck and enjoy :)
This course is free, recent and take you from beginning to the end.
Disclaimer - I work at the above service
https://github.com/iNeedThis/phoenix-starter