Course start notice: php Chinese website "The 10th PHP Online Training Course" is currently being registered!
Let’s get straight to the point. PHP is a weird language. It's neither fast nor syntactically beautiful. Good software development practices are also not followed. ** But I still use it to develop a lot of software. So the question is obvious. Why are PHP still used today?
There are many reasons besides personal idealistic preference. This is the scope of our discussion. Why choose PHP as my web development language?
What is PHP?
"What does PHP stand for?" Or ask, "What is PHP?" PHP is a language for writing web pages. The bottom layer is implemented in C language and uses HTML tag syntax to wrap the code. PHP usually runs on the server side, works in conjunction with the web server, and is responsible for processing the HTML and returning it to the visitor.
PHP originally meant "Personal Home Page". Because this completely limits the meaning and desirability of using the language for general use, the language now stands for "PHP: Hypertext Preprocessor". This way of writing is called a recursive abbreviation (an abbreviation that refers to itself in the full name). Geeks love this kind of name.
What can PHP do?
What can PHP be used for? Generally PHP can do anything you want to implement on a web server. For example, make a blog. Implementing a SAAS application is also a piece of cake. It is also handy to write a script to temporarily process data. Or write a complex script that one day suddenly turns into a successful software business? It happened a lot in the past.
PHP is everywhere
There are many reasons to know and love PHP. Perhaps the most powerful and effective reason is: it can be used and run anywhere on the network. If you look carefully, you can probably buy a hosting account for as little as $3 per month that can run Python or Ruby web applications. But it can definitely run PHP. This means you can always rely on PHP.
Because PHP can run anywhere and it is easy to use, many very popular software are written in PHP. WordPress is the most influential and familiar example to me, but besides that, tools like Joomla, Drupal, Magento, ExpressionEngine, vBulletin (yes, it still exists), MediaWiki, etc., all run PHP on the server.
Not only that, there are countless PHP application frameworks, such as: Symfony, Zend, Laravel, Aura, CakePHP, Yii and even the ancient CodeIgnitor framework. Of course you could make a similarly long list of web frameworks for any other language. For example, common web languages like Python, Ruby, or Node/JavaScript, you can even accumulate a numerical competition list to compare with PHP. But the number of websites running PHP is overwhelming.
WordPress proudly claims to have 30% of users on the internet. You don't even need to believe this statement to realize that many Internet applications must use PHP even if this statement is even conceivably true.
The above is the detailed content of Is PHP saturated in 2019?. For more information, please follow other related articles on the PHP Chinese website!