Talking Drupal: Talking Drupal #486 - GraphQL & Drupal Decoupled
Today we are talking about GraphQL, Drupal Decoupled, and What to do with them with guest Jesus Manuel Olivas. We’ll also cover CORS UI as our module of the week.
For show notes visit: https://www.talkingDrupal.com/486
Topics- What is GraphQL
- How do you use GraphQL with Drupal
- Would you use GraphQL without a headless theme
- Do you need additional server requirements
- What are some of your favorite GraphQL modules
- What caused the change from v3 to v4
- What is meant by Drupal Decoupled
- What are the best use cases
- How do you handle caching and performance
- How do you handle roles and permissions
- Do you think AI has made decoupled more interesting
- GraphQL
- GraphQL Compose
- GraphQL Compose Preview
- GraphQL Compose Webform
- GraphQL Compose Fragments
- Swagger UI
- Custom Field
- Drupal Decoupled
Jesus Manuel Olivas - drupal-decoupled.octahedroid.com jmolivas
HostsNic Laflin - nLighteneddevelopment.com nicxvan John Picozzi - epam.com johnpicozzi Scott Weston - scott-weston
MOTW CorrespondentMartin Anderson-Clutz - mandclu.com mandclu
- Brief description:
- Have you ever wanted to control your site’s Cross-Origin Resource Sharing (aka CORS) configuration, directly within the Drupal admin UI? There’s a module for that.
- Module name/project name:
- Brief history
- How old: created in Sep 2016 by Sam Becker (sam152), a prolific module maintainer in his own right, though the most recent release is by Matt Glaman, who has been on this show and will need no introduction for many of our listeners
- Versions available: 8.x-1.2 which supports Drupal 9, 10, and 11
- Maintainership
- Actively maintained
- Security coverage
- Number of open issues: 2 open issues, 1 of which is a bug, and also has a patch available
- Usage stats:
- 274 sites according to drupal.org
- Module features and usage
- By default cross-origin requests to Drupal applications will be denied. Since Drupal 8.2 you can add a section to your site’s services.yml file to enable responses, and specify what headers, methods, and origins should be supported
- This module provides a form within Drupal to control these values. This could be helpful if, for example, these values need to change on a frequent basis, or for less technical users who are experimenting with a headless architecture.
- I should note that the bug mentioned earlier throws a fatal error in PHP 8, but is a simple fix. So if you want to try out this module, make sure you apply the patch.
The Drop Times: Busting Drupal Myths
Dear Readers,
Drupal might have a perception problem, notes John Picozzi in his latest blog post about the challenges Drupal faces despite its advancements. With Drupal 7 officially retiring and Drupal CMS v1 launching, Drupal has had significant changes in the beginning of the year itself.
"Although his learning curve became a meme, his approach imposed on you a working methodology that, at the time (2011!!), made you feel like Neo from the Matrix with a module and a couple of hooks placed well. And then that hierarchy of templates that allowed you to touch every point of the output: wonder."
shares Lorenzo Luci, a Drupal Specialist, about the official Drupal 7 end of life.
Drupal is a powerful open-source content management framework with a vibrant community and a strong commitment to the Digital Public Good philosophy. Despite its advancements in performance, usability, and scalability with versions 8, 9, and 10, Drupal continues to struggle with outdated perceptions that label it as an "old" and developer-focused CMS.
“The fact that Drupal is considered an ‘old’ CMS by some is laughable. Anyone with an informed and current point of view knows that Drupal is one of the more modern content frameworks on the market.”
notes John.
Negative experiences with poorly implemented older versions and misconceptions about open-source security contribute to this perception issue. However, Drupal’s robust security measures, continuous improvements, and commitment to transparency make it one of the most modern and secure platforms available. Addressing these misunderstandings requires educating stakeholders about Drupal's capabilities, such as its multi-site strengths, API-first approach, and seamless upgrade paths that eliminate the need for full rebuilds.
To combat Drupal's perception challenges, it's crucial to highlight its modern advancements, community-driven initiatives, and evolving ease of use. The introduction of tools like Experience Builder and Project Browser simplifies site-building and content management, addressing concerns about Drupal's learning curve. The Promote Drupal initiative and the newly formed Drupal marketing team are working to reshape its image, emphasizing strengths in scalability, structured content delivery, and third-party integrations. Drupal's open-source nature fosters innovation and collaboration, while the ongoing transformation of Drupal.org provides a more engaging, accessible platform to attract new users. By leveraging webinars, case studies, and community advocacy, Drupal can continue to dispel outdated notions and position itself as a powerful, future-ready CMS.
Here are the important stories from the past week.
Interviews
Discover Drupal
Events
- DrupalCon Singapore 2024 Recap
- MidCamp 2025: Tech Conference Focused on Learning, Networking, and Growth
- Keynote Speakers Announced for Drupal Mountain Camp 2025 in Davos
- EU Open Source Policy Summit 2025 to Define Europe’s Digital Future
- Lullabot Webinar: Enhancing Drupal CMS with Olivero Theme Extensions
- Events of the Week: January 27 - February 02, 2025
Organization News
- Concord Debuts Multi-CMS Compliance Solution, Including New Drupal Module
- DDEV v1.24.2 Brings MySQL 8.4 and Key Updates
- RVO Cuts Costs by €10,000 Annually with Drupal and Webforms Module
- Bounteous and Accolite Rebrand Under Unified Bounteous Name
We acknowledge that there are more stories to share. However, due to selection constraints, we must pause further exploration for now.
To get timely updates, follow us on LinkedIn, Twitter and Facebook. You can also join us on Drupal Slack at #thedroptimes.
Thank you,
Sincerely
Alka Elizabeth
Sub-editor, The DropTimes.
The Drop Times: Drupal Public Data, Statistics & Silver Linings? An Exploration
Golems GABB: New Navigation Sidebar module in core
Sometimes, the Drupal site's navigation feels like a maze. Well, Drupal has heard your pleas and delivered a game-changer: the new Navigation Sidebar module. Hot off the presses and integrated right into Drupal core, this module is poised to revolutionize the way you navigate your site, opening up a world of possibilities.
A team of enthusiasts and true Drupal professionals recently introduced a new Navigation Sidebar module. At the moment, this is an experimental solution. Its main task is to improve the administrative interface and simplify the management process significantly. And today, almost everyone can try out its new functions. Therefore, Golems Drupal web developers are excited to find out what features this module has and what opportunities it provides.
Droptica: How to Customize CMS for Your Business? A Guide Using Drupal as an Example
A CMS system is the foundation of any modern website or business platform. Choosing the right tool that adapts to a company's needs is crucial for effective content management. In this article, I’ll provide a detailed guide on understanding and matching a CMS to an organization's requirements. I’ll use the flexible and functional Drupal as an example. I invite you to read the article or watch an episode of “Nowoczesny Drupal” series.
LN Webworks: Drupal TMGMT OpenAI: Revolutionizing Multilingual Sites
The AI TMGMT (Translation Management) module is an AI translator plugin for the Translation Management Tools (TMGMT) project. It leverages the AI Module to allow you to use OpenAI, Ollama, and various other providers (it is both free and paid). This also ensures you can always access the trendiest and most cost-effective models for automated and accurate content translation.
Related Blog: Learn how to set up a multilingual site in Drupal transition Module
Key Features Of TMGMT
Given below are the key features overview of TMGMT:
Metadrop: How to extend and improve Drupal's log system using Monolog
Drupal's log system
To understand the limitations of the Drupal log and the improvements introduced by Monolog, it is first necessary to know what both systems consist of.
What does Drupal provide us with?
The most commonly used logging system that Drupal offers is dblog, a tool that logs events and errors that happen on the site, storing these logs directly in the system's database. Although dblog is useful for its accessibility and simplicity of integration, it can present significant performance issues when dealing with a high amount of traffic or frequent and massive logs.
On the other hand, there is syslog, a more robust alternative for log management. It allows system administrators to collect and store log messages on a dedicated server, thereby centralizing logs from multiple systems in a single location. However, it can be more complex to configure and is less accessible for users with limited system knowledge.
What if I don't want everything to go to the same place?
Drupal natively only allows you to choose one way to manage all logs. Sometimes, we need logs to be stored differently depending on their source. For this purpose, Monolog allows the management of each channel, enabling the processing of messages, selection of their format, and their destination.
In the context of this article, we want to keep dblog for…
Tag1 Consulting: Migrating Your Data from D7 to D10: Paragraph migration. Creating custom process plugins.
Are you ready to migrate with confidence? Our newest migration guide shares proven techniques for transforming field collection data into paragraph entities, including proper entity reference handling, revision management, and custom process plugins for field transformations. Insights from our experts will help your team deliver successful results.
mauricio Thu, 01/23/2025 - 18:09