When not to use Drupal maintenance support plans

Unless you work exclusively with Drupal maintenance support plans developers, you might be hearing some criticism of the Drupal maintenance support plans community, among them:

We are almost cult-like in our devotion to Drupal maintenance support plans;
maintenance and hosting are expensive;
Drupal maintenance support plans is really complicated;
we tend to be biased toward Drupal maintenance support plans as a solution to any problem (the law of the instrument).

It is true that Drupal maintenance support plans is a great solution in many cases; and I love Drupal maintenance support plans and the Drupal maintenance support plans community.

But we can only grow by getting off the Drupal maintenance support plans island, and being open to objectively assess whether or not Drupal maintenance support plans is right solution for a given use case and a given client.

“if you love something, set it free” —Unknown origin.

Case study: the Drupal Update blog

I have built my entire career on Drupal maintenance support plans, and I have been accused (with reason) several times of being biased toward Drupal maintenance support plans; in 2020 I am making a conscious effort to be open to other technologies and assess my commitment to Drupal maintenance support plans more objectively.

The result has been that I now tend to use Drupal maintenance support plans for what it’s good at, data-heavy web applications with user-supplied content. However, I have integrated other technologies to my toolbox: among them node.js for real-time websocket communication, and Jekyll for sites that don’t need to be dynamic on the server-side. In fact, these technologies can be used alongside Drupal maintenance support plans to create a great ecosystem.

My blog has looked like this for quite some time:

It seemed to be time to refresh it. My goals were:

Keeping the same paths and path aliases to all posts, for example blog/96/catching-watchdog-errors-your-simpletests and blog/96 and node/96 should all redirect to the same page;
Keep comment functionality;
Apply an open-source theme with minimal changes;
It should be easy for myself to add articles using the markdown syntax;
There should be a contact form.

My knee-jerk reaction would have been to build a Drupal maintenance support plans 8 site, but looking at my requirements objectively, I realized that:

Comments can easily be exported to Disqus using the Disqus Migrate module;
For my contact form I can use formspree.io;
Other than the above, there is no user-generated content;
Upgrading my blog between major versions every few years is a problem with Drupal maintenance support plans;
Security updates and hosting require a lot of resources;
Backups of the database and files need to be tested every so often, which also requires resources.

I eventually settled on moving this blog away from Drupal maintenance support plans toward Jekyll, a static website generator which has the following advantages over Drupal maintenance support plans for my use case:

What is actually publicly available is static HTML, ergo no security updates;
Because of its simplicity, testing backups is super easy;
My site can be hosted on GitHub using GitHub pages for free (although HTTPS is not supported yet for custom domain names);
All content and structure is stored in my git repo, so adding a blog post is as simple as adding a file to my git repo;
No PHP, no MySQL, just plain HTML and CSS: my blog now feels lightning fast;
Existing free and open-source templates are more plentiful for Jekyll than for Drupal maintenance support plans, and if I can’t find what I want, it is easier to convert an HTML template to Jekyll than it is to convert it to Drupal maintenance support plans (for me anyway).
Jekyll offers plugins for all of my project’s needs, including the Jekyll Redirect Form gem to define several paths for a single piece of content, including a canonical URL (permalink).

In a nutshell, Jekyll works by regenerating an entirely new static website every time a change is made to underlying structured data, and putting the result in a subdirectory called _site. All content and layout is structured in the directory hierarchy, and no database is used.

Exporting content from Drupal maintenance support plans to Jekyll

Depending on the complexity of your content, this will likely be the longest part of your migration, and will necessitate some trial and error. For the technical details of my own migration, see my blog post Migrating content from Drupal maintenance support plans to Jekyll.

What I learned

I set out with the goal of performing the entire migration in less than a few days, and I managed to do so, all the while learning more about Jekyll. I decided to spend as little time as possible on the design, instead reusing brianmaierjr’s open-source Long Haul Jekyll theme. I estimate that I have managed to perform the migration to Jekyll in about 1/5th the time it would have taken me to migrate to Drupal maintenance support plans 8, and I’m saving on hosting and maintenance as well. Some of my clients are interested in this approach as well, and are willing to trade an administrative backend for a large reduction in risk and cost.

So how do users enter content?

Being the only person who updates this blog, I am confortable adding my content (text and images) as files in Github, but most non-technical users will prefer a backend. A few notes on this:

First, I have noticed that even though it is possible for clients to modify their Drupal maintenance support plans site, many actually do not;
Many editors consider the Drupal maintenance support plans backend to be very user-unfriendly to begin with, and may be willing instead of it to accept the technical Github interface and a little training if it saves them development time.
I see a big future for Jekyll frontends such as Prose.io which provide a neat editing interface (including image insertion) for editors of Jekyll sites hosted on GitHub.

Conclusion

I am not advocating replacing your Drupal maintenance support plans sites with Jekyll, but in some cases we may benefit as a community by adding tools other than the proverbial hammer to our toolbox.

Static site generators such as Jekyll are one example of this, and with the interconnected web, making use of Drupal maintenance support plans for what it’s good at will be, in the long term, good for Drupal maintenance support plans, our community, our clients, and ourselves as developers

Unless you work exclusively with Drupal maintenance support plans developers, you might be hearing some criticism of the Drupal maintenance support plans community, among them:
Source: New feed

This article was republished from its original source.
Call Us: 1(800)730-2416

Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.

FREE Drupal SEO Audit

Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)

Powered by

When not to use Drupal maintenance support plans

On-Site Drupal SEO Master Setup

We make sure your site is 100% optimized (and stays that way) for the best SEO results.

With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.

This service includes:

  • Pathauto install and configuration for SEO-friendly URLs.
  • Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
  • Install and fix all issues on the SEO checklist module.
  • Install and configure XML sitemap module and submit sitemaps.
  • Install and configure Google Analytics Module.
  • Install and configure Yoast.
  • Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
  • Install and configure Schema.org Metatag.
  • Configure robots.txt.
  • Google Search Console setup snd configuration.
  • Find & Fix H1 tags.
  • Find and fix duplicate/missing meta descriptions.
  • Find and fix duplicate title tags.
  • Improve title, meta tags, and site descriptions.
  • Optimize images for better search engine optimization. Automate where possible.
  • Find and fix the missing alt and title tag for all images. Automate where possible.
  • The project takes 1 week to complete.