Matt Glaman: Book Review: Modernizing Drupal 10 Theme Development
I just finished reading Modernizing Drupal 10 Theme Development published by Packt Publishing by Luca Lusso. Don't let the title make you think it is about theme development. The book provides excellent coverage of general Drupal knowledge, so much so that I highly recommend this book as a go-to resource for any frontend or full-stack developer new to Drupal. I'd also recommend it for any backend developer working on a large team so that they understand the work their frontend colleagues are performing and how to assist them best.
I enjoyed the flow of the chapters. Reading this book made me think back to when I had my first job building websites, which was primarily front-end development. The book takes you down the journey of a developer tasked to implement a design onto a Drupal site.
qtatech.com blog: Demystifying Decoupled Drupal with NextJS
Have you ever heard of decoupled Drupal with NextJS? It is a powerful combination of technologies that can help developers to create dynamic web applications. One such approach that has gained immense popularity is the combination of Decoupled Drupal and NextJS.
Specbee: Your Guide to the World of Drupal Developer Roles
Salsa Digital: Drupal accessibility — a comprehensive Drupal self-help guide to creating accessible websites
Salsa Digital: Drupal performance — a complete Drupal self-help guide to ensuring your website’s performance
Talking Drupal: Talking Drupal #417 - The Recipes Initiative
Today we are talking about The Recipes Initiative, the future of install profiles, if distros are still a thing, and answering a bunch of listener questions with our guest Jim Birch. We’ll also cover Quick Links Kit as our module of the week.
For show notes visit: www.talkingDrupal.com/417
Topics- What are recipes
- How do you use recipes
- Is it a module, configuration or something else
- How do recipes compare to install profiles
- Are you stuck with them
- What happens if the config is changed
- Are there namespace collisions
- How do recipes compare with Distributions
- Can you include content
- Listener James: Can recipes uninstall modules
- Can we use recipes now
- When will recipes be in core
- Can recipes be used by tests
- Listener Andy: Can recipes and startkits interact
- Can themes require recipes
- Listener Matthieu: How do recipes compare with Symfony recipes
- Listener James: How easy will it be to make custom recipes
- Listener Matthieu: Should contrib maintainers be watching recipes
- How can we get involved
- Jim’s Design 4 Drupal Talk Recipes
- Recipes Drupal Project Page
- Strategic Initiative Page
- Cioppino
- php core/scripts/drupal recipe PATH/TO/RECIPE
- config actions issue
- infrastructure project meeting thread
- Kevin Quillen blog post - Create Recipes
Jim Birch - @jimbirch
HostsNic Laflin - nLighteneddevelopment.com nicxvan John Picozzi - epam.com johnpicozzi Jen Lampton - jenlampton.com - jenlampton
MOTW CorrespondentMartin Anderson-Clutz - @mandclu
- Brief description:
- Have you ever needed to add a set of quick links, essentially visual navigation prompts, to the home page or section pages of your Drupal site?
- Quick Links Kit (different from Quicklink module created by last week’s guest, Mike Herschel)
- Brief history
- How old: I created in Apr 2021
- Versions available:
- 1.0.6 that supports Drupal 8, 9, and 10, and 2.0.1 that supports only D10
- Maintainership
- Sporadically maintained, but a pretty simple module
- Number of open issues:
- 1, and it’s not a bug
- Usage stats:
- 1 site
- Maintainer(s):
- Me!
- Module features and usage
- The module is really just a set of configuration, with an optional submodule that sets everything up, including the placement of the block on the home page, for sites using Olivero as their theme, so it’s perfect for a fresh install of Drupal
- It allows for SVG icons to be set for each link, and sets their fill to inherit from the link style
- The links can be created and managed without leaving the page on which they’re used, by using the settings tray, though it would be a quick configuration change to use a modal or a separate page instead, if preferred.
- The 2.0 version also makes use of Drupal 10’s new responsive grid views display, so if you’ve wanting to try that out, this is an easy way to get started
- I thought this module was appropriate for today’s episode because it’s an example of a module that will be a recipe once the infrastructure for them is ready. That said, the Olivero submodule does currently contain a little CSS to improve the display of the links, but that could easily be copied into your site’s custom theme.
Metadrop: Sevilla Drupal Camp Behat workshop
For this year's Drupal Camp a joint effort has been made to offer three different workshops on testing with Drupal. One of them was a Behat workshop where a theoretical basis was given and different practical exercises with Behat were proposed.
Through this article we want to make this same Behat workshop available to anyone who is interested so that they access the presentation and the exercises. Unfortunately, the slides are only available in Spanish. However, the exercises are written in English so even if you don't speak Spanish you may benefit of doing the practical part.
The workshop
The workshop uses two repositories, the first is a presentation used as a guide for the workshop, and the second is a pre-configured environment with Behat ready to be run.
The presentation can be viewed online directly from the browser. It consists of three parts:
- A very basic introduction to Behat, supported by more…
The Drop Times: A Journey Through the Pages of Life
—Dalai Lama, XIV [Link]"The purpose of our lives is to be happy."
India Today, September 30, 2021
This profound quote by the Dalai Lama underscores the significance of happiness as the ultimate purpose of our existence. It serves as a guiding light on our quest to live a fulfilling life.
Have you ever picked up a book and felt transported to another world, only to snap back to reality hours later, wondering where the time went? Recently, I found myself in such a literary trance, lost in the depths of a compelling story. During one of these moments, as I glanced at the clock, a stark realization dawned on me: time is a relentless sprinter.
As the pages turned and the clock's ticking became more pronounced, I couldn't help but contemplate the brevity of life. We often find ourselves trapped in the daily grind, chasing deadlines and meeting obligations while neglecting a crucial aspect of existence—the pursuit of joy and happiness. It's not a luxury; it's a necessity.
Regret is an unwelcome companion. It often emerges from the shadows, reminding us of opportunities missed and passions left unexplored. It serves as a poignant reminder that life is too short to be lived with reservations. We should seek happiness and engage in endeavours that, when we look back, we won't regret.
As we embark on this journey, let us remember that life's clock is always ticking. Every moment is a chance to make choices that align with our desires and aspirations. Pursuing happiness should be a deliberate act, not a fleeting wish.
Turning our attention to the world of technology, we enter the realm of Drupal. In the ever-evolving landscape of web development, Drupal stands as a steadfast pillar. It is an open-source content management system that plays a pivotal role in shaping the digital world. The Drupal community is abuzz with exciting news and events, and The Drop Times has been at the forefront of covering them. Here are some highlights from the past week, starting with events:
If you're preparing to speak at DrupalCon 2023 or any other event, Drupal Belgium offers a valuable speaker training opportunity on October 16.
For those seeking to deepen their Symfony expertise, SymfonyLive Paris 2024 offers an exciting opportunity. Early bird tickets will close today.
Exclusive CxO Lunch with Drupal Founder Dries Buytaert is scheduled for Wednesday, October 25, 2023, from 12:00 PM to 3:00 PM CEST.
Discover the secrets to successful digital transformation on Drupal through the workshops at DrupalCon Lille 2023.
Elevate your Drupal skills by joining the London Drupal Meetup on September 26, 2023.
The Drupal Ahmedabad Community held an exciting meetup on September 23, 2023.
Unlock your potential in web development with Promet Source's upcoming Drupal training courses for Fall 2023.
"Drupal's Path Forward: Challenges and Opportunities", a thought-provoking blog post by Ricardo Marcelino, delves into the challenges and opportunities ahead for Drupal, the renowned open-source content management system (CMS).
Dive into Traditional Drupal vs Headless Drupal, a blog post by Bordinary, to discover the strengths and weaknesses of each approach, helping you make informed decisions for your project's architecture.
Delve into A Mentor's Journey of Growth in Drupal Community, the inspiring journey of Philip Frilling.
Explore the advantages and streamlined processes of upgrading to Drupal 10 with insights provided by Promet Source.
Read about amazee.io's recent achievement of ISO 27001 certification for enhanced security.
Łukasz Dudzińsk provides valuable insights into the strengths and weaknesses of Drupal in an extensive blog post featured on StrefaKodera.pl.
Version 1.2.0 of Drupal's Front-end Editing Module offers users enhanced control and a smoother content editing experience. Developed by Artem Dmitriiev, this update redefines Drupal's front-end content management capabilities.
Stay informed about the evolving world of Drupal. Follow us on social media, subscribe to our newsletter, and join our growing community. Your engagement keeps our journey vibrant and enriching.
Sincerely,
Kazima Abbas
Sub Editor, TheDropTimes
Drupal.org blog: What’s new on Drupal.org - Q1 2023
Read our roadmap to understand how this work falls into priorities set by the Drupal Association with direction and collaboration from the Board and community. You can also review the Drupal project roadmap.
Editor's note from Tim Lehnen(hestenet): A Q1 update in September? What's the deal?
The Drupal Association has recently undertaken a variety of new initiatives to accelerate innovation in the Drupal project, and to begin expanding our capacity and capabilities by seeking grant funding. Unfortunately this has meant my personal capacity has been degraded, and I'm afraid I just fell off the wagon of posting these regular updates. I want to thank my colleague Alex Moreno for stepping into the gap to get this news flowing out to all of you again! Now on to the update!
Drupal recognized as a Digital Public Good!
The Digital Public Good registry recognizes digital goods, including open source software, that advance the Sustainable Development Goals as defined by the United Nations. This recognition supports the Association's broader mission to support the Open Web, and should give users of Drupal in the public sector even greater confidence in their choice.
We want to thank the community volunteers who worked with the Drupal Association to make this happen!
Read the news: Drupal recognized as a Digital Public Good
Securing AutoUpdates OSTIF.org Partnership
The Drupal.org secure signing infrastructure for Automatic Updates and Project Browser is now in testing, with the leads on those projects.
The Drupal Association has reached out to the Open Source Technology Improvement Fund to identify a partner to audit PHP TUF and Rugged, the two key software libraries being used to secure the Drupal.org supply chain for Automatic Updates and the Project Browser.
For an initiative as critical as applying automatic updates, external validation from a security vendor is critical.
OSTIF.org was previously involved in arranging the security audits for Python TUF and several other implementations of the framework, making them an ideal partner.
GitLab CI templates
Any project that opts in to using GitLab CI can now take advantage of an off-the-shelf .gitlab-ci.yml template that configures testing to follow core development. This template uses include files maintained by the Drupal Association on an ongoing basis.
We expect to open GitLabCI to every project on Drupal.org at DrupalCon Pittsburgh.
Having a template that we could centrally maintain was essential to being able to enable GitLab CI for every project, as many Drupal.org project maintainers are not CI experts.
This makes the migration much easier.
GitLab Issue Credit
After scaffolding out our plan to manage contribution credit in GitLab, we have implemented a full development prototype, which allows a credit node to be created on modern Drupal, with a webhook from a bot-created comment on GitLab.
This allows us to create and store contribution credit information from an external source, and could even be expanded beyond GitLab.
This clears one of the final barriers to completing our tooling migration to GitLab.
With GitLab CI nearly ready for every project, and a solution for credit fully prototyped, our last major step is to solve the issue workflow (see the next topic).
GitLab Issue Migration
With a solution for credit in pre-production, and GitLabCI about to roll-out to all projects the next phase is to move forward with migrating projects to GitLab issues.
The key problem to solve is shared access to issue forks. In Drupal, we're used to being able to collaborate with each other by default. In GitLab (and GitHub and most other tools) collaborators typically have to manually request access, or fork into a private workspace.
We are going to use an issue bot and webhooks to create simple tools for contributors to collaborate.
Moving to GitLab is part of our commitment to removing friction from the Drupal contribution process, and helps us to keep up to date in the latest innovations in code collaboration platforms.
However, we still lead compared to these platforms in collaborative workflow.
In fact, GitLab's own new 'Community Fork' experiment looks to implement ideas we pioneered in a GitLab context. Bringing these two ideas together is the best of both worlds
Events.Drupal.org on Drupal 9, pending Drupal 10 update
Events.drupal.org was the first drupal.org property to be updated to Drupal 9, and is in prep to be upgraded to Drupal 10 when the final contributed module is ready.
Up next:
- api.drupal.org
- localize.drupal.org
- www.drupal.org project endpoints
- www.drupal.org marketing pages
Drupal.org is historically one of the last sites to upgrade to the latest version of Drupal. This is because we have a lot of unique project infrastructure that is not in use by other Drupal end users, and so is likely the last functionality be ported.
Upgrading the events site gave us a greater than 5x improvement in performance, with improved caching behavior, better editorial tools, and is battle-testing our new k8s based hosting cluster.
Improvements to anti-spam controls on Drupal.org registration
We've made changes to Drupal.org's anti-spam protection that detect bot-like behavior or repeated account creation.
These changes decouple the anti-spam/anti-bot behavior from the account registration process, an important step so that we can move to a new Single Sign On system for Drupal.org.
Every moment spent on cleaning up spam is a moment not spent on Drupal contribution, and so it is a critically important if often invisible part of our work to protect and moderate Drupal.org.
We also thank the volunteer Drupal site moderators for their work to support this effort.
Multiple performance improvements (and bug fixes) to our GitLab installation.
GitLab has feature releases and security releases every month, and keeping git.drupalcode.org up to date is an important part of the work we do.
In the first quarter of 2023, several of these updates introduced unexpected performance issues, having to do with repository file sizes, replication, etc.
We were able to work with the upstream maintainers of GitLab itself to resolve these issues, and improve the overall performance of git.drupalcode.org
As always, we’d like to thank all the volunteers who work with us and the Drupal Association Supporters who help to fund our work. In particular, we want to thank:
- Acquia - Renewing Enterprise Supporting Partner
- Annertech - Renewing Signature Supporting Partner
- Elevated Third - Renewing Signature Supporting Partner
- FFW - Renewing Signature Supporting Partner
- Full Fat Things - Renewing Signature Supporting Partner
- Centarro - Renewing Premium Supporting Partner
- Dotsquares *UPGRADE* Premium Supporting Partner
- Dropsolid - Renewing Premium Supporting Partner
- Pantheon - Renewing Premium Supporting Partner
- Promet Source - Renewing Premium Supporting Partner
- Vardot - Renewing Premium Supporting Partner
- Zyxware - Renewing Premium Supporting Partner
- Bear Group - Renewing Classic Supporting Partner
- Berger Schmidt - Renewing Classic Supporting Partner
- Factorial GmbH - Renewing Classic Supporting Partner
- JMA Consulting - *NEW* Classic Supporting Partner
- LN Webworks - Renewing Classic Supporting Partner
- Mobomo - Renewing Classic Supporting Partner
- Redfin Solutions - Renewing Classic Supporting Partner
- Spry Digital - Renewing Classic Supporting Partner
- Docomo Innovations - Renewing Community Supporting Partner
- Drunomics - Renewing Community Supporting Partner
- Highlight Technologies - Renewing Community Supporting Partner
- Icon Agency - *NEW* Community Supporting Partner
- JAVALI - *NEW*Community Supporting Partner
- LimoenGroen - Renewing Community Supporting Partner
- Magnétic - *NEW*Community Supporting Partner
- Metadrop - *NEW* Community Supporting Partner
- RatioWeb - Renewing Community Supporting Partner
- XIMA MEDIA - *NEW* Community Supporting Partner