Talking Drupal: Talking Drupal #451 - Just Say Drupal

Today we are talking about Drupal Marketing with version numbers, what competitors are doing, and Learning to Just Saying Drupal with guest Ivan Stegic. We’ll also cover Trash as our module of the week.

For show notes visit: www.talkingDrupal.com/451

Topics
  • What is the premise of Just Say Drupal
  • Why do you think it is important to drop the version number
  • Where do you suggest we drop verison numbers
  • In sales, if you don't mention version, how do you talk to clients
  • Why could using version numbers be detrimental
  • What do you suggest we call Drupal 7
  • Have you spoken to the Drupal marketing team
  • At Drupalcon they unveiled a new Brand Guide
  • What do you think of Drupal Starshot
  • Where do we go from here
Resources Guests

Ivan Stegic - ten7.com ivanstegic

Hosts

Nic Laflin - nLighteneddevelopment.com nicxvan John Picozzi - epam.com johnpicozzi Matthew Grasmick - grasmash

MOTW Correspondent

Martin Anderson-Clutz - mandclu.com mandclu

  • Brief description:
    • Have you ever wanted your Drupal site to have a trash bin for content entities, so they wouldn’t be immediately deleted from the database? There’s a module for that
  • Module name/project name:
  • Brief history
    • How old: created in Feb 2008 by rötzi, though recent releases are by Andrei Mateescu (mah-teh-sku) (amateescu) of Tag1
    • Versions available: 3.0.3, compatible with Drupal 9, 10, and 11
  • Maintainership
    • Actively maintained, release less than two months old
    • Security coverage
    • Test coverage
    • Number of open issues: 7 open issues, 3 of which are bugs against the current branch
  • Usage stats:
    • 1899 sites
  • Module features and usage
    • Once the module is installed, you choose which entity types on your site should use the new trash storage
    • For all the configured entities, deleting a piece of content moves it into the new trash storage, along with a timestamp set for when it went into the trash
    • You can configure whether or not the trash should be automatically purged on a periodic basis, and if so how often that should happen
    • It seems that there are some entities for which the Trash module currently excludes its functionality, such as users, comments, taxonomy terms, and so on. The note in the code indicates that more testing is needed, so any of our listeners who wants to trash entities for any of these types could try out patching the TrashSettingsFormand on a local copy and provide feedback based on how things work
    • The ability to restore deleted content is a request I’ve heard a number of times, so this could be a really useful module for making Drupal work in ways that certain teams expect

qtatech.com blog: Drupal Starshot : Un Nouveau Défi pour les Développeurs

Drupal Starshot: A New Challenge for Developers kanapatrick Mon, 05/20/2024 - 11:12

The world of web development is constantly evolving, and content platforms like Drupal are at the heart of this transformation. Drupal Starshot, a new initiative by Dries Buytaert, the creator of Drupal, aims to revolutionize the way developers create and manage their websites.

Image removed.

The Drop Times: DrupalCamp Poland 2024 Kicks Off Tomorrow in Warsaw!

DrupalCamp Poland 2024 starts tomorrow, May 18th, in Warsaw, bringing together Drupal enthusiasts and IT professionals. The event features lectures, workshops, and discussions led by international experts, covering the latest trends and best practices in Drupal and PHP. This article includes insights from the event's organizers and speakers, highlighting the significance of the conference. The day wraps up with the highly anticipated DrupalParty, offering a perfect setting for networking and relaxation.

Acquia Developer Portal Blog: DrupalCon Portland Day 4 Recap

Image removed.

We did it; we’ve reached the last day of DrupalCon Portland 2024. Today was a specialty content day with something for all conference attendees. Largely it was a day of industry summits and training. 

Industry Summits
DrupalCon industry summits provide an exclusive chance to engage and collaborate with Drupal community members who share your field and/or interests. These summits were comprehensive full-day sessions that allow for time to share case studies, strategies, lessons learned, and best practices. For those interested, the Industry Summit series was available as an add-on to the main ticket for an additional fee, offering a focused, enriching experience adjacent to the broader conference in the industries of government, non-profit, higher education, and healthcare, as well as a Drupal community summit option.

ImageX: Save Time, Maintain Consistency: Bulk-Update Drupal Content Instantly with the Field Defaults Module

Authored by Nadiia Nykolaichuk and Bryan Sharpe.

Smart approaches and tools are shaping the future of content management and website administration, leaving behind the days of tedious manual work. With a click of a button, you can instantly make consistent changes to multiple pages, almost as if wielding a magical wand.

