3 ms·
I would echo other comments suggesting you start by learning Rails, but if you really want to learn Elixir/Phoenix first I would probably start by playing with
by bananaoomarang 9y ago
I would echo other comments suggesting you start by learning Rails, but if you really want to learn Elixir/Phoenix first I would probably start by playing with Elixir, since Phoenix obscures a lot of things (similar to Ruby/Rails).
Here's a video which sweeps through some basics: https://www.youtube.com/watch?v=pBNOavRoNL0 https://www.youtube.com/watch?v=pBNOavRoNL0
- q1t 9y agoCan you provide an example please of these obscured things in Phoenix? Don't want to sound harsh, just learning Phoenix as well.
- s_kilk 9y agoThey probably mean all the `using` macros, which can obscure where functions are coming from, and make it hard to get a grip on which functions are available in a given scope. Having said that, Phoenix is nowhere near as 'magical' as rails.
- Veen 9y agoAgreed. I found it confusing at first but once I understood that these things are laid out in web.ex it was quite easy to follow the chain to the original functions. I was also confused by where the helper functions came from, but when I realized that some of them are generated automatically from route definitions at complile time, things became clearer.