by johntdaly · 5y ago · 0 comments
PHP isn’t something I ever want to touch again (its libs are wonky and I dislike the syntax choices of the last years) but the execution model was sort of nice before the frameworks (an entry point with a clean state you can work yourself through).
The statistics are a bit misleading though. Just because 80% of the sites run PHP in some way doesn’t mean there are that many Jobs. A lot of the work with PHP world is not necessarily going to be PHP work (a lot of HTML, JavaScript and Plugin configuration) and there is complexity in learning your way around a system well enough to build plugins. The jump from beginner to expert has become harder for a new PHP programmer because the real programming is hidden behind a wall of already existing code that just needs to be installed, configured and customized.
I’m glad I got out when I did because I get to actually program APIs and Single Page Apps rather than just being a glorified PHP webpage mechanic.
There's not much wrong with modern PHP. Symfony and Laravel projects are a joy to work with. The standards and tooling is there too with composer, phpunit, PSR-4.
I don't think you've ever been into PHP if you was only wrenching in old projects.
Thing is those OLD projects where new when I was working on them. When I got into WordPress back then It was NEW. When I got in to jQuery it had 3% market share and it was the underdog. A lot of the arguments you might be sick of hearing about, well back then they where valid.
It's legacy is a hell I agree but quite irrelevant and getting old.
You know the saying “There are two types of programming languages, the ones you love and the ones you use”. That sort of thing. AND it still doesn’t invalidate my points:
1) PHP is relevant because of the software already written in it and that will not just get rewritten because PHP isn’t HOT anymore.
2) If you are a new PHP developer you are most likely going to be shoved into a job that has more to do with configuring, maintaining and customizing those preexisting systems.
3) Because of that getting from being a beginner PHP dev to an expert PHP dev is going to be harder than it should be.
4) There are going to be less PHP jobs in proportion to its usage out there because so many of the PHP jobs fall into the configuring, maintaining and customizing schema in comparison to other languages.
The changes and improvements are dramatic and wonderful. Improvements in speed, security, error processing, functionality/integration with databases, Composer, etc...
While I am not suggesting you go back to PHP, but things are simply not the same anymore.