rey

rey

Can I learn / use Phoenix without fully learning all that Elixir has to offer?

Hey all,

First post! I really fell in love with Elixir and Phoenix, and the community as well.

So here’s my problem: I’m a front end developer by trade. Elixir (Phoenix) will be my first backend language that I’m seriously trying to learn (I’ve tried before with python and php earlier in my career, but quickly lost interest, half because of the api / documentation, and half because once I learned, I didn’t know of anything interesting I wanted to build.

I want to learn Elixir & Phoenix to build websites. So I’m about 100 pages into the Programming Elixir book by Dave Thomas, in addition to 52% into the video Hangman course by Dave Thomas (I started with the course, then tore open the book as I wanted them to go more over data structures, pattern matching, and recursion).

The problem I’m having though, is the same one as always: I’m being confronted with tons of “Enum” methods which I have no chance of ever remember or caring about. I want to just start actually using Phoenix to build a site.

So my question is: do I for some reason need to completely finish this Elixir book before I move onto Phoenix? Or should I just finish the course and that would be good enough?

Most Liked

Eiji

Eiji

Don’t try to remember that! That’s definitely not a good way to learn anything related to documentation.

I don’t believe that you would need to pay for anything and read any books. Of course they are awesome and would help a lot, but you can definitely deal with Elixir without them.

Here is my general proposition:

  1. Firstly learn basics (like guides from official website). You can’t use Phoenix without Elixir, so its definitely required.

  2. After it take a look at least one good website for learning Elixir like ElixirSchool. After that your knowledge should be enough to learn on your own way faster or slower.

  3. Once you read them you should (it’s not requirement) read whole Elixir API module by module.

    Of course you should not remember anything of that. You should know that something like this (here: specific function) exists, so when you are stuck then you can return back to specific documentation much more faster - that’s point - it’s basically your learning optimization i.e. if you know what you want to find then it’s already 90% of your research. :slight_smile:

  4. After that I recommend to read some forum posts and Slack conversations for example elixir-news. I think that @josevalim explains best his ideas and takes lots of his time to answer questions even from beginners. Being so close allows you to understand way of programming in Elixir like why this is introduced, why it has biggest priority, why this should be implemented as standalone library etc.

  5. If you are going to use database go to step 1, but change Elixir to ecto. Welcome in infinite loop. :smiley:

  6. At this step take care of Phoenix guides. It’s your final step. I don’t believe that there is quicker free way to write good Elixir code and use Phoenix.

Make sure you consider also optional steps. They are like friends in MMORPG games which can level up you much quicker. :smiley:

Other threads which may help you:

  1. What is your number one tip for anyone new to Elixir?
    I think it’s related thread. Some tips always under price. :077:

  2. Why Enum.filter_map is deprecated?
    I choose this one as a simple example of thinking in core team.

  3. Your Elixir Tips Thread
    Again tips … Is it déjà vu already or just another my SPAM tip? :slight_smile:

  4. https://stackoverflow.com/questions/37445838/returning-values-in-elixir
    This is important example especially when you used another language before. Elixir is much easier to learn in my opinion. It’s like a cat i.e. really cute syntax, but follows its own way. :077:

  5. Elixir's biggest gotchas?
    The biggest gotcha is actually not read this thread! :smiley:

10
Post #7
peerreynders

peerreynders

dimitarvp

dimitarvp

IMO any time you might save now you will repay tenfold down the line in the future. Not worth it.

I went through the official Elixir tutorial in one long weekend afternoon.

Where Next?

Popular in Questions Top

New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
JulienCorb
I am trying to implement my new.html.eex file to create new posts on my website. new.html.eex: <h1>Create Post</h1> <%= ...
New
LegitStack
I’m trying to make a websocket server in Phoenix or raw Elixir. I heard about gun, I think I could use cowboy, but since I’m not that sma...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
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
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New

Other popular topics Top

danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 29603 241
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement