Click here to Skip to main content
15,887,477 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: So, about PHP... Pin
Ovidiu Gabriel15-Mar-24 5:45
professionalOvidiu Gabriel15-Mar-24 5:45 
AnswerRe: So, about PHP... Pin
Peter Adam15-Mar-24 1:10
professionalPeter Adam15-Mar-24 1:10 
GeneralRe: So, about PHP... Pin
Jeremy Falcon15-Mar-24 4:08
professionalJeremy Falcon15-Mar-24 4:08 
GeneralRe: So, about PHP... Pin
Peter Adam15-Mar-24 4:40
professionalPeter Adam15-Mar-24 4:40 
GeneralRe: So, about PHP... Pin
Jeremy Falcon15-Mar-24 5:34
professionalJeremy Falcon15-Mar-24 5:34 
AnswerRe: So, about PHP... Pin
BryanFazekas15-Mar-24 2:49
BryanFazekas15-Mar-24 2:49 
GeneralRe: So, about PHP... Pin
Jeremy Falcon15-Mar-24 4:13
professionalJeremy Falcon15-Mar-24 4:13 
AnswerRe: So, about PHP... Pin
jkirkerx15-Mar-24 8:17
professionaljkirkerx15-Mar-24 8:17 
I didn't read the replies first, but will post my response to the question.

I started working on a customers PHP project in Sept 2020, which was written in PHP 4.2 between 2004 to 2010 by some Chinese students from China. They did a terrible job, and everything you can possibly do wrong they did wrong. I can't even read the code. Anyways, it was so bad, that I told the customer that they really need to sort of start from scratch again.

Why I chose pure PHP 7.4 for them. Drum roll please ....
Because of time and money ...

So many of the new technologies are constantly being updated so fast, that it's hard to keep up with the changes. PHP 7.4 is still that Swiss Army knife that can do almost anything, and PHP doesn't bug you to update code, or doesn't require a team of skilled software engineers to maintain over decades. Once you write it and deploy, it can run for a long time without more time and money. I can move on to the next project, and the customer can use their new app for years to come, and pass that app to their next generation of children that will take over the business when they come home from College or University.

Our economy in the US has a strong service sector, comprised of small business owners with family involved, and have become generational now spanning their services across decades of time. I look at pure PHP 7.4+ from an economic point of view, and not from a superior technology point of view, considering time, labor, capital investment and maintenance being more stable and predictable across good times and bad.

I don't agree with PHP Laravel as being a framework built on PHP, but opted for pure PHP, in which I was able to build a near MVC type of Web Application using modern objects and smarter HTML views with the objects, and include robust HTTP request and response handling, and robust security features.

I have no regrets in my decision for my customers path forward, and I'm very happy with the results. Well that's my argument for PHP. May not be what you were expecting to hear or read, but I hope it satisfies your thirst to know why.
If it ain't broke don't fix it
Discover my world at jkirkerx.com

GeneralWhy did they make it so weird? Pin
honey the codewitch14-Mar-24 4:29
mvahoney the codewitch14-Mar-24 4:29 
GeneralRe: Why did they make it so weird? Pin
glennPattonWork314-Mar-24 5:48
professionalglennPattonWork314-Mar-24 5:48 
GeneralRe: Why did they make it so weird? Pin
Mike Hankey14-Mar-24 6:36
mveMike Hankey14-Mar-24 6:36 
GeneralRe: Why did they make it so weird? Pin
glennPattonWork314-Mar-24 9:23
professionalglennPattonWork314-Mar-24 9:23 
PraiseRe: Why did they make it so weird? Pin
Jalapeno Bob14-Mar-24 9:26
professionalJalapeno Bob14-Mar-24 9:26 
GeneralRe: Why did they make it so weird? Pin
glennPattonWork314-Mar-24 10:23
professionalglennPattonWork314-Mar-24 10:23 
GeneralRe: Why did they make it so weird? Pin
Jalapeno Bob14-Mar-24 11:05
professionalJalapeno Bob14-Mar-24 11:05 
GeneralRe: Why did they make it so weird? Pin
Peter Adam15-Mar-24 1:14
professionalPeter Adam15-Mar-24 1:14 
GeneralRe: Why did they make it so weird? Pin
honey the codewitch15-Mar-24 4:37
mvahoney the codewitch15-Mar-24 4:37 
GeneralRe: Why did they make it so weird? Pin
Peter Adam15-Mar-24 5:18
professionalPeter Adam15-Mar-24 5:18 
GeneralRe: Why did they make it so weird? Pin
honey the codewitch15-Mar-24 6:34
mvahoney the codewitch15-Mar-24 6:34 
GeneralRe: Why did they make it so weird? Pin
jsc4215-Mar-24 4:35
professionaljsc4215-Mar-24 4:35 
GeneralRe: Why did they make it so weird? Pin
RogelioP / EX DE,HL16-Mar-24 3:53
professionalRogelioP / EX DE,HL16-Mar-24 3:53 
GeneralHappy Pi Day! Pin
Cp-Coder14-Mar-24 2:03
Cp-Coder14-Mar-24 2:03 
GeneralRe: Happy Pi Day! Pin
Peter_in_278014-Mar-24 2:06
professionalPeter_in_278014-Mar-24 2:06 
JokeRe: Happy Pi Day! Pin
Daniel Pfeffer14-Mar-24 2:34
professionalDaniel Pfeffer14-Mar-24 2:34 
GeneralRe: Happy Pi Day! Pin
glennPattonWork314-Mar-24 4:05
professionalglennPattonWork314-Mar-24 4:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.