I'm excited to have the chance to work with the PHP Foundation to help get some more modern design and messaging on the PHP site.
One place I've gotten some access is to be able to contribute to a new page, "Why use PHP"? I built a site a few years back called "Why PHP" but let it die, so it's fun to work on this again.
You can see the current status of the the page here:
- The PR: php/web-php#1172
- The Preview: https://web-php-pr-1172.preview.thephp.foundation/why-use-php
I'd like to take a step back from this existing page and ask the broader questions:
- Who is the target audience of this page?
- What are their concerns we want to address?
I have some initial thoughts, but I'm throwing this up in a Gist so we can have a conversation about it.
My initial thoughts:
- As a consultant who sells PHP development services, my primary target for this page is a decision-maker at a company considering PHP. My imaginary user is someone I meet often: a VC, or a CEO, or a super high level CTO, who has people beneath them advocating for Laravel. They, or someone they know, have a strong anti-PHP bias. "It's old", "it doesn't scale", "it's for small apps", "it doesn't have the latest technology", "it can't work with AI as well", etc... and they need to be convinced, as easily as possible, that PHP is a legitimate modern toolset that's been used to build many impressive apps.
- Their concerns are that PHP is all the bad things. I'd love to put together a list of those bad things. You can see a few in my previous point. It's old, it's slow, it doesn't scale, it's "bad"
Some initial ideas of what could address these concerns:
- A kind of anti-FUD FAQ, but instead of frequently asked questions, it's frequently held misconceptions
- Big companies using PHP
- Companies putting money into PHP, maybe?
- Whitepapers or other kinds of performance and scale metrics. Very simple views on this page, with links for anyone who wants to dig in (which will be basically no one, but just as proof)
So, if you're in the PHP world, and you have run into a problem from PHP's reputation, that could be solved by this page, whether you're a consultant like me or you're trying to show your boss why you should use PHP or keep using PHP: Who are we talking to here? What are the main criticisms/concerns we're trying to address? What could we include that would be most valuable in that direction?
Hi! Lecturer here, advocating for PHP/Laravel and encountering some of the misconceptions you mention ("it's old").
I think this is a great initiative! Some misconceptions are never challenged by beginners (they simply don't have the knowledge to assess those), steering a lot of them away from PHP.
I think of three main audiences:
I'd argue two pages/themes are the most interesting, depending on the audience:
What's being built in PHP (and frameworks)
Aka: why PHP, for business/product
Audience (mostly): tech decision makers, developers
Possible content:
What would be great, is a link to frameworks like Laravel, but for a product-based site.
Something non-tech people would also understand, giving them an overview what the framework is (not) suited for.
Getting started
Aka: why PHP, for builders
Audience (mostly): developers, beginners
In an ideal world, multiple pages would be great: getting started (as a junior / coming from JS / coming from x / ...)
General remark: while the first impression of Laravel is really modern, for the PHP docs it's not.
If a design update is on the table, it could do wonders.