Drupal Core News: New Drupal core branching scheme introduced

Planet Drupal - Tue, 2023/05/09 - 8:52pm

Drupal core is moving towards using a main branch. As an interim step, a new 11.x branch has been opened, since Drupal.org infrastructure cannot fully support a Drupal core branch named main currently. This will bring Drupal in line with many other projects.

Before: Moving development branch

Drupal core previously opened a new minor branch (like 10.2.x) each time the previous minor released its first alpha (like 10.1.0-alpha1). This ensured that developers could immediately work on the next minor development version, but it made the most recent branch a moving target that changed every six months.

From 10.1 onwards, we will change our branch naming strategy, for the following reasons:

  • Make it easier for developers to choose the correct branch for issues.
  • Remove noise on issues from the automated comments created when a branch is opened.
  • Remove the overhead from issue bulk updates for branch changes.
  • Reduce merge conflicts and merge request permission problems caused by target branch changes.
After: Introducing the 11.x branch

This new 11.x branch will be used as the main development trunk until Drupal.org supports the main branch name. Future feature and API additions will be targeted against the 11.x branch. All outstanding issues filed against 10.1.x will be automatically migrated to 11.x.

The 10.2.x branch will be opened from 11.x prior to 10.2.0.

Comparing the old and new branching model. View a bigger version.
 

From now on, all patches and merge requests should be submitted to 11.x. Changes will be cherry-picked or backported from 11.x to minor branches as required. Backport versions of patches and merge requests can still be posted against specific branches.

Despite the branch name, Drupal 11 development is not yet open. The 11.x branch will still accept only minor-version allowed changes until Drupal 11 development begins.. When Drupal 11 development begins, we will branch the next Drupal 10 minor branch prior to the Drupal 11 alpha development phase, and only then will 11.x will allow Drupal-11-specific changes.

There is currently a 'stub' 11.0.x branch for holding 11.x-only issues that can't be worked on yet. These issues will also be moved to the 11.x branch, and we will use an [11.x] title prefix and 'Major version only' issue tag to distinguish them. 11.0.x will then be opened properly when we're ready to tag an alpha release.

We will rename the 11.x branch to main when possible.

Categories:

Acquia Developer Portal Blog: DrupalCon Survival Guide: Making the Most of Your Conference Experience

Planet Drupal - Tue, 2023/05/09 - 4:11pm
Why DrupalCon?

DrupalCon is the premier 3-4 day conference for the Drupal community. It brings together developers, content creators, site builders, and business leaders from around the world to learn and share their Drupal knowledge. You will have the chance to attend sessions, workshops, and keynotes led by some of the most innovative and successful Drupal leaders. The best part of DrupalCon (in my opinion) is participating in community events, networking opportunities, and social events with the vibrant community of Drupal enthusiasts. Check out this video below from the Drupal Association to learn more.

Categories:

LN Webworks: Drupal for LMS: Pros of the Industry Giant

Planet Drupal - Tue, 2023/05/09 - 12:28pm

The internet has brought a paradigm shift in the world of education. Distance learning caused quite a stir during the mid-19th century when its first echoes were heard by people worldwide. Over the years, it continued to progress slowly, but the pandemic made it witness exponential growth and pushed it to a whole new dimension. Overnight, all educational institutions and business organizations transitioned to online learning to educate students and train remote employees. Within days, every school, university, coaching center, and business organization had its learning management system (LMS) like Drupal to cater to the educational needs of their pupils and employees. Drupal development for LMS integration is one of the best possible choices in the content management system (CMS) market for creating and managing an effective LMS. No doubt, we are no longer confined by lockdowns today, but the changes induced by the pandemic have been irreversible.

Categories:

Jacob Rockowitz: How is the Schema.org Blueprints module different from a Drupal Distribution and Recipe?

Planet Drupal - Tue, 2023/05/09 - 11:09am

Behind every Drupal website are the modules and configuration settings that define the website's content model, authoring experience, presentation, and integrations. This post will explain and explore how the Schema.org Blueprints module handles configuration compared to a Drupal distribution and a Drupal recipe.

A Drupal distribution provides a predefined list of modules and configuration that define an entire website solution. For example, distributions offer a starting point for building a commerce, government, or intranet website. The Drupal community has acknowledged that distributions can be too opinionated and can become challenging to maintain.

There is now a Recipes initiative whose goal is to provide a modernized approach for distributions. A 'recipe' is a composable piece of site functionality and features bundled together. For example, a 'recipe' would provide an event registration system with an Event content type, a calendar view, and an online registration webform.

After installing a distribution or recipe, developers and site builders must alter and reconfigure what is installed to meet their organization's unique requirements. The 'Recipe' initiative and the Schema.org Blueprint module share the goal of providing a better starting point for building out a website's features and functionality. The big difference between these two solutions is the Schema.org Blueprints module does not ship with a predefined content model and configuration. Instead,...Read More

Categories:

LN Webworks: Drupal Website Personalization: Leveraging Content Grouping for Personalized Digital Experiences

Planet Drupal - Tue, 2023/05/09 - 9:37am

People of this generation expect websites to provide personalized digital experiences that speak to their individual needs and preferences. To back this up, Salesforce did a study and found that 66% of customers expect brands to understand their needs and expectations. As a Custom Software Development Services provider we are aware of the fact that personalized website content can keep users engaged, boost conversions, and foster long-term loyalty. It's now a breeze to achieve this by using content groups to organize your website's content based on shared traits or user interests.

In the article, you will learn how to slither into the world of leveraging content groups for a personalized Drupal experience. Brace yourself for the next level of personalization on your website - it's unarguably the best choice to make!

Categories:

Peoples Blog: node_get_recent() is deprecated in Drupal 10.1.x

Planet Drupal - Tue, 2023/05/09 - 5:30am
node_get_recent() is unused in core and is now deprecated, developers can use views or EntityQuery to get the nodes which are recently modified or added. Earlier drupal developers used to use the function node_get_recent() to get the recently changed nodes like seen in below example $latest_updated_nodes = node_get_recent(10); Now from Drupal 10.1.x onwards, developers need to use entity q
Categories:

Talking Drupal: Talking Drupal #398 - Drupal at your fingertips book

Planet Drupal - Mon, 2023/05/08 - 8:00pm

Today we are talking about The D9 Book with Selwyn Polit.

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

Topics
  • What is the Drupal at your fingertips book
  • When did you start the book
  • How long did the first draft take
  • Why is it online only
    • Have you considered printing it
  • How often do you work on it
  • Most interesting tidbit
    • Most obscure
  • What was it like using git for a book
  • Any plans to use Drupal for editing
  • Do you plan to update it for Drupal 10
  • Any AI tools
    • Chat GPT
    • Github copilot
  • Any plans to expand to other technologies
  • How can you contribute to the book
Resources Guests

Selwyn Polit - selwynpolit.github.io/d9book @selwynpolit

Hosts

Nic Laflin - www.nLighteneddevelopment.com @nicxvan John Picozzi - www.epam.com @johnpicozzi Jordan Graham - @jordanlgraham

MOTW Correspondent

Martin Anderson-Clutz - @mandclu Cloudflare Worker Purge Allows your site to use the Purge module to do tag-based cache invalidation on Cloudflare using Cloudflare Workers.

Categories:

The Drop Times: 5 Reasons Why Drupal is Chosen by Large Organizations

Planet Drupal - Mon, 2023/05/08 - 3:42pm
Drupal is an open and free CMS that allows organizations to manage their web properties according to their own peculiar needs. We have listed 5 main reasons why Drupal is the choice of large organizations.  
Categories:

Salsa Digital: Drupal defense in depth — a Drupal security protection framework

Planet Drupal - Mon, 2023/05/08 - 2:00pm
Drupal defense in depth — a comprehensive guide for securing Drupal, even after End-of-Life Drupal is an open source content management system (CMS). Like most open source CMSs, and open source software in general, the responsibility lies with the site owner to patch and/or upgrade the software.  When Drupal versions become End-of-Life, the software is no longer supported.  There are many risks and challenges this represents, with the biggest risk being security . For example, Drupal 7 and 9 will be End-of-Life on 1 November 2023. This means no more security updates will be developed. If the site remains on these versions after this date, the chances of being hacked by a cybersecurity attack considerably increases, potentially risking costly reputational damage to the brand.
Categories:

LN Webworks: Why Drupal is Best Choice for Non-Profit Websites?

Planet Drupal - Mon, 2023/05/08 - 12:38pm

Right from its inception, Drupal has remained the top choice for distinguished companies around the world, thanks to its cutting-edge features and excellent performance in the Drupal development field. Its glitter has never faded but rather has only brightened over the fifteen years of its phenomenal existence. On a 10-point scale, this ingenious content management system (CMS) has consistently secured number 10, never dwindling even for a microsecond. This bespeaks Drupal’s excellence. Its persistent upgradation in congruence with the ever-changing world of the internet, it has also become a popular choice for eCommerce development.

Categories:

Peoples Blog: Best way to add additional estimates upon the original estimate for a Story in a Sprint?

Planet Drupal - Mon, 2023/05/08 - 12:10pm
When additional work or requirements are identified for a Story during a Sprint, it is important to ensure that the impact on the Sprint's scope and timeline is understood and communicated to the team and stakeholders. Here are some steps that can be followed to add additional estimates to a Story in a Sprint: Review the original estimate: First, review the original estimate for the Story an
Categories:

LN Webworks: Must Follow Considerations When Starting a Drupal Based Project

Planet Drupal - Mon, 2023/05/08 - 11:33am

As a cutting-edge content management system (CMS), Drupal acts as a crucible that forges your website for phenomenal performance. With its ingenious features, it has transcended all its competitors to emerge as the global leading CMS. Scalability, mobile compatibility, phenomenal cybersecurity, multilingual interface, you name it, and Drupal already has it all. As a provider of Drupal Support and Maintenance Services USA we can tell you, Whether it is a content-heavy website or a simple one, Drupal’s viability is unquestionable. Its remarkable modules and themes make it capable of supporting the needs of every website imaginable.

It has been the trusted companion of world-renowned NGOs, government bodies, and Fortune 500 companies. The Australian Government, Pinterest, Twitter, Harvard University, the Emmy Awards, eBay, and NASA all rely on Drupal. If we consider facts, Drupal is the most preferred CMS in Belgium and the second most popular in Hungary.

Categories:

Five Jars: Security Checklist for Drupal Website

Planet Drupal - Mon, 2023/05/08 - 10:21am
Like any other CMS, Drupal is not immune to security vulnerabilities, and it's up to the website owner to ensure that the website is secure. In this article, we will provide a comprehensive security checklist for Drupal websites to help you keep your website safe from potential security breaches.
Categories:

The Drop Times: Be Patient with Drupal: Akseli Miettinen | DC Finland 2023

Planet Drupal - Sun, 2023/05/07 - 8:02am
For beginners my advice is to be patient. Drupal is a very complicated Content Management System and not the most beginner-friendly CMS. But that makes it more versatile and better suitable for bigger projects.
Categories:

Promet Source: The Non-Profit’s Guide to Drupal Structured Data SEO

Planet Drupal - Sat, 2023/05/06 - 6:36am
What is structured data SEO and why is it important for non-profits? As an SEO professional, one of the first things I did to our site is implement structured data. The purpose of structured data is to provide information about a page and to categorize material on the page in a standardized format. We do that by applying the relevant schema markup.
Categories:

Four Kitchens: Getting started with Drupal 10

Planet Drupal - Fri, 2023/05/05 - 10:03pm

Randall Quesada Angulo

Backend Engineer

Randall is an engineer at Four Kitchens and a graduate of the University of Costa Rica.

January 1, 1970

Maybe you are interested in getting involved in the Drupal world, but you’re a little intimidated by the technical complexity of the platform. Don’t worry!

Drupal is a fantastic platform to build scalable websites, but keep in mind that sometimes Drupal can be an indomitable horse that we will tame over time, so don’t get too wrapped up in it.

Drupal is an open-source content management system (CMS). You can install a lot of modules (or plugins, if you use another CMS like WordPress) to increase the core functionalities and adapt your site to your needs.

Why Drupal?

Some of the great qualities of Drupal are its stability, commerce distribution, security, SEO friendliness, multilanguage capabilities, responsiveness, and others.

Requirements Composer

As Drupal’s documentation mentions, “Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. Drupal uses Composer to manage the various libraries which it depends on. Modules can also use Composer to include third-party libraries. Drupal site builds can use Composer to manage the various modules that make up the site.”

Here are some links to documents that may be useful:

Drupal Core

You may have seen the term “Drupal Core,” but what is that? Drupal Core is all the components or features that make up Drupal. There are modules that have Drupal Core and Core themes. It’s Drupal in its most basic form, but you can find distributions that are module packages with Drupal Core and contributed modules.

Drupal distributions

A Drupal distribution is a set of preconfigured modules and templates designed to quickly build websites with complex functionality.

There are some distributions such as:

  • Sous: A starter project for Drupal with a generated theme based on the Emulsify Design System. This distribution can be very useful for anyone who wants to create a project with a completely custom theme and using all the advantages of Emulsify.
  • Varbase
  • Panopoly
  • Presto!
  • Thunder
  • 1,400+ distributions

There are many distributions out there to explore.

Contributed modules

Contributed modules are custom modules that contributors to the Drupal community create for us to make our work easier. Since Drupal is an open-source CMS, the community is involved in creating new modules, fixing bugs in those modules, and adding new functionality. So if you find a bug in a module you are using, report it and create a patch, or see if someone has already fixed the problem for you.

Let’s create your first Drupal page in our local environment. Here are the steps:

  1. Go to the Drupal 10 release page.: Note: We are going to create a Drupal 10 page. You can select past versions, but Drupal 10 is the latest version.
  2. Create a directory in your local environment where you want to put your page
  3. Copy the code you find on the release page (step 1). Example:
    composer create-project
    drupal/recommended-project:10.0.0 "[drupal10]"
  4. Enter the created directory: cd drupal10/
  5. Now you have to use Lando to start your Drupal site with Docker:
    1. lando init
      1. Current directory
      2. Drupal10
      3. Web
      4. Drupal 10
    2. Lando start
  6. Select your site URL:
  7. Now your Drupal site is ready
How can you install a new feature (module) on your Drupal site?

You can go to the Module project. There you can find all the modules created by the community — you can filter by version or you can search by keywords.

For example:

1. Go to the Admin toolbar. Note: admin_toolbar is a module that allows us to move more easily through all Drupal features without having to enter a page, since the toolbar gives us direct access to configuration, content, and others.

2. At the root of your project, run the Composer command, but you have to check that the modules are enabled for Drupal 10: Lando Composer require 'drupal/admin_toolbar:^3.3'

3. You have to use drush to enable the module: lando drush en [module_machine_name]. Example: lando drush en admin_toolbar. Note: If you want to see what drush commands exist, check out all the commands.

4. Now your module is enabled. Sometimes you have to clear the cache to see the changes on your site, and you have to use a drush command for that: lando drush cr.

Drupal web hosting

But where should you publish your site? There are some free and paid options to consider. The free options are a bit limited; however, trying and exploring the platforms can be very enriching.

If I must select any of the options mentioned in the link above, they are Acquia and Platform.sh. They are very easy to manage, they are intuitive, and they have interfaces that are easy to explore. Both have a launcher that we will install in the terminal of our computer to execute drush commands to the environment that we want.

Thank you very much for visiting the blog. Be sure to browse our other content, where we discuss other development issues, UX, UI design, product strategy, and more.

If you have any questions, suggestions, or ideas about your Drupal 10 project, you can let us know by sending a message in the contact box below.

The post Getting started with Drupal 10 appeared first on Four Kitchens.

Categories:

The Drop Times: Be Future Ready

Planet Drupal - Fri, 2023/05/05 - 2:41pm

One thing most of us have in common is the thought about the future. The future, in essence, is an uncertain time for which we have certain plans. We only recently had a tryst with this irony during the pandemic. It was an experience nonpareil for most human beings.

The pandemic sure taught us about the uncertainty levels that the future can hold. At the same time, it also handed us valuable lessons to wade through such tough waters. No matter how hard we resist, times change. The most important thing is to be a changing human. In these times, many are wary about the changes brought in by AI and other related technological advancements. It is sure that such new things will change the world as we see it. But, as human beings, we are equipped with the capability to surmount such challenges by using our unique intellects.

A lot lies to be learned from the human experiences of the pandemic: The way businesses diversified their product lines, how people switched careers, how re-skilling and up-skilling turned out to be vital, and how preserving our health—both physical and mental—is the foundation of all success. I think it is suitable for all of us to periodically rethink the pandemic experience and re-learn the lessons that it handed down. It would help us re-orient our journeys towards success in the future. It helps us to be ready for the future.

Let's look at the important stories published in the past week.

Over the last week, we published several interviews with our distinguished community members. Two of them were speakers at the MidCamp 2023. Ashraf Abed, the founder of Debug Academy, spoke to The Drop Times (TDT) about Drupal, Debug Academy and Drupal TV. Shani Maurya, another speaker at the MidCamp, and a staff engineer at Axelerant shared his thoughts with us.

We had a video interview about DrupalSouth with Owen Lansbury, co-founder of PreviousNext and elected Chair of the Drupal South Steering Committee.

Akseli Miettinen, a speaker at DrupalCamp Finland and an IT Consultant at Silli Solutions, spoke with TDT about his career and how to mould new Drupal developers.

TDT also published an interview with Mike Gifford, Drupal's Core Accessibility Maintainer and a Senior Strategist at Civic Action. He deliberates on the measures and methods to improve accessibility.

Founder and Project Lead of Drupal Dries Buytaert's recent LinkedIn post reveals that the prize money has been raised to $70,000 (USD) for the Drupal Pitch-burg innovation contest.

Look at the courses Debug Academy is offering this May and June. Evolving Web has published a blog that compares Drupal Media Library and Acquia DAM by Widen. Drupal migration is an ever-interesting topic. The blog post by LN Webworks throws light on the importance of migrating to newer versions. The article also clears the misconceptions about migration.

CKEditor 5 is the modern replacement for the CKEditor module. Evolving Web's blog post explains the points to keep in mind while activating the latest version of Drupal 10. Specbee has published on how to build a Drupal website on Pantheon hosting. Make Drupal Easy has published a blog post on the new changes that made Drupal more attractive. Drupal 9 is powerful in creating multilingual websites. Read the blog post by LN Webworks on how to get it done.

ComputerMinds has a way to solve the Query String Parameter Issue in Drupal 9.

Dates are finalized for Pune Drupal Meetup. It is scheduled for August 5 and 6. Backdrop CMS is hosting office hours on May 10. Drupal Meet Tokyo is scheduled for May 11. The organizers of Decoupled Days have extended the date to submit session proposals. Interested community members can now offer sessions until 11:59 pm PDT on May 12.

If you are attending DrupalSouth 2023 in person in Wellington, we need your help. We seek volunteers to cover the community's excellent work. We need your help to ensure we capture all the crucial moments of the conference.

That is all for the week,
Your's truly,
Thomas Alias K, 
Sub-Editor, TheDropTimes

Categories:

LN Webworks: Why is My Drupal Website Slow?

Planet Drupal - Fri, 2023/05/05 - 2:26pm

Drupal enjoys the stature of being the most advanced content management system (CMS) when it comes to website speed optimization. It has in-built modules and themes to ensure page loading at lightning speed. Many organizations already proclaim with exhilaration that Drupal has made their site nimble enough to offer unparalleled customer experience. In stark contrast, some grumble about their slow website despite relying on Drupal. As a Drupal Consulting Solutions USA we understand that, In this fast-paced world, having a slow website is synonymous with sacrificing your reputation, customers, and search engine ranking. Visitors want sites to load within a blink of an eye, and when that doesn’t happen, they abandon them. Being an internet user yourself, you can understand how frustrating it is to wait for a page to load. 

Categories:

The Drop Times: Owen Lansbury Talks to TDT About DrupalSouth 2023

Planet Drupal - Fri, 2023/05/05 - 9:32am
DrupalSouth is an annual conference devoted to Drupal. TDT conducted a zoom interview with Owen Lansbury, elected Chair of the Drupal South Steering Committee. He talked about the early beginnings of Drupal South, venue selection, volunteering opportunities and more. 
Categories: