DEV Community

Discussion on: Happy PHP8 (4 Is Over)

Collapse
 
aschwin profile image
Aschwin Wesselius

I started using PHP in 1999, so I’ve seen the progress (PHP5) and stagnation (PHP6) from up close.

Also the different framework changed places in the competition many times.

I do love PHP but I don’t think it’s for all purposes equally fitting. Especially enterprise level implementation has certain requirements that are not easily met when using PHP.

Besides that, the SDLC gets expected to be shorter and shorter while the quality should improve too. Not easy to do and certainly not with PHP.

This brings me to the next point. PHP depends on open source support and thus the community of volunteers. The evolution of the language is thus depending on the speed, time and willingness of the volunteers to implement. On top of that decisions need to be made so someone needs to guide this process too. With PHP6 it was slow and almost deadly to PHP.

PHP is not the only language either. But for the future it needs to become a platform like JAVA or .NET to survive as a tool to accomplish things professionally.

I don’t say it’s dying. I only say it needs to step up and follow the direction the fore mentioned platforms are taking and help the developers not bothering with plumbing and the mundane things.

I can implement a solid REST API in ASP.NET in half an hour to do some CRUD. Yes, you can do so with Laravel but the quality differs too much to say the result is the same.

Point is, I love PHP but the first love is gone. It needs to mature fast(er) and cope with requirements we have today not 5 or 10 years ago. Building micro-services (the proper way) is undoable with PHP compared to .NET. There are so many plumbing elements to consider that don’t come out of the box in PHP.

Yes, .NET and JAVA have a steeper learning curve so for beginners it’s not easy or motivating to pick up. But to really build robust and secure applications PHP needs so many third party stuff from Composer instead of PHP delivering things by default.

Yes, .NET has NuGet and JAVA has Maven or what not. But the most simple dependable stuff for robustness and safety comes right out of the platform.

Collapse
 
andersbjorkland profile image
Anders Björkland

Great input, Aschwin! I've but recently opened my eyes to the collective effort that is PHP. Compared to Java or .NET it doesn't have a huge corporation backing it or taking the lead. We'll see what the recently announced foundation (a JetBrains initiative) can do to support the development of PHP, but I imagine it would be very difficult (impossible?) for it to compete on enterprise level performance and security with Java or C#/.NET.