Keksoj

Keksoj

Hello everyone,

The combo Elixir + Phoenix has been recommended to me by a very good friend to which I asked what the best framework is to build web applications.
My knowledge of programming is limited as I’m still learning (Rust, mostly, and some javascript tools).

My friend told me to go through the official documentation, but it’s all about syntax, typing stuff into iex, which is rather boring. So i went to the elixir koans.
Now don’t get me wrong. I love the koans, they are funny and thorough, and I will finish this course (I’m halway through).

HOWEVER what I would like is something like the Rust Book. It progressively explains ever-harder features of the language and steadily gives examples to write and compile on my own. There is a lot of talk, detailed explanations, and a clear path that gives small rewards on the way.

Is there anything of the like for elixir ? Some kind of progressive playground ? Everywhere I go I see small chunks of code that isn’t compiled but executed. I’d like to see what an actual programm looks like, be it as small as “hello world”, and grow from there.

Maybe I’m wrong in my whereabouts. If so, please explain me why, and what the best path would be for me.

Showing Posts 1 to 5

peerreynders

peerreynders

Welcome to the forum!

What are your feelings on: Introduction to Mix?

If you like that style then Elixir In Action (Manning) (2nd Edition) might be your speed.
If the functional programming aspect is giving you trouble Learn Functional Programming with Elixir (Pragprog) may be a better primer (Chapter 1: free from here).

AstonJ

AstonJ

I’m currently reading Programming Phoenix (Pragprog) where you get to follow along while creating an app (and I’m SO pleased you create an auth system as well!) and I also thoroughly enjoyed PragDave’s Elixir for Programmers (PragDave) where you get to code an app in an almost personal tutoring style.

If you prefer shorter examples of coding along, I agree with Peer about Elixir In Action (Manning) - you get to build things like GenServers and Supervisors from scratch which I really enjoyed, because it shows how things work under the hood which I believe helps give you a much better understanding of things.

IIRC, Learn Functional Programming with Elixir (Pragprog) did something similar with Maps :003:

Honestly though, I highly recommend every Elixir and Phoenix book (particularly those published by professional publishers like PragProg and Manning) - we are lucky to have some brilliant resources; check them out here Learning Resources > Books and Learning Resources > Courses and good luck :023:

patrickdm

patrickdm

Some kind of progressive playground ?

Well, as you asked about web applications… I know no better playground than the one you get with mix phx.new playground --no-ecto,

I’d start with it to build a simple Hello World page with a picture of choice .. (--no-ecto to skip database and its dependencies) … then play around with more features.

As with foreign languages, you learn a lot more syntax and words by actually using the lang you want to learn… even if nobody understands you at the beginning :slight_smile: (here the elixir compiler will be carefully listening to you)

So don’t waste too much time looking for resources, build something, you’ll have plenty of specific questions to search for then (an infinite stream of…). Have fun.

Keksoj

Keksoj OP

Thanks to all for the kind and thought out replies! I’ll be looking into those. I’ll let you know what I chose :wink:

patrickdm

patrickdm

I’d like to see what an actual programm looks like, be it as small as “hello world”, and grow from there.

You can try $ mix phx.new hello_world --no-ecto for a web application, with phoenix. Or a simple elixir program with: $ mix new hello_world

— All posts loaded —

Where Next? Top

Trending in Chat/Questions Top

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews