Is Php really dead? or It’s still everywhere?

Is Php really dead? or It’s still everywhere?

This subject has been discussed so much in recent years that I followed it with amazement because it was peculiar how programming language fanatics would attack each other and come back empty-handed at the end of the day. As a software developer who prepares many projects well enough to turn them into startups and an investor considering sector opportunities, I am writing this article. So we will stay away from what can be regarded as sensations and talk about the facts. Let’s start!

I want to point out that these issues, which started with the pressures that started mainly in the university years, were fired due to the process of directing to the programming language and platforms such as forums and Reddit. You ask why? Because it has no meaning. I was acting entirely under the influence of authoritarian people or popular people/companies. For example, although Vuejs is very successful on paper in terms of performance and learning curve, there is a situation where Reactjs is used everywhere. The only difference between these two projects is that someone owns all the popular applications like Facebook, which are not very reliable. Doesn’t it get support in Vuejs like all other projects? Of course, it does, but the real thing here is how many people you start this business with. There’s probably someone around everyone who talks about the never-ending problems with projects using Reactjs. They are not wrong, and with my ten years of experience, I can say that it has a much more problematic structure than described.

So why did PHP start to be humiliated so much? Actually, the answer is straightforward because people don’t know how to do shit. For example, when these people don’t get any errors during the debugging process, they post on Twitter and expect attention, affection, or something from someone like an attention maniac. The number of these people who apply for jobs by creating a to-do app is genuinely insignificant. They never cease to act as parasites invading the entire industry. What’s interesting is their potential to appear almost anywhere. They usually try to hide that they don’t know shit by squeezing industrial-technical terms like children learning a new foreign language between their sentences.

Another group is mediocre university professors who love to impose their opinions on their students. Most university professors have known the software alongside Python and have learned this programming language partly because of the ease of its learning curve. However, they are entirely disconnected from the programming culture and are egotistical people. These people never stop teaching their students concepts that they may not like, and what they do is cruelty. Because they put their students in the middle of a pretty wild industry by putting on blinders and watching the hyenas tear them apart. Afterward, they make fun of it by saying, “This is what happens if you don’t improve yourself.” So, did you manage to teach this child your primary task, learning? Of course not. You, college professor, have raised a sheep to be herded completely, and that person will only come out of this influence after 30 years of age.

In addition, university professors think that they can do everything by learning Python because they do not have time. This thought turns into a dictation over time and affects their students. For example, these people try to compete with their competitors by writing websites in Python, including performance and all other issues. This incident, which I even laughed at while writing, is, unfortunately, actual, and many think that Python is the best way to create a standard website.

Self-actualized developers know that Python is the wrong choice unless you have a specific purpose in the web world. Before coming to the last of the groups that we can give examples of, I would like to point out that programming languages offer different solutions and solutions for other areas. So instead of defending blindly, get off your ass and step out of your comfort zone, don’t be afraid to learn a new language or tool.

The last group I will talk about is the unconscious CEOs and CTOs. Even though this type of people has started to disappear from the industry, they are still trying to survive. Most straightforwardly, such people can be called educated illiterates. Because, contrary to what they say, the purpose of their life is not to develop a product that will help someone or achieve business success. These people only desire to rule someone and something. They need to appreciate their peers and the industry for wanting to head in whatever way. They, too, get caught up in language fanaticism under the influence of populism and constantly transform the company. Today they build their infrastructure using Reactjs. Tomorrow some new crap pops up, and they jump right into it. They are annoying people that can cause cancer to their employees, and often company projections are never within reach due to such people. The opposite result would be surprising.

What is the actual status of PHP today?

I may have been a little aggressive until this part of the article, but this is not because I love PHP very much, but because I was angry with the mistakes people made on the way to the selection. At the end of the article, I will mention this situation, but now let’s talk about the current use of PHP and how often it is used.

Nowadays, PHP may seem to have lost its popularity based on search results, but I should mention that there is no decrease in PHP-related content, questions, or answers on every platform you can think of. In other words, PHP is a programming language that has gained a permanent place in the web world by taking advantage of its old age and is very familiar when we look at the speed of content production according to search results. Programming languages, as you know, have types. For example, script-based languages, compiled languages, etc. like. Although none of them is superior to the other, what distinguishes programming languages ​​is their use and development purposes. Since PHP was released, it has offered you many advantages, both server-based and client-side, to develop a web application from scratch. For example, Python is used for computation in the scientific community due to its purpose, and today this purpose is focused on the subject of AI. Javascript, on the other hand, is famous for being a scripting language that doesn’t mean anything on its own, but if you want to operate an application without refreshing the page, that is, if you’re going to improve your product in UX, it is a structure you need. The herd’s effect that chases after populism, which I mentioned above, harms both the developer experience and the user experience.

