Articles,

“Just One More Module” Temptation: It’s A Trap

3 m read
QArea Team
QArea Team Marketing Manager
January 5, 2016
Share on
Reading Time: 3 minutes

1. Is the more-the better?

Who doesn’t want to get more? You want to have the best, the fastest and the most advanced website, right?

To make your website more advanced, attractive, functional. The more modules – the better functionality. It is a misleading thought indeed. As they say, the path to hell is paved with good intentions.

The users are becoming more demanding and it is getting more challenging to impress and engage them. So the temptation to install as many modules as possible comes across as absolutely understandable and well-grounded, just like any devil’s temptation. But the reality runs contrary to the expectations. The more modules you enable, the higher risks are that they will malfunction, especially if servers are shared and not dedicated.

Have you ever wanted more than you actually need? Let’s face the truth: People do it all the time. With all this pressing supply of commodities, services and booming technologies. ‘The more is the better’ is one of the mottos of modern society. And it doesn’t concern just consumer goods, it covers almost all the spheres. The more demand there is, the more you think you need.

As of January 2015 there are almost 30,000 modules available (see Drupal.org).

Question face

2. The diabolic ‘Just One More…’ trap.

Everybody knows that in most cases the quality matters more than the quantity but everybody wants to have them both. And this is the catch. In most cases the quantity/quality choice works as a radio button. Opting for one excludes the other.

So why you shouldn’t install and enable too many modules?

First of all, too many modules slow down your site.

What’s more, modules can turn out terrible in terms of maintenance and, as any other piece of software, they contain bugs. Yes, defects and glitches may be minor if standalone, but you never know how a group of them will act straight in the heart of your beloved solution.

How many is too many?

If the server is shared, 20 or less contributed modules must be enough for providing the adequate flexibility and functionality.

If your site is really big and complex, you may need up to 100 modules.

More than 100 modules seems more like a compulsion, rather than necessity.

In fact, the thing is not only in the number of modules but in the number of modules you can maintain and provide hardware capacity to.

You must provide the adequate resources to make the modules work: RAM, CPU, in-memory cache, servers with load balancing and more.

Preventive measures to take:

  • First of all, you have to ensure you can uninstall and disable modules which you won’t need anymore and not get saddled with the odd modules which just take up space.

Most modules can be uninstalled if not needed, but not all of them offer such an option so when testing a module here’s what we usually do: our team tests it on a template site and ensures modules can be installed and deleted at will. This prevents odd data in the database.

Measurement

For instance, in Drupal 8 many modules can’t be disabled properly, or there is a risk of them misbehaving when they are enabled again.

  • Creating the template site for each new website (installing modules first on this site).
  • Trying new modules on a template site before installing on a real website. Selecting only those which you really need. Monitoring which you need and which you don’t. Keeping the website clean. Getting rid of unnecessary modules. That’s why you must think beforehand to be able to uninstall the modules you don’t need anymore.
  • Review your site on a regular basis, disable, uninstall and remove unused modules from the code base.
  • To be on the safe side and ensure YOUR website runs as you want it to in the long-term perspective, consult the experts.

A takeaway:

The key advice is to keep the site clean and minimalistic, to monitor the site and overview the modules from time to time. If you want the website to run smoothly and ensure it doesn’t misbehave, your website must be kept in order. The real mastership is to take most functionality out of less modules.

Consider everything carefully. That’s how we do it in QArea. Thinking twice (or more) pays off in the long run – this is the advice of experience. Just remember – there’s always place for a step back. There’s always a module you can easily live without.

There are always talented Architects and Project Managers at QArea, who can do the planning for you.

Check out our related articles:

E-Commerce: How Expert Drupal Developers Nail Recurring Payments?

Review: Drupal 7 facilitates Web site management

Categories

Recent Posts

  • Best Frontend Programming Languages to Create Beautiful and Fast Interfaces

    Read more
  • Capability Maturity Model Integration – QArea's big journey

    Read more
  • QArea is a Unique Services Provider in 2019 CEE Awards

    Read more
  • Ultimate Development Trends in 2018 to Reward Your Business in 2019

    Read more
  • Why You Should Write Your Next Microservice Using Golang

    Read more
  • The Most In-Demand Backend Programming Languages of 2019

    Read more
Yes
Tags
    Share on
    Privacy Preference Center
    Your Privacy

    When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.

    Strictly Necessary Cookies Always Active

    These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.

    You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.

    Performance Cookies

    These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site.

    All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.

    Cookies used

    Google Analytics
    Functional Cookies

    When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.

    Cookies used

    Test Second Test
    Targeting Cookies

    When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.

    More Information

    When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.