Hacker News new | ask | show | jobs
by vr46 1207 days ago
I've been trying to get into Elixir and I figured Phoenix was the way to do it, but I have to agree about the resources for Phoenix, learning it has been a nuisance, and sucked all the fun out that I might have been unfairly expecting.

Elixir itself has been enjoyable, but I have a project to build now, so it's either back to Rails or revisit PHP after 17 years.

3 comments

If you know Rails and want to learn Phoenix then I wrote a course that's specifically aimed at you:

http://phoenixonrails.com

I apologize for the self-promotion, but to soften the blow here's a coupon for $10 off that anyone reading this can use, valid for the next 48 hours: VR46HN

Well done, you might want to know that on mobile it breaks somewhat because images are too wide and break out of the container. Tested on Firefox iOS.
I took a gander, the content is rather good!
Thanks!
> I've been trying to get into Elixir and I figured Phoenix was the way to do it, but I have to agree about the resources for Phoenix, learning it has been a nuisance, and sucked all the fun out that I might have been unfairly expecting.

That's what happened to me too, except I started learning it in 2017. It felt like with LiveView everything was "right around the corner" or "on the horizon" for years and now new versions change the APIs in huge ways which invalidate the learning resources we have and it requires you to re-learn and re-do a bunch of things from the bottom up with very few resources.

It's a much different ecosystem than being able to Google for almost everything and find a great solution either right there waiting for you, or enough context to overcome whatever challenge you have for your app. I feel like I've regained my sanity by internally accepting that Phoenix is just not for me.

A good project based book that goes pretty in depth is: https://pragprog.com/titles/liveview/programming-phoenix-liv... It focuses more on the live view aspects than restful crud, but usage underneath liveview will be the same either way (contexts, plugs, ecto, etc)
Have you tried the official guides in the doc? It should be up to date.