Reasons Why WordPress Made PHP Popular, not PHP Frameworks
phpclasses.org
phpclasses.org
PHP was already popular and widely available when WordPress became popular. WordPress benefited from that - it was much easier to install and find hosting versus the then-leader MovableType.
And I remember renaming all those .php3 files to .php when upgrading to php4. Thanks a lot! =)
Nothing he writes is in any way plausible, it's all just a feeble attempt at arguing that any engineering practice he can't wrap his head around is wrong. The man is just desperately trying to defend his limited understanding of software development.
Excuse the ad hominem, but there's really zero plausible content to this, or any other of the delusional utterings he has published over the last decade.
For example, in a recent article entitled "26 Ways to Show that PHP Can Be Better Than PHP" (http://www.phpclasses.org/blog/post/203-26-Ways-to-Show-that...), they showcased a series of "multithreading" implementations in ascending order of WTF, culminating with this:
Mohammed Yousef from Egypt has written the PHP
Threader class that also takes advantage of the
fact that a Web server can run multiple scripts
in parallel, except that it uses AJAX requests
sent from the browser to start the scripts.
I disagree, however, with the idea that Manuel Lemos is a clueless, destructive clown. I think he's a well-meaning, intelligent person who has somewhat failed to keep pace with the "proper software engineering" standards that have infiltrated PHP in recent years.For example, in an article from 2013 comparing development using Wordpress vs using a framework, I would have expected some comparison of the viability of automated testing in each approach. And unless my name was Fabien Potencier, I would not expect to be advised to "use your own framework if you have a good capable framework to address your needs".
But this is only destructive to the extent that others fail to make a strong case for building well-tested software using high quality open source libraries where suitable instead of endlessly reinventing wheels. There is room for competing ideas, and I don't see these particular ideas as an especially worrying competitive threat.
As ceejayoz mentioned, PHP was already popular before WP.
Arguably, forum software written in PHP made PHP popular before b2/cafelog (WP's predecessor) appeared.
Why was/is that the case?
Really. I bet most people that are buying a perl site are actually doing things with it and the vast majority of people that paid for the PHP site either have a static splash page or no page at all and just don't bother calling up and canceling the $2.00/month fee for that idea they had in 2009.
There's 188 million active domains. 188 million. http://news.netcraft.com/archives/2013/07/02/july-2013-web-s... ... if took any skill to buy a domain and pay $2.00 a month for hosting, godaddy would have been out of business a long time ago.
[1] I like that facetubebay.com is actually registered - and by the owner of a restaurant chain (http://www.linkedin.com/pub/richard-makinadjian/6/b26/477), how fitting.
That is why Microsoft paid to have the original windows port done - they had no hope of competing in the web server market unless they could run Perl on Windows!
The problem is that you can turn on mod_php and run 50 virtual domains on one webserver with 50 different people in control of each ones. But if you turn on mod_perl, it expects to have complete control of the server, so you needed one web server per mod_perl server. That made shared hosting for mod_perl massively more expensive.
Of course you could do CGI scripts in any language. But that has more overhead. That made them both slower and more expensive (a cost the hosting providers passed on).
There were other PHP blog systems. And Movable Type was, for a while, the undisputed king.
Then the great GPL kerfuffle happened. Wordpress had a pretty site and Matt Mullenweg was proactive in seeking out high profile bloggers and getting them to convert.
Add in PHP's ease of installation and the favourable situation for hosts (mod_php is closer to shared-nothing than mod_perl), and I guess it was inevitable.
At this point it's network effects and path dependence that keeps it at the top.
I think there is a shared experience out there that when you put it up against alternatives such as Joomla, Drupal, ModX, and to some extent even Magento that it's the only CMS you can ship to a client without having to field calls all day on how to use the thing.
Plus, the ease of simple templating and plugins available allow small shops to deliver products with which they can actually make a profit. I believe this reason alone is a big driver of WordPress recommendations.
I'll also mention that my comment is from the point of view of design shops, contractors, and freelancers. If someone is building, maintaing or planning a free standing product website that will have engineering resources dedicated to it then yes, there are probably better alternatives.
It's a different genre of application from Drupal, Joomla et al, so they can't really be compared.
The in-genre competitors are systems like Habari, TextPattern or Serendipity.
Nobody uses them. Why? Because nobody uses them.
Tell me again about how it's not network effects or path dependency.
As for me putting WordPress into a basket with Drupal, Joomla, Modx, and the like; the reality is that WordPress is being used as a CMS. It wasn't built for that, and this is distasteful to many here, but that's what it is now being used for for a majority of its new installs.
Install WordPress, create custom post types, create meta fields, and tie it all together with posts 2 posts plugins, and you're well on your way to a website with some basic many to many and one to many relationships.
Habari, TextPattern and Serendipity look like purely blogging platforms, but if they're better, I hope to start hearing about them in the near future.
My point is that Drupal out of the box requires a lot more configuration simply to something, anything, that an end user can understand. It continues to reveal a very large control surface which, as you correctly point out, is confusing to people who just want to know how to edit some pages. Drupal hands you the toolbox and expects you to work out what you want to build. Wordpress hands you a chair and says "here, sit on this".
> Habari, TextPattern and Serendipity look like purely blogging platforms, but if they're better, I hope to start hearing about them in the near future.
If you haven't heard of them before, it seems safe to assume that you won't hear much about them in future.
This is simply not true. As someone who has to deal with WordPress on a daily basis, that sentence simply doesn't hold water.
I have dealt with large shops built on WordPress (WooCommerce) and massive sites that have nothing to do with blogging. By adding custom post types in the last major version, WordPress became a full-fledged CMS. At this point, the blogging functionality is secondary.
I am seeing real world usage of WordPress as a full-blown CMS. I am seeing it all the time. Are you seeing something else?
I think what defines it is the contours of its design. That you can whack a towball on a Ferrari and pull a boat doesn't make the Ferrari a tow truck. It's still a car, it still accelerates like a car, out of the dealership it is a car. It can be modified into other things. It is still a car.
> I am seeing real world usage of WordPress as a full-blown CMS. I am seeing it all the time. Are you seeing something else?
I am seeing real world usage of Wordpress as a full-blown blogging engine. In fact that's what I've seen for the past decade.
Your dumb-ass boss can use it. It has 100x more, prettier, themes than everyone else. It has 100x more devs than anyone else.
Related: my buddy still makes $30,000 a month off a plugin he wrote 3 years ago.
I really like PSR compliant PHP code (it's almost PEP 8-ish), the WordPress standards are frustratingly opposite on some key concepts (braces, indentation). But WP is so popular, I don't see how this might ever be resolved.
https://github.com/php-fig/fig-standards/blob/master/accepte...
http://make.wordpress.org/core/handbook/coding-standards/php...
Lack thereof. Grep is your friend when dealing with anything internal-WordPress-related. I charge extra whenever I have to dive in.
Wordpress became huge because it is modular, plug and play and the go to choice for beginners. Not to mention, it is also a huge marketplace and tens of thousands of people make money creating themes, PSD, custom design, plugins etc.
blah blah blah "WordPress is awesome..."