Didi

Didi

Any Phoenix related tips for someone without much webdev experience?

This is an issue I’ve found myself facing any time I get interested in web development/web frameworks. I’ve had experience using Django for university, and in that case I felt like I was being hand held to go from 0 knowledge to implementing a cookie cutter web application. When left to my own devices, the scale of complexity begins to get overwhelming.

I’ve recently been interested in Elixir and Phoenix, mainly for Pheonix’s proclaimed benefits with features like LiveView and how I instantly clicked with Elixir’s approach to functional programming. I’ve been going through the Phoenix tutorials on hexdocs and after the lengthy section on contexts, I realised that while following the docs in a project, taking notes, etc I feel like I’m getting in over my head. My abilities in Elixir to begin with are still at a beginner level, and while the tutorials I’ve been following have been incredibly well written (and in general the framework seems easier to understand than some others…), the idea of starting one of my own project ideas is quite intimidating.

This is not a problem that is exclusive to phoenix for me like I said - I generally don’t get on well with webdev so I don’t expect it to be easy. I was hoping I could get some inspiration from this community by asking you this: what were some of your small projects you worked on to learn Phoenix? What small projects have you worked on that exploit the defining characteristics of Phoenix to better understand them? And finally (the most googlable question, apologies), are there any other resources (books articles etc) that you would recommend for someone starting out with Phoenix, particularly geared towards someone without much webdev experience?

Most Liked

Dabsy

Dabsy

Its not uncommon to feel that way, its paralyzing to go from tutorials to just suddenly coding and its one of the biggest hurdles to being self-taught in anything. Best thing for it is to just start on your own starter project or idea you want to create, you need to learn to take something big and break it down, and then break that down event more until you have small focused and easily manageable chunks. Then whenever you don’t know how to do that one thing, refer back to a tutorial or googling.

Coding isn’t about knowing how to do everything, you gotta learn how to learn and how to turn something big into lots of small somethings.

(sorry missed the final questions)

I learned Elixir as my first language 6 years-ish back and my first project was a web scraper for presenting metadata. After that I’ve had various toys for learning stuff, an Ecommerce cart, an inventory management thing. Nothing ever took wings but I always tried to do something different and incorporate a new concept.

Phoenix really isn’t that much different from any other web framework, it does the cool elixir stuff for you. Just learn general web concepts that every language supports and you’ll be golden.

I’m book dumb so I can’t help you there, I’m always looking for new articles though.

derek-zhou

derek-zhou

The best learning vehicle is your own project solving your own problems. Don’t worry about technology fit; Any decent language can do any decent project if there is not much external dependency, and Elixir is certainly decent enough.

sodapopcan

sodapopcan

Let’s remember that LiveView is not at v1.0 yet. This means frequent breaking changes with each release, but that is to be expected. It’s annoying for now, but we’re almost there.

The default generators, as I understand it, are more geared towards learning than they are meant to be used by experienced users. If you are coming as an absolute beginner to web dev, as is OP, then every concept is going to be new and may as well throw streams in there. If you don’t agree, though, that is good feedback! But it’s not fair to claim that the authors aren’t focused on developer happiness or aren’t working toward stability.

Where Next?

Popular in Discussions Top

blackode
Elixir Upgrading is so Simple in Ubuntu and It worked for me Ubuntu 16.04 git clone https://github.com/elixir-lang/elixir.git cd elixir...
New
cvkmohan
The upcoming Phoenix 1.6 release looks very interesting. Became a habit to watch the commits - and - what they are bringing in. phx.gen...
New
owaisqayum
I have a sample string sentence = "Hello, world ... 123 *** ^%&*())^% %%:>" From this string, I want to only keep the integers, ...
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New
MarioFlach
Hello, I want to share a project I’ve been working on for a while: https://github.com/almightycouch/gitgud Background Some time ago I ...
New
Fl4m3Ph03n1x
Background This question comes mainly from my ignorance. Today is Black Friday, one of my favorite days of the year to buy books. One boo...
New
WildYorkies
It seems that the more I read, the more I find Elixir users speaking about all the ways that Elixir is not good for x, y, and z use cases...
New
AstonJ
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31142 143
New
100phlecs
Are there any downsides, like perf issues, to putting all functional components in CoreComponents as long as you prefix it with the conte...
New
pdgonzalez872
If this has been asked here before, please point me to where it was asked as I didn’t find it when I searched the forum. Maybe a mailing ...
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 29377 241
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 42920 311
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
jaysoifer
Is there a way to rollback a specific migration and only that one (“skipping” all the other ones)? Would mix ecto.rollback -v 200809061...
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
boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
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
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

We're in Beta

About us Mission Statement