mchean

mchean

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!

Showing Posts 1 to 9

AstonJ

AstonJ

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

Rainer

Rainer

I’ve used PHP on some smaller projects for years before switching to Elixir/Phoenix recently. I never wanna go back :smiley:

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.

yurko

yurko

Laravel was pretty good, but in my opinion it moves in a wrong direction for some time now. Framework reached stable state some time ago (around 5.1 or something) but it still gets weekly updates each with some changes and new features that honestly barely usable and look like marketing trick to maintain hype, here are few later ones:

etc

Compare it to phoenix, relatively “new” framework that is only updated when updates are needed or ecto that explicitly reached stable state Ecto 3.0 is out and stable API

I just feel at ease with such “pragmatic” approach to changes, so if we ignore language and paradigm holy wars that would be a major plus for Elixir ecosystem.

OvermindDL1

OvermindDL1

Ooo wow, I relate to your pain. ^.^;

If you’re using a recent version of PHP, PHP now supports strong typing, I highly highly recommend using the strong typing capabilities, it will catch a lot of errors at load time instead of sometime later. :slight_smile:

Even if laraval isn’t using strong typing yet, it will still help on your side, though not as much, but definitely still worth it.

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:

mythicalprogrammer

mythicalprogrammer

Holy cow, I haven’t hear about smarty since forever. That’s around 2008 or something.

Yeah PHP evolved because of pressure and people hacking at it. IIRC he created to build a web counter. Also the name of :: is super funny and interesting (PAAMAYIM NEKUDOTAYIM).

I think it have come along way, adding classes, namespace, etc… It supposedly faster now too with JIT.

I personally believe it’ll be here forever because of facebook, wordpress, wikipedia, etc… there is so many existing tools and momentum that making stuff fast and easy. Many people just want to make stuff not wrestle with the tools.

acrolink

acrolink

Any news, new experiences since that time :slight_smile: ? PHP has evolved, Laravel has evolved .. I worked with both (Elixir and Laravel), but for an upcoming project I am not sure which one to choose ..

code-shoily

code-shoily

Good to hear praise for “Phoenix in Action” book. It is such an underrated book. I wish more web framework books were written in that style.

I went to Phoenix with Django background. For me the wow factors were, more than real-time-ness, was how Phoenix stays out of your way and lets you organize your code and decouple things as per your/your teams’ style preference.

But Laravel getting low points because of tutorials is something I never heard before. Laracasts and friends did good job.

— All posts loaded —

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
AstonJ
Since we have deprecated our Erlang sections (as we have dedicated Erlang Forums now) let’s add this thread for those who’d like to post ...
New
maennchen
:warning: Security advisory: Decimal DoS vulnerability A vulnerability has been published for decimal where very large exponents can cau...
New
Null-logic-0
What IDE or editor are you using for Elixir development? Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New

Other Trending Topics Top

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
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
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
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
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews