Planet Drupal
Tag1 Consulting: Drupal Core Test Suite Improved Runtime By 10% With Gander
The Drupal community has continuously sought ways to enhance the performance and efficiency of Drupal sites. The performance testing framework Gander has been part of Drupal core since version 10.2. The result of joint efforts between the Google Chrome team and Tag1 Consulting, this powerful tool is specifically designed to optimize Drupal performance. Optimized performance ensures that sites are not only fast but also efficient and sustainable. Today, we will take a closer look at how Gander played a crucial role in improving the Drupal core test suite runtime by 10%. ## Identifying A Core Performance Issue Gander's impact on Drupal development was recently highlighted by its identification of a performance issue within Drupal core. The issue (#3410312) reported a particular code section being called redundantly during automated test runs and on live websites, resulting in delays. ### The Bottleneck Identified Drupal is designed to use the flood system for user logins. It first checks if a flood protection table exists in the database. If it does not exist, Drupal postpones the creation of the table until it needs to write to it instead of creating the missing table immediately. What can happen is...
Read more janez Wed, 04/03/2024 - 02:00Talking Drupal: Skills Upgrade #5
Welcome back to “Skills Upgrade” a Talking Drupal mini-series following the journey of a D7 developer learning D10. This is episode 5.
Topics-
Review Chad's goals for the previous week
- .gitignore
- Field Example module
- Plugin API
- Drupaal 10 Masterclass book
-
Review Chad's questions
- Field Example follow up
-
Tasks for the upcoming week
- Examples module: js_example module
- js_example.libraries.yml
- hook_theme() implementation in js_example.module
- JsExampleController
- template files
- Examples module: js_example module
.gitignore Drupal 10 Masterclass Modernizing Drupal 10 Theme Development Chad's Drupal 10 Learning Curriclum & Journal Chad's Drupal 10 Learning Notes
The Linux Foundation is offering a discount of 30% off e-learning courses, certifications and bundles with the code, all uppercase DRUPAL24 and that is good until June 5th https://training.linuxfoundation.org/certification-catalog/
HostsAmyJune Hineline - @volkswagenchick
GuestsChad Hester - chadkhester.com @chadkhest Mike Anello - DrupalEasy.com @ultimike
Acquia Developer Portal Blog: Local environment for Acquia Site Factory
The purpose of this tutorial is to explain how to set up a best practice local environment for Drupal multisite, including on Acquia Site Factory:
- Configure Lando to support wildcard DNS.
- In settings.php, set an "App ID" to use in code for a specific multisite in any environment.
- In settings.php, set database, public files, memcache prefix, Solr core, and other settings per "App ID".
- Configure Drush aliases per multisite and per environment.
- Write bash scripts to push and pull sites using these aliases.
- Configure Lando with wildcard DNS
Lando is a docker orchestration framework for development environments.
There
Salsa Digital: Splash Awards 2024
The Drop Times: For Drupal to Remain Well and Alive: An Exclusive Conversation with Tim Doyle
Drupal Association blog: DrupalCon Portland 2024: The Nonprofit Summit Agenda is here!
I am pleased to share the schedule for the upcoming 2024 DrupalCon Nonprofit Summit. There is a special rate ($395.00) for nonprofit org staff, and those who are affiliated with nonprofits, and the summit is included free with your ticket! You can register here.
Relying on community feedback and past experience, we put together an agenda that we hope encompasses the spirit of open source camaraderie and will provide nourishment for the mind and soul. We tried to balance the technical with the strategy and networking with expertise. We look forward to seeing you there.
Agenda 9:00 am - 9:15 am: Welcome and overviewJulia Kranzthor
9:15 am - 10:30 am: Why Should Nonprofits Use Drupal? The Case for Owning Your Own Data and Using Drupal to Manage It.Fireside Chat with Tim Lehnen, Johanna Bates, and Jess Snyder
10:30 am - 10:45 am: Break 10:45 am -11:00 am: Sponsor Case Study #1 11:00 am - 12:15 pm: Breakout SessionsRound Table Discussions
-
Using Drupal to Promote Engagement With Your Audience: Tools, Challenges, and Measurement
-
Web Analytics for Nonprofits: Google Analytics 4 and Alternatives.
-
Thriving as a Lone Wolf: Navigating the Challenges of Being the Only Drupalist at a Nonprofit
-
Migrating from Drupal 7 to Drupal 10
-
Managing a Major Website Rebuild/Migration
-
Birds of a Feather: Topic to be determined on-site
A time for relaxing, and networking if you feel like it.
1:15 pm - 2:30 pm: Breakout SessionsRound Table Discussions
-
Web Accessibility and Site Governance
-
Using Drupal in Small Nonprofits with Limited Staff and Financial Resources
-
Preparing for Impact on Your Website Redesign
-
Development and Hosting Challenges for Nonprofits
-
Leveraging CiviCRM with Drupal: Open Source CRM for Contact Management and Engagement Tracking
-
Birds of a Feather: Topic to be determined on-site
Panel discussion with Tim Lehnen and Fran Garcia-Linares
4:00 pm - 5:00 pm: Optional NetworkingWrap up conversations, visit with colleagues.
Drupal Association Journey: Pedro Cambra: Survey on Bookmarking Tool Needs Your Input
TL;DR: I’m requesting members of the Drupal community to help my research about the need for a bookmarking tool by responding a super quick survey.
As part of my dissertation work for my bachelor’s degree, I’m unsurprisingly working in something related to Drupal. After a lot of consideration regarding a project that could be within a reasonable scope but also allowed me to contribute a little bit to the Drupal ecosystem, a chat with Cristina and Christian helped me decide to work in the shortcut module, and try to make improvements before it is marked to be removed to core – and try to avoid that because I believe it could be a useful tool for both the navigation and the dashboards initiatives.
But first things first.
One of the elements I am looking to explore the most in my research is the full process of the contribution, from identifying the issue to solve, get quantitative data through a survey in the community to establish that the problem is worth solving it, then propose a solution and get feedback on it.
I would appreciate it a lot if you could help me achieve my goal by answering the survey I’ve prepared.
Matt Glaman: Ensuring smart_date works for all versions of Drupal 10 and 11
At MidCamp a few weeks ago, Martin Anderson-Clutz tapped me on the shoulder to check out a Smart Date issue for compatibility with Drupal 10.2. As of Drupal 10.2, ListItemBase::extractAllowedValues takes an array as its first argument versus a string. The method used to explode a newline separated string into an array for its callers. I took a look at the issue. The change affected the parseValues method in the SmartDateListItemBase class. The parseValues method takes the field's values and passes them to extractAllowedValues, the method with a changed signature in Drupal 11.
The original method contained the following:
Specbee: How to Write Your First Test Case Using PHPUnit & Kernel in Drupal
The Drop Times: Drupal Page Builders—Part 3: Other Alternative Solutions
The Drop Times: DrupalCamp Ouagadougou Concludes Successfully
Talking Drupal: Talking Drupal #444 - Design to Development Workflow Optimization
Today we are talking about design to development hand off, common complications, and ways to optimize your process with guest Crispin Bailey. We’ll also cover Office Hours as our module of the week.
For show notes visit: www.talkingDrupal.com/444
Topics- Primary activities of the team
- Where does handoff start
- Handoff artifact
- Tools for collaboration
- Figma
- Evaluating new tools
- Challenges of developers and designers working together
- How can we optimize handoff
- What steps can the dev team take to facilitate smooth handoff
- Framework recommendation
- Final quality
- AI
Crispin Bailey - kalamuna.com crispinbailey
HostsNic Laflin - nLighteneddevelopment.com nicxvan John Picozzi - epam.com johnpicozzi Anna Mykhailova - kalamuna.com amykhailova
MOTW CorrespondentMartin Anderson-Clutz - mandclu
- Brief description:
- Have you ever wanted to manage and display the hours of operation for a business on your Drupal site? There’s a module for that
- Module name/project name:
- Brief history
- How old: created in Jan 2008 by Ozeuss, though recent releases are by John Voskuilen of the Netherlands
- Versions available: 7.x-1.11 and 8.x-1.17
- Maintainership
- Actively maintained, latest release was 3 weeks ago
- Security coverage
- Test coverage
- Documentation: no user guide, but a pretty extensive README
- Number of open issues: 15 open issues, only 1 of which are bugs against the current branch, though it’s postponed for more info
- Usage stats:
- Almost 20,000 sites
- Module features and usage
- Previously covered in episode 113, more than 8 years ago, in the “Drupal 6 end of life” episode
- The module provides a specialized widget to set the hours for each weekday, with the option to have more than one time slot per day
- You can define exceptions, for example on stat holidays
- You can also define seasons, with a start and end date, during which the hours are different
- The module also offers a variety of options for formatting the output:
- You can show days as ranges, for example Monday to Friday, 9am to 5pm, 12-hour or 24-hour clocks, and so on
- Obviously it will show any exceptions or upcoming seasonal hours too
- It can also show an “open now” or “closed now” indicator
- It can create schema.org-compliant markup for openingHours, and has integration with the Schema.org Metatag module
- Office Hours does all this with a new field type, so you could add it to Stores in a Drupal Commerce site, a Locations content type in a site for a bricks-and-mortar chain, or if you just need a single set of hours for the site, you should be able to use it with something like the Config Pages module
- The README file also includes some suggestions on how to use Office Hours with Views, which can give you a lot of flexibility on where and how to show the information
The Drop Times: The Power of Embracing New Challenges and Technologies
“The greater the obstacle, the more glory in overcoming it.” – Molière
Dear Readers,
Stepping out of our comfort zones is undoubtedly a daunting task. Yet, it's precisely this leap into the unknown that often leads to remarkable growth and self-discovery. Embracing new challenges and learning from scratch can feel overwhelming at first, but through these experiences, we truly push our limits and uncover our hidden capabilities.
In our journey of embracing the unfamiliar, we expand our skill sets and gain a deeper understanding of ourselves and the paths we never thought possible. Each new challenge becomes an opportunity to stretch beyond what we thought we were capable of, illuminating uncharted territories of potential and opportunity.
Embrace the technological diversity surrounding us, as it serves as a rich tapestry of tools and methodologies that can enhance our creativity, efficiency, and impact in ways we've only begun to explore. Like the inspiring journey of Tanay Sai, a seasoned builder, engineering leader, and AI/ML practitioner who recently embarked on a transformative adventure beyond the familiar horizons of Drupal. Tanay's story is a testament to the idea that stepping out of one's comfort zone can lead to groundbreaking achievements and a deeper understanding of the multifaceted digital ecosystem.
The importance of continuous learning and the willingness to embrace new challenges is profound. It encourages us to look beyond the familiar, to experiment with emerging technologies, and to remain adaptable in our pursuit of delivering exceptional digital experiences.
Now, Let's take a moment to revisit the highlights from last week's coverage at The Drop Times.
Last month, we celebrated the Women in Drupal community and released the second part of "Inspiring Inclusion: Celebrating the Women in Drupal | #2" penned by Alka Elizabeth. Part 3 of this series will be coming soon.
Explore the dynamic evolution of Drupal's page-building features in Part 2 of André Angelantoni's latest series on The Drop Times. Each module discussed extends Layout Builder and can be integrated individually. Part 3 might already be released by the time this newsletter comes your way. Access the second part here.
DrupalCon Portland 2024, scheduled from May 6 to 9, will feature an empowering Women in Drupal Lunch event. This gathering aims to uplift female attendees and inspire and support women within the Drupal community. Learn more here.
Save the dates for DrupalCamp Spain 2024 in Benidorm! The event is scheduled for October 25 and 26, with the venue to be announced soon. Additionally, mark your calendars for October 24, designated as Business Day.
DrupalCamp Belgium has unveiled the keynote speakers for its highly anticipated 2024 edition in Ghent. For more information and to discover the lineup of keynote speakers, be sure to check out the details here. A complete list of events for the week is available here. Additionally, Gander Documentation is now available on Drupal.org, as announced by Janez Urevc, Tag1 Consulting's Strategic Growth and Innovation Manager, on March 25, 2024.
Also, read about Tanay Sai, an accomplished builder, engineering leader, and AI/ML practitioner who shares insights into his transformative journey beyond Drupal. After a decade immersed in the Drupal realm, Tanay candidly expresses his pivotal decision to venture beyond its confines. Learn more here.
Monika Branicka of Droptica conducts a comprehensive analysis of content management systems (CMS) employed by 314 higher education institutions in Poland. This study aims to unveil the prevalent CMS preferences among both public and non-public universities, providing insights into the educational sector's technological landscape. The report comes amidst a growing call for resources to track Drupal usage across industry sectors, coinciding with similar studies conducted by The DropTimes and Grzegorz Pietrzak.
DevBranch has announced the launch of a Drupal BootCamp tailored for aspiring web developers. This initiative aims to equip individuals with the necessary skills and knowledge to excel in web development using Drupal. For further details, click here.
The development of Drupal 11 has reached a critical phase, marked by ongoing updates to its system requirements within the development branch. Gábor Hojtsy has provided valuable insights on preparing core developers and informing the community about these changes. Stay updated on the latest developments as Drupal 11 evolves to meet the needs of its users and developers.
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. Also, join us on Drupal Slack at #thedroptimes.
Thank you,
Sincerely
Elma John
Sub-editor, TheDropTimes.
Drupal Association blog: Unveiling the Power of Drupal: Your Ultimate Choice for Web Development
Welcome to DrupalCon Portland 2024, where innovation, collaboration, and excellence converge! As the premier event for Drupal enthusiasts, developers, and businesses, it's the perfect occasion to explore why Drupal stands tall as the preferred choice for web development. In this article, we'll delve into the compelling reasons that make Drupal the ultimate solution for your web development needs.
Open Source ExcellenceDrupal is renowned for being an open-source content management system (CMS), fostering a vibrant community of developers and contributors. The power of collaboration within the Drupal community results in continuous improvements, security updates, and a wealth of modules that cater to a wide range of functionalities. Choosing Drupal means embracing a platform that is constantly evolving and adapting to the ever-changing landscape of the digital world.
Flexibility and Scalability
Drupal's flexibility is one of its key strengths. Whether you're building a personal blog, a corporate website, or a complex e-commerce platform, Drupal adapts to your needs. Its modular architecture allows developers to create custom functionalities and integrate third-party tools seamlessly. As your business grows, Drupal scales with you, ensuring that your website remains robust, high-performing, and capable of handling increased traffic and data.
Exceptional Content Management
Content is at the heart of any successful website, and Drupal excels in providing an intuitive and powerful content management experience. The platform offers a sophisticated taxonomy system, making it easy to organize and categorize content. With a user-friendly interface, content creators can effortlessly publish, edit, and manage content, empowering organizations to maintain a dynamic and engaging online presence.
Security First
In the digital age, security is non-negotiable. Drupal takes a proactive approach to security, with a dedicated security team that monitors, identifies, and addresses vulnerabilities promptly. The platform's robust security features, frequent updates, and a vigilant community ensure that your website is well-protected against potential threats. By choosing Drupal, you're investing in a platform that prioritizes the security of your digital assets.
Mobile Responsiveness
With the increasing prevalence of mobile devices, it's crucial for websites to be responsive and accessible across various screen sizes. Drupal is designed with mobile responsiveness in mind, offering a seamless experience for users on smartphones, tablets, and other devices. This ensures that your website not only looks great but also performs optimally, regardless of the device your audience is using.
Community Support and Knowledge Sharing
Drupal's strength lies not only in its codebase but also in its vast and supportive community. DrupalCon is a testament to the spirit of collaboration and knowledge sharing within the community. Whether you're a seasoned developer or a newcomer, Drupal's community is there to offer support, guidance, and a wealth of resources to help you succeed. By choosing Drupal, you're not just adopting a technology but becoming part of a global network of passionate individuals.
As we gather at DrupalCon Portland 2024, the choice is clear – Drupal is the unparalleled solution for web development. Its open-source nature, flexibility, security features, exceptional content management capabilities, mobile responsiveness, and thriving community make it the go-to platform for building robust and scalable websites. Join the Drupal revolution and unlock the full potential of your digital presence!
Register now for DrupalCon Portland 2024!
DrupalEasy: DrupalEasy Podcast - A very special episode
A very special episode of the DrupalEasy Podcast - an episode two years in the making.
LN Webworks: 7 Reasons Why Drupal is the Perfect Platform for Your Real Estate Website
The website of your business, be it any, is a complete brand narration in itself. These days, whenever you hear a brand’s name - you always either check out their social handles and then move on to their website. This holds true when we are talking about e-commerce business, real estate, and so on.
Speaking of real estate specifically, creating a website that works in your favor and not for the sake of it can make or break your business. But, out of so many CMS options in the market, which one should you pick? The answer is simple - the one that suits your business and all its specific needs. And, what’s better than Drupal? Well, to simplify it, let’s have a look at some of the big top
Salsa Digital: Mastering Drupal migration: Guide to seamless website upgrades
Pixelite: Drupal and the Open Web in the Australian Government - 2024 edition
This is the complementary blog post for my DrupalSouth Sydney 2024 session, and also v2.0 follow up of sorts from the original 2022 version. The full presentation was much longer than this blog post, this blog post is just going to highlight the core statistics and findings.
Have you ever wondered how popular Drupal is in your local state and at the Australian Federal Government level? This blog post will help to answer that question, using open source tooling. The hope is that you gain some insight to the relative popularity of Drupal and appreciate more the impact you and Drupal have in Australia.
As this blog post is a follow up, you can also now start to see trends (data is around 13 months newer than the last time I did this).
Just show me the graphsDisclaimer:
- This is based on Oct 20, 2023 data
- The scoring is based off PageRank data, so the percentages are not raw counts of websites, but an approximation of how important the respective sites are compared to others (assumes a logarithmic base of 5).
- Wappalyzer detection is not perfect (see the end of this blog post for upstreamed PRs), and there is still a fairly large portion of sites where the CMS cannot be identified
- MoGs make this tricky (PageRank relies on incoming links, which break due to MoGs)
- Only source *.gov.au domains considered (some Government sites use other TLDs)
- Unlikely newly created websites are in the top 10 million just yet (due to how the algorithm of PageRank works)
Programmes like GovCMS are having an impact here. Also interesting that if you are not using Drupal, the chances are you have written something entirely custom.
Federal sites (every non-state based domain)Victoria *.vic.gov.auThe Single Digital Presence (SDP) programme makes a mark in Victoria.
Victoria (*.vic.gov.au)New South Wales *.nsw.gov.auLarge Drupal sites like https://www.nsw.gov.au/ and https://www.service.nsw.gov.au/ help to make Drupal dominant in NSW.
New South Wales (*.nsw.gov.au)South Australia *.sa.gov.auSquiz Matrix increasing in market share ↑5.4% over 2022. There is a clear state led mandate here.
South Australia (*.sa.gov.au)Western Australia *.wa.gov.auA lot of sites this time around are now identified (decrease of ↓30.8% of unknown sites). Drupal also increased market share by ↑9.9%.
Western Australia (*.wa.gov.au)Tasmania *.tas.gov.auThe lowest usage of Drupal for any Australian state or territory and the highest percentage of Wordpress.
Tasmania (*.tas.gov.au)Queensland *.qld.gov.auQueensland (*.qld.gov.au)Australian Capital Territory *.act.gov.auThe highest percentage of Squiz compared to any other Australia state or territory.
Australian Capital Territory (*.act.gov.au)Northern Territory *.nt.gov.auNorthern Territory (*.nt.gov.au)Open Source Software (OSS) CMS vs Proprietary CMSFor the CMS' that can be identified, splitting them into 2 categories, OSS and Proprietary. OSS is determined on whether the source code is freely available, and there is a licence that allows me to run it without paying someone.
Open Source Software (OSS) CMS vs Proprietary CMSDrupal sites by major versionFor sites reporting as Drupal, Drupal 10 is the most popular. Still 5.4% of Drupal sites running Drupal 7 to which will be End-of-Life (EOL) in early 2025.
Drupal by major versionScore by state and territoryThis is weighted by total score, broken down by federal/state/territory.
Scores by federal/state/territory in AustraliaObservations and other unusual findingsDrupal usage“Drupal powers ~29.9% of all digital experiences that you use in the Australian government. This is↑2.7% compared to 2022”Drupal Growth“Relative to the growth of Australian government sites, Drupal adoption is growing faster”Drupal adoption is rising faster that Australian government sites are risingTop contender“Squiz Matrix is the top contender with 15.6%, and has a clear state lead mandate in 5 states/territories. This is↑3.5% compared to 2022”Drupal 7 usage“Drupal 7 usage dropped from 15.8% in 2022 to 5.4% in 2024. This is↓65.8% compared to 2022. Most popular Drupal 7 site is https://www.sl.nsw.gov.au/”Also after my presentation I got to meet the team behind the State Library of NSW, and they advised that they are due to upgrade to Drupal 10 anytime soon.
TLS coverage is still not 100%83 sites with HTTP only (a drop of ↓46 since 2022)
Domain
CMS
Page Rank
Score
unknown
5.63
8614
http://ips.gov.au/mailman/listinfo
unknown
4.68
1867
http://www.nntt.gov.au/Pages/Home-Page.aspx
microsoft-sharepoint
4.68
1867
hcl-notes
4.6
1642
http://services.land.vic.gov.au/
unknown
4.56
1539
If in doubt, add a number14 sites with ww[0-9] in the domain name (a drop of ↓5 since 2022)
Domain
CMS
Page Rank
Score
drupal
5.3
5065
unknown
4.99
3075
unknown
4.59
1615
unknown
4.53
1467
unknown
4.51
1420
I think this is often used like a form of poor mans version control, often archiving the previous version of the site. For some reason it is archived publicly.
I want the raw data!If you want to make your own visualisations of the data, or even just do random queries “how popular is Spark CMS in Western Australia”, you can download a CSV from https://bit.ly/dsau2024csv. Slides are https://bit.ly/dsau2024.
Upstreamed enhancementsI found a lot of software running in certain states, so I upstreamed some changes to better detect these software packages:
- Better SilverStripe detection #120
- Datascape detection #122
- Spark CMS detection #123
- Jadu detection #126
- Engagement HQ detection #124
- Social Pinpoint detection #125
- Citizen Space detection #121
I am keen to hear feedback on this data, and what can be done to improve the scoring. Also, if you can help fill in some of the 'unknown' data, let me know, I am happy to craft another PR into WebAppAnalyzer.
Chapter Three: Tackling Complicated Drupal 7 Migrations
Lullabot: Lullabot Podcast: Just Say Drupal‽
Drupal's identity is very nuanced, from its rich history to its future potential. We discuss why at least one member of the community says just saying "Drupal" is important when discussing current versions of Drupal and the community that drives it.
Is specifically calling out "Drupal 10.2" or or "Drupal 11" useful, or just confusing to outsiders?