Long live PHP

A translation of the article was prepared ahead of the start of the Backend PHP Developer course .




Rumors of PHP dying exaggerated

W3Techs, PHP 79% -, . , . PHP . , PHP - .


This weekend, our post about discussing the place of PHP in the TIOBE index for September caused a lot of discussion. This morning we want to continue talking about PHP, but this time with the words of Jyotirmai Samantha, who wants the world to know that life in this old woman is still warm. Before you move on to the article, if you are a PHP developer working on an interesting project, why not contact us and talk about it - editor@jaxenter.com. Now let's move on to the article!

The hype surrounding the WordPress Gutenberg editor blocks made from JavaScript instead of PHP made everyone wonder: β€œIs the PHP era over?” Well no! At least that's what the statistics say. W3techspublished a report saying that "79% of all websites about which their server programming languages ​​are known" use PHP. These are 8/10 sites! So, we still assume that PHP is here seriously and permanently.

The PHP trend has declined slightly over the past year, somewhere around 1%. But the number of developers has not decreased. That is, developers learn the language and strive to develop PHP applications .



According to a TechRepublic article , PHP is still on the list of β€œ7 programming languages ​​that every developer should learn in 2018.” So why do we constantly hear people say that language is dead? Let's look at a few myths.

Why is there a myth that PHP time is up?


PHP does not scale and runs slowly. These are the most discussed myths. Is it really? Facebook, Wikipedia, Slack and WordPress are developed using PHP.

Wikipedia is the fifth most visited website, and as of 2019, Facebook has more than 2.38 billion active users per month. Not scaled? Repeat please?

And with the latest versions of PHP, it is faster than ever. According to hackr.io , PHP 7 is three times faster than Python. How do you like that! But if you are not a developer, these statistics will not matter to you. So, let's see why choosing PHP as the base of your technical stack does not mean disaster, as you are told.

PHP Business Elements: Why Develop Enterprise PHP Applications?


A bunch of developers


As I mentioned earlier, 8 out of 10 sites still run on PHP. This means that developers know how to program in PHP, both experienced and beginners. It also results in an easy job search. In applications received by Binaryfolks, more than 80% of applicants have experience working with PHP.

Low development costs


PHP has existed since time immemorial. The fact that it is an open-source server-side programming language helps reduce costs. In addition, developers can choose from several environments, and can also use the tools and features provided by these open source environments.

With PHP, you can create a decent software application for less than $ 15,000!

Faster Market Entry


The tools, features, and code snippets provided by open source PHP environments help accelerate application development. PHP has a huge library of open source packages ( https://packagist.org/ ) that can be used in different environments, thereby saving a huge amount of development time.

In addition, the code generation function on some platforms helps to automatically generate code based on the settings and parameters chosen by the developers. Save time again!

Strong community support


We all fight bugs from time to time. Since the language has existed for so long, there is a huge community of developers who are ready to provide instant support, unlike many other programming languages.

Scalability


Scalability is the first thing that pops up when we talk about application development (like commercial application development [ie ERP]). You must consider that ERP can cope with the growing workload or, more simply, with the ability to adapt to growth.

PHP applications become scalable by adding more servers to the server group. Workload between servers is distributed by load balancers.

Safety


PHP has a bad reputation when it comes to application security. But contrary to popular belief, it rarely has any built-in security flaws. Security problems arise mainly due to developers who implement the language.

But PHP 7 brought security improvements that really modernized the language security protocol. Some security tips in PHP are to regularly update it using htmlspecialchars to avoid cross-site scripting using ORM like doctrine or eloquent to minimize SQL injection attacks, etc.

The language is still the best choice if you want Develop an e-commerce site or your own CMS. In addition, it is preferred for API development.

In fact, PHP is ready for a revival. Version 7.1 seems like a completely new language with new improved features. I am sure that he will only develop and develop better and stronger. The greatness of PHP is that it has open source code. This leads to complete transparency of the code and a large community of developers, which leads to new ideas, accelerated development and troubleshooting.

You may not like PHP, but calling it dead is too much. The fact that the development team is focused on one particular language does not mean that all other languages ​​are dead or dying. As the latest trend in celebrity death proclamation in 2018 has subsided, I hope the PHP cry has also subsided! Amen!



Blue-green deploy. Free lesson



All Articles