mchean

mchean

Some off the cuff thoughts about Elixir, Phoenix vs. PHP and Laravel

So a little background. I’m responsible for maintaining a number of legacy systems written in old languages (Dibol, Visual Foxpro) so I have very little experience with the web or functional programming. My company is upgrading to PHP and Laravel and I’ve been using some of the community resources to learn these technologies. Let me say that Laravel is a great framework and the community is unbelievably vibrant and productive. However, working my way through the tutorials for Laravel I would often hit a dead-end where some mistyped line would cause an error. And the errors in Laravel and PHP are daunting for a beginner. Programming in PHP, Laravel and Eloquent is a complex endeavour as dealing with the object hierarchy has caused me a lot of pain.
My experience with Elixir, Phoenix and Ecto using the Phoenix in Action book has been a breeze in contrast. Things are simple straight forward and they work! I am a very average programmer, but so far, I love the Elixir experience. I will have to go back into the Laravel world eventually but this is fun!

Most Liked

peerreynders

peerreynders

FYI:

Rasmus Lerdorf really didn’t envision PHP the way it evolved.

Rasmus Lerdorf: PHP in 2018 – phpCE 2018

So PHP evolved the way it did because of community pressure.

From PHP Frameworks Day 2013 - Rasmus Lerdorf:

Phillipp

Phillipp

During Laravel 4.x and early 5.x times, it was my goto tech stack. Laracasts.com taught me everything and I still think it’s the most awesome learning platform one could find.

However, I dislike the creator of Laravel and his practices. I am happy that I have found Elixir and Phoenix so I don’t ever have to get back to Laravel.

AstonJ

AstonJ

Pleased to hear you are enjoying Elixir and Phoenix - welcome to the community :+1:

Where Next?

Popular in Discussions Top

matthias_toepp
I’d love to hear what people think about Wisp, the new Gleam web framework started by Gleam’s primary creator Louis Pilfold. Gleam, alon...
New
mikl
I wanted to capitalize a string, and tried using String.capitalize(). That generally works well, until you try to capitalize a word like...
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
nunobernardes99
Hi there Elixir friends :vulcan_salute: In a recent task I was on, I needed to check in two dates which of them is the maximum and which...
New
AstonJ
I’ve just started the Phoenix part of the utterly brilliant online course by @pragdave. On generating the Phoenix app he uses the --no-ec...
New
Ankhers
Just a little information upfront. Generally speaking, if I feel like I need to either break a pipe chain or use an anonymous function in...
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
kostonstyle
Hi all How can I compare haskell with elixir, included tools, webservices, ect. Thanks
New
paulanthonywilson
I like Umbrella projects and pretty much always use them for personal Elixir stuff, especially Nerves things. But I don’t think this is ...
New

Other popular topics Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
Nvim
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help. Where are they similar? Where do they differ the m...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 53690 245
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement