The Drop Times: Mounting /Himalayas to /Enterprise Web: Gai Technologies' Ascetic Route

Gai Technologies Pvt Ltd has carved a niche in the Drupal community by focusing exclusively on this versatile platform since 2011. Founded with the mission to cultivate high-caliber software teams in lesser-known regions, Gai has demonstrated remarkable growth and proficiency in delivering sophisticated Drupal solutions. Read the full article for an in-depth look at how Gai Technologies leverages its expertise to foster growth and innovation in the open-source landscape.

Talking Drupal: Skills Upgrade #7

Welcome back to “Skills Upgrade” a Talking Drupal mini-series following the journey of a D7 developer learning D10. This is episode 7.

Topics
  • Review Chad's goals for the previous week

    • Test Example
    • Set up phpunit.xml
    • Start with FrontPageLinkTest.php
  • Review Chad's questions

    • In the testing_example module, the file "src/Controller/TestingExampleController.php" has a function for simpletestDescription(). Is this an outdated artifact that should have been removed at some point? The module itself doesn't appear to use Simpletest elsewhere and appears to only rely on PHPUnit.
    • What do you recommend for the minimal code structure to include for any given test type? Is the Testing Example module an ideal model or are there other resources I should review? The testing reference from Selwyn was helpful.
    • In the "FrontPageLinkDependenciesTest.php" setUp() function, the createContentType() function is called without specifying the type. Is that set somewhere else? I may have overlooked it. Nevermind—it's set using randomMachineName() in the createContentType() function. Is there anything extra or standard to write in tests for drupal.org?
  • Tasks for the upcoming week

    • Smart Date - Martin (maintainer) to review promptly, I've already chatted with him about it. Create a new functional test: "submit a range with an end time before the start and validate that an error is returned"
      • Create an issue in the Smart Date queue and assign to yourself.
      • Create an issue fork.
      • Check out the issue fork locally.
      • Write (and test) the test locally.
      • Commit and push to the issue fork.
      • Mark issue as "Needs review".
      • Ask someone to review - if all looks good, the reviewer will mark as RBTC.
Resources

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/

Hosts

AmyJune Hineline - @volkswagenchick

Guests

Chad Hester - chadkhester.com @chadkhest Mike Anello - DrupalEasy.com @ultimike

Balint Pekker: Enhancing Drupal with GitHub Actions

When it comes to Drupal development, GitHub Actions offers invaluable assistance in automating repetitive tasks, standardizing your processes, and enhancing code quality. By defining workflows as code in YAML files that can react to various events, it provides flexible customization and scalability. Pre-built actions can handle common tasks like building and testing code, while custom actions can be tailored to project-specific requirements. Let's explore some of the best practices along with examples of actions you could use in your next Drupal project.

Chapter Three: National Nurses United: Supporting a Large Website

At Chapter Three we do more than build websites from the ground up. We also support existing websites that require new or additional resources. The type of work we do is flexible and depends on the client’s needs. It ranges from basic maintenance and security updates to more substantial overhauls, cleanup, and feature enhancements.  One major website we support is National Nurses United (NNU). With nearly 225,000 members, NNU is the largest union and professional association for registered nurses in the United States. It is the country’s leading advocate for collective bargaining for RNs, regulatory protections for patients and nurses, and for guaranteed health care and expanded medicare.

The Drop Times: A Detailed Review of Droopler 4 with Grzegorz Bartman of Droptica

Embark on a comprehensive exploration of Droopler 4 as Grzegorz Bartman, the co-CEO of Droptica, unveils the evolutionary strides of this cutting-edge Drupal distribution in an interview with Alka Elizabeth from The DropTimes. Delve into the seamless integration of single directory components, Bootstrap 5, and the Radix theme, tailored to meet the needs of developers. Discover the user-centric design featuring 15 pre-configured components through Drupal paragraphs, responsive web elements, and robust SEO modules catering to marketing and SEO experts. Gain insights into the strategic choices driving the adoption of Drupal Paragraphs over the Layout Builder and the collaborative ethos propelling Droopler's advancement. Stay tuned to the promising future of Droopler, characterized by a steadfast commitment to SEO optimization and enhanced editor experiences.

Drupal Association blog: 5 Reasons to Join Us at DrupalCon Portland 2024

Discover Why DrupalCon Portland 2024 Is the Must-Attend Event of the Year

Image removed.

If you're part of the Drupal community or interested in Drupal, you won't want to miss DrupalCon Portland 2024! The conference is set to be the most exciting and informative event of the year, catering to developers, marketers, content editors, content publishers, and anyone else who interacts with their website. In this blog post, I'll outline the top five reasons why attending DrupalCon Portland in 2024 is a must.

Immerse Yourself in the Ultimate Drupal Experience

DrupalCon Portland 2024 promises an entire week dedicated to Drupal and the vibrant Drupal Community. It's your chance to connect with some of the most brilliant minds in the industry, engage in discussions, build lasting friendships, and simply have a fantastic time. Key highlights of the event include:

  1. Foster Community Through In-Person Connections: Experience the warmth and synergy of the Drupal community by connecting face-to-face with fellow Drupal enthusiasts. This is a unique chance to share your passion for Drupal with like-minded individuals in a vibrant, engaging setting.

  2. Driesnote & Eminent Speakers: Gain insights from the Drupal founder during the much-anticipated Driesnote and learn from a lineup of distinguished speakers. These sessions promise to be thought-provoking, offering deep dives into various aspects of Drupal, its ecosystem, and future directions.

  3. Contribution Opportunities: Participate in contribution sprints where you can tackle real-world problems, contribute to the project, and interact with key project contributors and maintainers. This is your chance to make a tangible impact and glean insights from the guardians of the Drupal codebase.

  4. Social Gatherings and Welcome Party: DrupalCon isn't just about learning; it's also about having a great time. The Welcome Party and other social events provide perfect settings to unwind, celebrate, and build friendships in a more relaxed atmosphere. View the social events or submit yours now.

  5. Birds of a Feather Sessions: Engage in "Birds of a Feather" (BoF) sessions, where small groups gather to discuss hot topics and share knowledge on specific areas of interest within Drupal and technology. These small gatherings encourage open dialogue and are a great way to dive deep into subjects you care about with peers.

Rediscover the Thriving Drupal Community

After years of remote work and lockdowns, DrupalCon Portland 2024 provides a refreshing opportunity to step out of your home office and connect with passionate Drupal enthusiasts. Meet the faces behind your favorite modules and engage with like-minded individuals who share your love for Drupal.

Unparalleled Learning Opportunities

DrupalCon offers unparalleled opportunities for learning and growth. From inspiring keynotes and informative sessions to hands-on training and contribution sprints, this event is the ultimate platform to expand your knowledge and expertise. Break out of your routine and explore the full potential of Drupal.

This year will be filled with broader topics to help you drive your digital experiences forward. Some of the new highlights this year include:

  1. A new marketing track dedicated to driving your business goals forward.
  2. Artificial Intelligence (AI) - Learning how AI is being incorporated into Drupal and how it can help you improve your day to day and achieve your goals.
  3. Birds of a Feather - More structure and planning going into our BOF sessions to drive higher levels of engagement and inform stronger conversations.

Be Inspired by Innovations

Witness the transformative power of Drupal and be inspired by the innovative and talented Drupal community. Attendees at DrupalCon Portland are focused on:

  1. Crafting cutting-edge content management systems.
  2. Delivering groundbreaking customer experiences.
  3. Mastering their craft and pushing boundaries.

Forge Valuable Connections

DrupalCon Portland is the perfect environment to connect with individuals who share your passion for Drupal, open-source technology, and delivering top-notch digital experiences. Building relationships here can significantly impact your career, opening doors to exciting opportunities.

There are countless reasons to join us at DrupalCon Portland 2024, and we can't wait to welcome you! It's a unique opportunity to connect with the Drupal community, discover the incredible work happening within Drupal, and spend quality time with friends and colleagues from around the world who share your common passion. We look forward to seeing you there!

Register now for DrupalCon Portland 2024.

Specbee: How to integrate Auth0 Single Sign-On (SSO) in Drupal

If you want to offer your users a hassle-free login experience, convenience and security, Single Sign-On (SSO) is the way to go. SSO is an authentication process that allows users to access multiple applications or services with a single set of login credentials. Auth0 is an identity-as-a-service (IDaaS) platform that provides authentication and authorization services for applications and APIs. It offers a comprehensive set of features for implementing secure and customizable authentication solutions, including support for various authentication methods such as username/password, social logins, and multi-factor authentication (MFA). In this article, you will learn more about SSO and Auth0 and how you can integrate it with your Drupal website. Benefits of SSO Integration in Drupal Seamless User Experience: Integrating SSO into Drupal enables users to log in once and access all connected applications seamlessly, eliminating the need for multiple logins and enhancing user convenience. Centralized User Management: SSO centralizes user authentication and authorization, making it easier for administrators to manage user accounts, permissions, and access control policies across multiple Drupal sites or integrated applications. Enhanced Security: SSO enhances security by enforcing consistent authentication policies and enabling centralized management of user access, reducing the risk of security breaches due to weak passwords or unauthorized access. Reduced Development Efforts: By leveraging Auth0's SSO capabilities, developers can significantly reduce the time and effort required to implement authentication and authorization features in Drupal applications, accelerating the development process and time-to-market for new features and functionalities. Take a look at this article where we discussed integration of SSO with Drupal using SAML Steps to Integrate Auth0 SSO in Drupal Prerequisites Auth0 account SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider  Auth0 configuration Register to Auth0. Go to https://manage.auth0.com/ and log in. Create the tenant. To create a tenant, click on the drop-down near the logo in the top left corner. You will see a pop-up fill the required information in that pop-up like tenant name, region, and environment. Click on the Create button. Next, click on the "Applications" option in the left menu. A list will open. Then click on “Applications” on that list and you will see an application page. Click on the “Create Application” button. You will see a pop-up, enter the application name in that pop-up and select “Regular Web Application” then click on Create. Next, click on that application and go to the settings tab. In the Settings tab, you can update the application logo if you want.  In the Settings tab, add the callback URL "[Domain]/samlassertion" to the "Allowed Callback URLs" field and then click Save. Then go to the “Addons Tab”. In the Addons tab, click on the "SAML2 Web App" option. You will see a pop-up with two (Settings and Usage) tabs. In the Settings tab, add the callback URL "[Domain]/samlassertion" and click the Enable button. After this go to the Usage tab. In the Usage tab, click on the "Download" button of "Identity Provider Metadata". Drupal application configuration Install the "SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider" contrib module “https://www.drupal.org/project/miniorange_saml” in your Drupal application using composer.composer require 'drupal/miniorange_saml:^3.0' Go to the Drupal website and log in as administrator. Go to "Configuration" and then click on "MiniOrange SAML Login Configuration". Go to the “Service Provider Setup” tab Click "Add New IDP". Upload the metadata file that we downloaded from Auth0. Click on the save button. Steps to add role mapping Go to “Configuration” then click on "miniOrange SAML Login Configuration". Go to the “MAPPING” tab Click on the “Enable Role Mapping” option (If not enabled already). Select the “Library” role from the dropdown. Click on the “Save Configuration”. Then clear the cache and visit the login page.You will see an SSO login link above the submit button. Click on that link. You will be redirected to the auth0 login page If you have an Auth0 account then enter the username and password otherwise you can create an account using the signup link. After login you will be redirected to your Drupal application and your account will be logged in. Final thoughts The demand for seamless user experiences and robust security measures continues to escalate by the day. By integrating Auth0's Single Sign-On solution with your Drupal site, you're not just staying ahead of the curve — you're shaping the future of online interaction. But the journey doesn't end with integration. The next step is optimization. Continuously refine your authentication workflows, leverage Auth0's advanced features to customize user experiences, and stay vigilant against emerging threats. Reach out to our Drupal development team to enhance your user experience with features like these.

Talking Drupal: Talking Drupal #446 - Test Driven Development

Today we are talking about Test Driven Development, Why it’s important, and How it improves development with guest Alexey Korepov. We’ll also cover Test Helpers as our module of the week.

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

Topics
  • What does the term Test Driven Development (TDD) mean
  • Does Drupal make use of TDD
  • What makes TDD different from other methods of Development
  • Do you have to change your way of thinking
  • What are some good resources to learn TDD
  • Do you have any pointers for teams looking to get started
  • Are certain kinds of projects better suited to TDD
  • How have dev teams adapted to TDD
  • Any advice on environment setup
  • Any special tools
Resources Guests

Alexey Korepov - korepov.pro Murz

Hosts

Nic Laflin - nLighteneddevelopment.com nicxvan Martin Anderson-Clutz - mandclu Matt Glaman - mglaman.dev mglaman

MOTW Correspondent

Martin Anderson-Clutz - mandclu

  • Brief description:
    • Have you ever wanted an API that could dramatically simplify the process of writing Drupal unit tests? There’s a module for that.
  • Module name/project name:
  • Brief history
    • How old: created in Sep 2022 by today’s guest, Alexey Korepov
    • Versions available: 1.3.0 compatible with versions of Drupal 9.4 or newer, right up to Drupal 11
  • Maintainership
    • Actively maintained, latest release less than 3 months ago
    • Security coverage
    • Test coverage, would be ironic if it didn’t
    • API Documentation is available, linked from the project page
    • Number of open issues: 2 open issues, which are actually feature requests
  • Usage stats:
    • 5 sites officially, but modules or sites can leverage Test Helpers without enabling it, and this usage is recommended, so the number is actually higher
  • Module features and usage
    • Provides a new container that automated tests can leverage to perform common tasks with much less code.
    • For example, you can create a user or a node with a single line of code
    • You can also mock more complex operations like an entityQuery or loadMultiple call, again with a single line of code
    • Traditionally, writing unit tests is more complicated because by design they run without fully bootstrapping Drupal
    • That means that your test needs to mock functions or services in the code you’re testing which can result in units tests being much longer than the code they’re testing
    • Test Helpers also allows your tests to leverage existing mocks and stubs for popular services
    • The project page also links to the recording and slides for a talk Alexey gave about Test Helpers at DrupalCon Pittsburgh last year, if you want to do a deeper dive