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
Resources
- GraphQL
- GraphQL Compose
- GraphQL Compose Preview
- GraphQL Compose Webform
- GraphQL Compose Fragments
- Swagger UI
- Custom Field
- Drupal Decoupled
Guests
Jesus Manuel Olivas – drupal-decoupled.octahedroid.com jmolivas
Hosts
Nic Laflin – nLighteneddevelopment.com nicxvan John Picozzi – epam.com johnpicozzi Scott Weston – scott-weston
MOTW Correspondent
Martin 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.
Large tables can pose challenges for many operations when working with a database. Occasionally, we may need to modify the table definition. Since RDS replication does not use asynchronous for its replication, the typical switchover procedure is not feasible. However, the Blue/Green feature of RDS utilizes asynchronous replication, which allows us to update the table […]
MongoDB has long been a favorite in the database community and is renowned for its flexibility and performance as a NoSQL solution. However, MongoDB Inc. chose to close-source the code of its Enterprise Advanced Server and, on top of that, reduced the value of the MongoDB Community Edition by no longer adding enterprise-grade features to […]
What index will be used when you count all rows in a table? Well, the MySQL documentation provides a straightforward answer to this, quoting: InnoDB processes SELECT COUNT(*) statements by traversing the smallest available secondary index unless an index or optimizer hint directs the optimizer to use a different index. If a secondary index is […]
The increase of cloud-native technologies is transforming how we manage databases. Since I stepped into the world of databases and cloud-native technologies, I have encountered several initiatives aimed at developing and optimizing database operations in the cloud, and Kubernetes plays a crucial role in this shift through Operators. While the core concepts and techniques of […]
PostgreSQL is one of the most powerful database systems in the world. I have always been passionate about its great power, especially its modern SQL language features. However, that doesn’t mean everything is great. There are areas where it hurts. Novice users unaware of the problem might get into trouble, and I see such things […]
Originally published on The New Stack. Cloud-related regulatory, security and financial issues prompt many to weigh the benefits of building GenAI on on-premises and hybrid databases. Generative AI (GenAI) has already shown its potential to reshape industries, promising to enhance productivity, take over operational tasks, and drive revenue growth. According to Deloitte’s 2024 State of Generative […]
When setting up data-at-rest encryption (also known as transparent data encryption) in Percona Server for MongoDB, one has three options for storing a master encryption key: Encryption key file on a filesystem, KMIP server, HashiCorp’s Vault. An encryption key file is only suitable for testing due to its lack of proper security. One can read […]