Pitfalls for modern PHP







The release of a new major version of the language is always an opportunity to both look back and evaluate the path already traveled, and try to look far ahead and predict what awaits us in the future, so itโ€™s not surprising that there have been a lot of discussions on this topic in the community lately .







After many discussions on this issue, I would like to share with you the conclusions that I have come to: under the cut you will find out what difficulties PHP will face in the coming years.







The language itself has come a long way from the dubious quality of a set of scripts to a modern, full-fledged and productive language that can really solve a lot of problems facing businesses of different sizes and the main difficulty for the language, in my opinion, is that it tries to sit on several chairs at once.







Note



"" , , , . , Symfony Wordpress, , Wordpress .







PHP ""



-, -, . PHP , .







, VPS FTP, .







, , , , , : php " " , , , .







- PHP CMS, , , .







, , , , , . , , , . : , , , .







- : MVP , - .

, , , "", , PHP. , Facebook, VK, Slack, .







, , , " CMS": . , , , .







PHP



, , . , " " PHP , , . , , , , , PHP .







, - " PHP".







, " PHP" , Java ( C#).







Java -, . โ€œโ€ , ( IDE ), PHP . Java , , , .







, PHP Java-, . " " ? .







, PHP , โ€œ Javaโ€. : โ€œโ€ , ?







, : , "", PHP , , .







PHP



, , php , :







  • PHP , golang/nodejs/{any modern lang} , / " ", , .
  • PHP , golang/nodejs/{any modern lang} " ", "" โ€” .
  • PHP , , typescript/scala/kotlin/*.
  • PHP , Java "" , .
  • , , low latency, , , php , ( nginx, phpfpm - , - ) .


, PHP , , , "" .







: , PHP? โ€œโ€ , , , ?









, PHP : CMS 10$ , , , . ? "" , ?

.







, : , , PHP . .

, , ada, smalltalk, delphi , ruby, , - , , .







, โ€œ PHPโ€ , , .







, , โ€œโ€ โ€œโ€ PHP #1.







And of course, no one forces you to write in PHP alone, everyone will transfer loaded places to applications on golang, work with sockets on a node and twist it all in Kubernetes, but this is a completely different story.








All Articles