joshd

joshd

Phoenix for a new startup vs Rails or Laravel or Django

Hey everyone,

Apologies in advance for this novel. Looking for some deep nugget of insight I just haven’t found after being conflicted on this for too long, really hoping someone can help!

I’ve been scouring the internet in a situation I’m hoping someone else has been in. I’m a new dev ~2/3 years and started in php. I grew to dislike the usual things about it. My choices are to invest more time into a language I don’t like (would use Laravel) or change and take the obvious upfront production hit. But I’ll be committed to my startup for years, shouldn’t I choose something I actually like? (the common wisdom seems to be “do what’s productive right now”). Most of the ideas I have either involve communication, community, project management, or e-learning. This developaralysis articles sums up my situation nicely: Code is the Cure for Developaralysis | Brightball

I mean my dream is after a few months I become super confident writing elixir code, the community flourishes, my business takes off instantly and the perfect business partner falls from the skies and we make something people want in pure joy. (haha) In fact I think likely the exact opposite will happen (probability-wise). SO:

  1. Do you all think Phoenix is there in terms of productivity/learning curve for a new dev to justify going with it?

  2. Is there anyone that started their project with Phoenix and regretted it = slowed them down too much? The lack of stackoverflow questions / libraries does scare me because I don’t have enough experience to confidently roll my own and I think the time it takes to do that in the first place could just mean disaster.

  3. As it stands, which framework would you suggest most over Phoenix (taking into account my desire not to use PHP, but the obvious trade-offs of spending time learning a language instead of focusing on the problem domain)

  4. It looks like Elixir/phoenix interest actually went down instead of up in the last year? Whereas Laravel and Django are both increasing - can anyone explain this?

-Introducing Stack Overflow Trends - Stack Overflow
-https://trends.google.com/trends/explore?date=today%205-y&q=%2Fm%2F0pl075p

Most Liked

kokolegorille

kokolegorille

There is not so much qa on SO because of this forum :slight_smile:

praveenperera

praveenperera

I also had about 2/3 years of experience when I switched from Rails. It did take me a little while to become productive with elixir and phoenix. But now, I think I’m way more productive in elixir than I ever was in ruby. For new projects I always prefer to use elixir when possible. I’m more productive in it and I enjoy it more. The one big knock against elixir and phoenix used to be the ecosystem, but I don’t think that’s much of an issue anymore. You can find a package for most things now.

As for the lack of stackoverflow answers I wouldn’t worry about that too much, I’ve found the elixir community on this forum, on slack and in IRC to be very helpful.

I also think learning elixir made be a better developer in general, because learning functional programming forced me to think about problems in a different way. Even now when I go back to Ruby I tend to write in a more functional style.

Finally as a startup if you do need to hire in the future it will probably be much easier to attract good elixir devs than good Ruby, Python or PHP devs. I know this is true in my area (Toronto), and I assume that its true in others as well.

acrolink

acrolink

Phoenix over them all. As soon you learn it , you won’t look back. I regret to some extent the time I spent learning some CMS. Phoenix and Elixir are great. I see no limitations as to usability and features. Performance is great and writing code is way less verbose than Java or PHP.

Where Next?

Popular in Questions Top

marius95
Hello everyone, I try to use an Javascript Event Handler in my root.html.leex file. Therefore I created a function in the app.js file: ...
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
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
vac
Hi, I’m quite new in Elixir and I’m trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and I...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
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
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New

Other popular topics Top

AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
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
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
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
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
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
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New

We're in Beta

About us Mission Statement