DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
  1. DZone
  2. Coding
  3. Languages
  4. The PHP Development Process: Critique and Reply

The PHP Development Process: Critique and Reply

John Esposito user avatar by
John Esposito
·
Nov. 16, 11 · Interview
Like (0)
Save
Tweet
Share
4.08K Views

Join the DZone community and get the full member experience.

Join For Free

Back in August, in a thoughtful and much-discussed critique, Court Ewing thundered: 'How PHP is Broken and How It Can Be Fixed'.

Not the language -- the development process. He clarified his objection from the start:

All things considered, I like PHP, and I think it is the best option for developing most of the applications that we see on the web today...The serious problems — the ones that actually have long-term consequences, stem from the development process.


Court was responding immediately to a particular bug in PHP 5.3.7 -- a bug that was caught just before release, but didn't stop the release. More broadly, Court objects to PHP's willingness to release after failing a large number of unit tests:

What on earth is the point of writing unit tests when you consider it OK that some of the tests fail? The acceptance of these failures is perhaps the most backward-thinking decision that I have ever seen the PHP dev team make.


Most of the original article's commenters objected strongly to the article's negative tone, but agreed with the substantive criticisms, particularly on the question of releasing despite failed unit tests.

Recently Court posted a follow-up, detailing some more positive suggestions for improving PHP development. His new post explains:

I started out writing the article with the serious intention of making not only an honest critique but also providing some practical feedback for how the process could be improved. I feel my critique was completely honest, but I failed spectacularly in my second goal, and any merit that the article had was overshadowed by its negative tone.


Basically his positive suggestions are:

  • Define a test coverage goal above 80%
  • All current automated tests should run successfully.


Great in theory, but a lot of work in practice. But Court understands this, and adds that, even if development doesn't proceed perfectly, developers will be much happier of the PHP project managers communicate exactly what they're doing, and exactly how PHP development is progressing -- all much more openly. Specifically he proposes an official development blog (true, that would be cool).

So: better testing, and better communication. Who could object to that?

But is it practical, given the fact that PHP is not being developed commercially and is simultaneously so incredibly widespread?

PHP Critique unit test

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • HTTP vs Messaging for Microservices Communications
  • Introduction to Automation Testing Strategies for Microservices
  • Practical Example of Using CSS Layer
  • 3 Main Pillars in ReactJS

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: