A look at modern PHP
11–20 of 610 posts
Re: A look at modern PHP
#12PHP hater sheeps incoming
I cut my teeth on it years ago, I don't hate on it for cheap jokes. That said I don't know why anyone would pick it to start a new project in 2020. We've been lucky to have so many new and established options that are better in almost everyway.
such as?
Re: A look at modern PHP
#13PHP hater sheeps incoming
I cut my teeth on it years ago, I don't hate on it for cheap jokes. That said I don't know why anyone would pick it to start a new project in 2020. We've been lucky to have so many new and established options that are better in almost everyway.
Recently I had to develop a very small CMS that manages personal web pages and it was a requirement that it could be installed very easily (i.e., by copying a single file) on virtually any hosting provider. PHP was (and is) still the natural candidate for such projects.
Re: A look at modern PHP
#14PHP's raison d'être remains its ease of getting an instance running on a webserver. But with fewer people self-hosting these days, that has become less an advantage. And even for those who do self-host, the advantage is becoming narrower as other languages have made it easier to distribute their web applications.
Pascal, COBOL, Oracle DB and PHP today seems like technologies that only stick around because they are legacies being maintained, not because people start new grand projects with them. Would Wordpress have chosen PHP if they started today?
Re: A look at modern PHP
#15Scripting and command line automation is executed better by Python and Ruby, which excel for writing Unix scripts and tools.
I do not see what the use case for PHP is in 2020.
PHP has one of the most abhorrent language syntax designs this side of Perl, and the standard library is wildly inconsistent.
I really wish PHP would just die. Continuing to drag it along like the dead carcass it is wastes so much human effort. The longer it exists, the longer we have to support it.
Re: A look at modern PHP
#16Re: A look at modern PHP
#17But for larger projects the available frameworks are just okayish. I think Symfony is closest to what a good framework should be. But every time I use it I wish it would be like .NET
Today .NET core is also available on Linux and very easy to deploy so I don't think I will ever start a big project in PHP again.
But for quick smaller and CMS[1] projects PHP is still my goto language.
[1] If you are looking for a great PHP CMS: https://processwire.com/
Re: A look at modern PHP
#18I've been using PHP for over 15 years and always liked it. There is no other webserver language that's so easy to use and so deployable while still being fast. But for larger projects the available frameworks are just okayish. I think Symfony is closest to what a good framework should be. But every time I use it I wish it would be like .NET Today .NET core is also available on Linux and very easy to deploy so I don't…
Re: A look at modern PHP
#19Maybe the worst thing is the composer (it's slow.)