
We’re excited to hear your project.
Let’s collaborate!
Should you decouple? When? How? What are the risks that a decoupled Drupal site involve? What are the undeniable, hard-to-resist-to advantages of “teaming up” your Drupal site/mobile/native app with a fast, cool JavaScript framework and of using Drupal as a back-end content repository “only”?
And, most importantly: is a “headless” build suitable for your own web project?
Our web development team here, in Toronto, comes with its very first piece of advice for you now, when you're facing all these crucial questions: always use the context of your very own web project to filter all the “trends” seeming to dominate the digital landscape at some point or another!
Before deciding to go for a decoupled implementation, make sure that all the members of the team involved (Drupal developers, project managers, content editors) clearly understand what a decoupled Drupal architecture is. And whether the technical risk involved is worth the effort.
Whether this approach is exactly what your web project needs.
Now, let us help you find the answer to your legitimate decoupling-related questions:
To put it simply: decoupling Drupal means separating the back-end of your website/app from its front-end (either partially or totally).
Now if we are to detail a bit, we would have to add that:
Drupal's “role” can easily resume to what the content producers...produce, while the coupled front-end framework will be “responsible” for what the users see on your site/app. Responsible for creating a faster and richer user experience.
In other words: Drupal will be handling the editorial, content creation and administrative tasks, while the coupled framework will be handling the front-end, communicating with the Drupal back-end via API.
The obvious “points of attraction” of such an API-only approach are the unlimited freedom and flexibility granted to front-end developers.
Unchained from the “need” to know how to write or to decipher Drupal-specific code each time they need to improve the look and feel of a website, front-end developers get to choose from different approaches of building a website.
They're free from the monolithic Drupal architecture with the presentation layer backed in through the Drupal theme itself. Free from the tightly interconnected back-end and front end.
Now this is a more than legitimate question that you should be asking yourself once you've fully understood what a decoupled Drupal build is.
Here are some key advantages if you decide to go for a “headless” Drupal site/app:
And this might just be the best headless Drupal-related question you've asked yourself so far!
It's definitely a matter of: “Is this solution a perfect fit for my own site/app, too?”
See if you can identify your own type of Drupal web project in the examples here below and you'll have the answer to your question.
So, decoupled Drupal is best used for:
“So, do you suggest that I should just go... headless, that Drupal 8's new them layer is just something I can easily do without?”
This might just be the question bumping into your head right now, isn't it?
Well, it's true that going headless comes with its drawbacks. You risk to throw away some of Drupal 8s' “goodies”:
The best approach is the “moderate decoupling” or, if you prefer, the “progressively decoupled Drupal”.
This means that instead of going reckless and losing all of Drupal 8's out-of-the box flexibility and power as you go for a fully decoupled Drupal site, you should:
In a nutshell: moderation is key! No need to waste time, energy and a good “load” of incredibly powerful Drupal elements and... reinvent the wheel!
And now, to support our pledge for the progressive approach to decoupling, let us back it up with one single example: NBA.com!
This site's using Angular 2 for rendering only certain parts of its web pages, while their static components are rendered by Drupal!
And speaking of this site using the “hybrid” approach, here's a Drupalcon Baltimore 2017 session filled with all the details and “enlightening” infos that you might find useful:
It's not for no reason that decoupled Drupal makes such a tempting type of CMS architecture, but you should first of all:
We’re excited to hear your project.
Let’s collaborate!