Categories
How It Is

Long Term Vision

While it may seem ‘easier’ to make multiple separate plugins that all do similar things, long term it makes your developers crazy and hurts your users.

Say what you will about Jetpack, the plugin serves a great purpose in a few major ways.

  1. Once you register for the API, you never have to again.
  2. Everything is easy to find to update and configure (Menu -> Jetpack).
  3. New Features are added and you don’t need to install a new plugin.

Now look at something else. A company released over a dozen Facebook plugins. All the plugins required you to connect via their API (a separate connection in each). All the plugins required you to use their admin panel to set up a per-plugin configuration. All the plugins deleted those settings on deactivation. Or how about a WooCommerce related set of plugins that all required the use of their API (legitimately) but all the plugin did was connect you and send you to where that specific plugin part was configured?

Got that in your head? Good. Now what if Jetpack did that? What if to enable aspect of Jetpack you had to install Jetpack Stats, Jetpack Comment Form, Jetpack Subscriptions, etc etc etc.

You’d hate Jetpack. And worse, the Jetpack developers would too. They’d have to work extra hard to ensure all the suite of plugins conformed to style and protocol. Shared libraries? Gotta update them in all of the plugins. Oh and don’t forget to make sure they’re all backwards compatible in case someone updates one but not another. Figure out which one takes priority, make sure someone else’s changes on Stats doesn’t break Comment Form, and on and on and on.

There’s a reason Jetpack works as well as it does, and it’s not just because Automattic is behind it. Jetpack has one sign up, one registration, one setup for the connection. Each sub-app is toggled via Jetpack. New additions, when the main plugin is updated, are all easily checked for backcompat and everyone tests together before pushing out.

So why do I call this the long view?

Because the long view considers not just adding new users to your system, but keeping them in a way that makes them happy. The long view looks at the reality that your developers will leave. The long view thinks about the easiest way to maintain a lot of code. The long view makes sure that introducing old users to new things is easy.

And that means, the long view would look at your 15 or 20 plugins that all use the same ‘base library’ and tell you it’s a shitty plan. It’s more hours on more code with more potential conflicts. It’s less cross-code checking. It’s more testing. It’s more unit tests that have to be repeated over and over.

The biggest reason I see people argue that 18 plugins is better than 1 is ‘SEO.’ The quotes are there on purpose. Because it’s bullshit. Anyone who thinks 18 plugins will net you better SEO than one, well written, well curated document file on the master plugin has failed at SEO school and needs to meet Ted. Ted is a 12 inch lead pipe that the boss keeps in the top drawer of his desk at DreamHost. No, not really. But the point remains, they’re not an SEO Expert.

Content is king. Remember that? Duplicate content is bad.

However, in some cases, content is deliberately duplicated across domains in an attempt to manipulate search engine rankings or win more traffic. Deceptive practices like this can result in a poor user experience, when a visitor sees substantially the same content repeated within a set of search results.

That applies to your code too. Duplicate code, duplicate functionality, is bad.

Now there is always a time and a place for multiple separate plugins. I only want to use Easy Digital Downloads extension for Stripe, not any other payment gateway. So I don’t need the extra plugins in a ‘payment gateway suite.’ But there, EDD cleverly has all the base code in their plugin and the add-ons just enable more features. Yoast’s Video SEO is similarly an add-on. They didn’t waste time making a dupe of their main SEO plugin just to add in videos.

I hope the point is made. You can make your code simpler, easier to maintain, and easier for your users to find the new things if you keep it all in one. And that is a win.

1 reply on “Long Term Vision”

Super! Ipstenu, this one is perhaps the most appropriately worded power pack punch on the faces of idiots who sell or advise to sell bloat under the garb of one fad or the other.

SEO or no SEO, the plugin has to be worth it first. WooCommerce is perhaps one of the best examples of how many plugins/addon-plugins one has to bother about vs Jetpack and the modules.

Btw, just in case anyone has a case against Jetpack’s unnecessary modules, which they should’ve allowed the user to turn off (like totally deactivate, not deactivate and reactivate at will), we use this Module Control for Jetpack and one by Mark Jacquith, trust it’s called Manual Control for Jetpack.

As far as Jetpack has delivered till today, I believe they’ll give this facility to turn of Modules for real, in future. Apart from that NO COMPLAINTS, loads of appreciation in fact for Jetpack, the work and their approach!

Comments are closed.