Promet Source: 9 Ways Drupal Keeps Government Sites Ahead of the Curve

Note: This blog was first published on February 2, 2021, and has been updated to reflect new information and insights. Takeaway: Drupal is a powerful, open-source choice for government websites due to its advanced features and capabilities. It’s no secret that as an agency committed to bringing what’s new and next in the technology horizon to the public sector, we strongly advocate this choice. We’re in good company concerning this advocacy:

Electric Citizen: Big Changes Ahead for Drupal

Image removed.

Our team recently attended (and once again sponsored!) the DrupalCon North America conference in Portland, OR. 

Image removed.

This annual conference brings together the Drupal community, from the agencies who provide Drupal services to the industry clients who rely on it, along with contributors and open-source enthusiasts from around the world.

From my perspective on the exhibitors floor, working the booth, I don’t see as many of the great individual sessions that I have in past years. But I did leave with some important takeaways from this year’s event, especially around some upcoming changes for Drupal. 

Aten Design Group: Drupal API Development Simplified with APITools Module

Drupal API Development Simplified with APITools Module Image removed.jenna Tue, 05/14/2024 - 12:55 Drupal

One of Drupal’s most important features is its ability to integrate seamlessly with other systems (CRMs, eCommerce Platforms, Event Management Platforms, etc). Drupal can expose data using modules like JSON:API, which are integral parts of Drupal Core. Moreover, it can also consume data and make HTTP requests using standard HTTP methods. This post will focus primarily on the latter—highlighting how a module named APITools simplifies the process for Drupal developers.

Background

In researching the history of HTTP request handling in Drupal, I discovered that drupal_http_request has been around since version 5.x. It was described as:

"A flexible and powerful HTTP client implementation that correctly handles GET, POST, PUT, or any other HTTP requests, including handling redirects."

Throughout Drupal versions 6.x and 7.x, drupal_http_request continued to be a go-to option, seemingly simpler than using PHP's CURL function directly—a tool that many developers find intricate. With the release of Drupal 8, Drupal::httpClient replaced drupal_http_request, granting developers access to Guzzle—the de facto HTTP client in the PHP community.

While httpClient/Guzzle is typically the preferred choice for HTTP requests, it's rare that any request happens without some form of authentication. Although OAuth 2 has emerged as a standard for API authentication, the specifics can vary considerably between different APIs. This variability doesn’t mean the principles of OAuth 2 aren’t followed; rather, the implementations differ just enough that attempts to abstract this functionality into a universal module have faced challenges. As a result, developers frequently find themselves writing slightly different code for each API integration to accommodate these nuances. APITools attempts to be just helpful enough in these sorts of situations without making too many assumptions.

Leveraging APITools for the Drupal Zoom API Module

I personally maintain the Drupal Zoom API module, and over the past year, Zoom has changed their authentication requirements. This challenge prompted me to explore the APITools module, maintained by my friend and colleague Alan Sherry. What attracted me most to APITools was its ability to offer configurable options for storing credentials and an extensible client plugin that routes all API requests through a specified authentication method. By using APITools, I significantly reduced the amount of code in the Zoom API module and quickly released a version 3.x, which is compatible with Zoom’s "Server-to-Server OAuth" authentication method. The configuration form and the majority of the API client are now provided by APITools, reducing the amount of code I’ll need to maintain in the Zoom API module.

If you, like me, maintain an API-focused contrib module or need a reliable HTTP client for one-off tasks, I highly encourage you to explore APITools. With a little setup time, you can configure your ApiToolsClient and start making requests effortlessly.

The fact is, there are numerous API client modules on Drupal.org, each tailored for different services. APITools offers an opportunity for a more consistent and efficient approach. I hope you'll check it out!

Getting Started / Examples

We've written some documentation on Drupal.org for you to reference. For a fairly complete example in the Drupal contrib space, checkout the client plugin that is part of the Zoom API module.

Additional Examples

We’ve created a repository with some various API clients that will hopefully help with getting started.

  • Acalog - Simple api key implementation
  • Auth0 - Access token request with audience and grant type
  • Brandfolder - An example of using an sdk as a base with an apitools client wrapper around it
  • Localist - Example of a static access token created by an administrator
  • Sharepoint - Access token with audience / grant type, and “ext_expires_in” instead of “expires_in”

If you decide to use APITools, we’d love to hear about your experience in the blog comments below.

Image removed.Joel Steidl