PHP is the best way to develop a web application because that’s what it was created for. It has come to this day by constantly evolving, being tested, and being analyzed by a large community, and it will continue for a long time. The language identified as failing in the web domain is PHP, but ASP.NET is the absolute failure. It’s entirely obsolete nonsense.

So why don’t other developers, except populists, dislike PHP?

People may have personal reasons for liking or not liking things. However, we can list the reasons that can be accepted by everyone as follows:

  1. Complexity: Because PHP is a long-developed language, it can be difficult for beginners or people passing through different languages. Because of the effect of the development time, it can be seen as quite complex. PHP has hundreds of helper functions, definitions, and 10s of ways to do a job. This can create confusion.
  2. Documentation: The issue I want to mention about the document is that it is not easy for beginners, rather than insufficient. Go to the php.net page and look at the documentation. You can see something much more complex than the real thing, and the documentation only contains technical information about the language.
  3. Information Pollution: There is such a problem with PHP. In other words, if you are not using a framework, you may not be sure whether you are doing a job correctly due to the wide range it contains. In other words, if you are not working with a globalized framework such as Laravel or Symfony, you should set the standards yourself. This directly affects performance, code quality, and standardization in applications operating under high load.

Others and PHP

With the developing and changing industry, Php vs. We started to see comparisons with many languages in the form of examples. We will now touch on the most popular of them. I hope this chapter can tell you why there is no war between language and technologies.

  1. Python & PHP: Today, Python has started to be used on the web with frameworks such as Django and Flask. However, according to PHP, it manages to stay in class on issues such as a painful deployment process, backend performance, and security. In all the metrics and neutral articles you will examine, you can see the problems, performance losses, and security problems caused by many tools that cannot be adapted for the web. Are there ways to overcome them? Of course, there is. But this will undoubtedly complicate and lengthen the development process. So unless you’re developing a particular product, you shouldn’t consider using Python for the web.
  2. Nodejs & PHP: This boy, who looks sexy from the outside, can set fire to your server and in your wallet. Nodejs and its frameworks, which evolved from javascript, meet the needs of my developers to be able to program server-side in a language they are familiar with. However, when compared to other languages, the server fills your CPU limit so quickly and excessively that you will encounter screens that constantly hang, crash, or give errors. If you have the chance to increase your budget, you may not experience these problems, but you will get the most expensive solution from Nodejs compared to the work it does. Nodejs is generally used to create API services rather than the backend of an application. In this case, it can do an excellent job with the concurrent structure.
  3. Golang & PHP: If a programming language ends with PHP, it will probably be Golang. But today, the newly popular Golang is still incomplete. In other words, it falls short in terms of workload on the developer. In addition, although its ever-growing community is promising, unfortunately, it does not have a community that can look for solutions to all your problems in its current state. You will have difficulty using many concepts that you are familiar with due to language examples that seem easy from the outside and documentation or language-based deficiencies. In addition, it does not currently offer as much flexibility as other languages ​​in the deployment process. So, besides not being able to experience rapid development and deployment process, you can get frustrated with the community. On top of all that, Golang is a genuinely fantastic language. However, if you want to develop something with this language, I recommend you be experienced in programming. Otherwise, you can become a Golang Hater. Today, it is preferred when creating server-side microservice structures, but Echo, etc. It can quickly turn into a powerful backend language with frameworks. Compared to PHP, Golang is technically superior. I leave an excellent article that I recommend you to read: 1.5M Throughput with Golang at Trendyol.
  4. Spring Boot (Java) & PHP: Java can come out of any shit. Java is a language that is very popular everywhere and by corporate companies. However, this disadvantage is the high costs in the deployment and development processes. Spring Boot is a web framework created for Java, but when you google it, you can see that it is constantly in trouble with security. Ignoring this, you can think of it as a solution that performs head-to-head with Nodejs but is much more expensive than Nodejs. In general, I saw that many companies use it when they want to adapt their desktop applications for the web. Therefore, I will never support the cumbersome development nature of Java.

Choose The Right Language for Purpose!

Instead of being a language and framework fanatic, Google it and see why sample projects were developed with that language. Then take a look at people’s experiences and choose a language based on what you want to do. In this way, you will be able to stay away from all these ridiculous discussions and do your job. Remember, only ignorant people pull things. Those who know the job know what to do and do their job in a way that fits their purpose without getting into polemic. So don’t be a sheep, don’t be a programming language fanatic like people who turn into hooligans while watching a football game. Just do your job correctly.

Conclusion

Finally, Php is dead? No way. It is still used in many projects and is an excellent choice in prototyping processes. Thanks for reading this far. See you in the following article.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store