WP Tavern reported recently that WordPress Developers are organizing a community initiative to standardize common post types, taxonomies and meta data. Led by Justin Tadlock, popular WordPress developer and author of Professional WordPress Plugin Development, the goals of the community project are to name these common parts of WordPress to create a more stable and portable nomenclature for WordPress.
Tadlock explains that standardization is critical not only to the future of WordPress development but essential to standardize WordPress Themes and Plugins.
However, I’d argue that a little common sense also goes a long way. If you’re making an “events” plugin, don’t name your post type justin_event. Name it event. This isn’t really brain surgery, and I don’t think the WordPress developer community needs that much hand-holding to figure this out. But, if we do, let’s start that Codex page.
The only reason for any type of standards for post type names is so that it helps foster healthy competition between various plugins trying to fill the same space. This is so users can more easily switch between plugins to find the one they like the best.
There are some against such standardization as they feel it would restrict their coding freedom and flexibility, naming things organically rather than meeting a set of required standards. Tadlock and others argue that by adopting existing solutions rather than in-house, custom built solutions, it doesn’t restrain creative coding or proprietary code. He defends his position saying:
Standards are created after we’ve made them and they’ve been adopted by enough people. In other words, we create standards by building good plugins, getting users to install them, and having theme authors integrate with them.
Standards are accepted adoption of a way of doing things or naming things. This is part of the evolution of a language and industry.
As we developed the WordPress Codex, Michael Adams led a community campaign to solidify the names of WordPress parts and pieces. He and I created the Codex articles for Administration Panels, which later was renamed to Administration Screens, an example of the evolution of naming standards. In spite of our attempts to comply with the trademark protection of the term “Dashboard” for the entire backend interface, the WordPress Administration Screens continue to be called the Dashboard. Wrong name, but an evolving name standard as it has been adopted by a majority of users.