并非PHP Frameworks而是WordPress让PHP更加流行!
TIOBE 7月编程语言排行榜的榜单明星为PHP,文中曾提及PHP流行背后似乎得益于最新发布的 PHP Zend Framework ,但并未做具体的缘由阐述。然而,促使PHP份额上升背后真正的推动者却是WordPress而并非PHP Frameworks。作者Manuel Lemos执笔详细阐述了WordPress
TIOBE 7月编程语言排行榜的榜单明星为PHP,文中曾提及PHP流行背后似乎得益于最新发布的PHP Zend Framework,但并未做具体的缘由阐述。然而,促使PHP份额上升背后真正的推动者却是WordPress而并非PHP Frameworks。作者Manuel Lemos执笔详细阐述了WordPress推动PHP更加流行的七大理由。译文如下:
1. WordPress是目前最流行的PHP应用
大多数人会选择使用几大流行的搜索网站来对比衡量目前相对流行的技术、语言、应用或者产品。然而这种方式似乎并不靠谱。因为当某个搜索网站改变其算法后,搜索结果也会随之而改变。
因此,最为靠谱的方法就是采用Google Trends,Google会根据关键字进行检索显示相关结果。如下图所示,与其他的PHP应用相比,包括Joomla、 Drupal、Magento WordPress,WordPress无疑最流行的一款。
2. WordPress比其他PHP框架更流行
利用Google Trends,可以将不同的PHP框架进行对比。如下图所示,WordPress 与Zend Framework、Symfony PHP及CakePHP的对比情况,WordPress流行趋势则遥遥领先。
3. WordPress不使用第三方PHP框架
此前,WordPress也使用第三方组件,但并非全栈框架都在使用。这就意味着WordPress从不需要创建全栈框架,而像这样的框架也很难流行起来。
4. 应用让技术变得更加流行,而非组件
在上面的图表中,你可能会注意到Magento要比Zend Framework更受欢迎。Magento是基于Zend Framework创建而来。这似乎暗示着,促使该技术流行的背后是能否解决用户问题,而不是基于此搭建而来的组件。
同样地,WordPress也很受欢迎,这是因为对于很多用户来说它的用处很大。当用户需要托管安装WordPress,需要寻求PHP主机服务。因此,在此基础上用户至少要知道什么是PHP以及所需要的PHP主机。
也就是说,是WordPress促使PHP更加流行。越多人安装WordPress,PHP就越流行。
5. 可扩展的WordPress插件系统
促使WordPress流行的最重要的原因之一就是各种插件支持额外功能。有了WordPress插件,你几乎能创建任何你想要的东西,包括嵌入到其他应用中,比如,论坛、电子商务网站、故障通知单系统等,除了博客系统。
倘若WordPress能够在博客应用中普及,那么其势必将成为更受欢迎的一个平台。
6. 非程序员开发PHP,只因WordPress
如果你需要创建某个网站,而这些特性却是WordPress所没有的,那么你可以通过开发一款新的插件来扩展WordPress从而满足你的需求。
许多WordPress用户并非是程序员,他们开始接触编程只是因为他们需要的某些功能在WordPress 中没有合适的插件。
也就是说,许多非程序员必须去学习PHP,才能够开发出新的WordPress 插件。这也是促使PHP更为流行的一大原因。
7. 实用优于虚构
原文出自:PHPClasses

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

If you are an experienced PHP developer, you might have the feeling that you’ve been there and done that already.You have developed a significant number of applications, debugged millions of lines of code, and tweaked a bunch of scripts to achieve op

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

A string is a sequence of characters, including letters, numbers, and symbols. This tutorial will learn how to calculate the number of vowels in a given string in PHP using different methods. The vowels in English are a, e, i, o, u, and they can be uppercase or lowercase. What is a vowel? Vowels are alphabetic characters that represent a specific pronunciation. There are five vowels in English, including uppercase and lowercase: a, e, i, o, u Example 1 Input: String = "Tutorialspoint" Output: 6 explain The vowels in the string "Tutorialspoint" are u, o, i, a, o, i. There are 6 yuan in total

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

What are the magic methods of PHP? PHP's magic methods include: 1.\_\_construct, used to initialize objects; 2.\_\_destruct, used to clean up resources; 3.\_\_call, handle non-existent method calls; 4.\_\_get, implement dynamic attribute access; 5.\_\_set, implement dynamic attribute settings. These methods are automatically called in certain situations, improving code flexibility and efficiency.
