452 avsnitt

Talking Drupal is a weekly chat about web design and development by a group a guys with one thing in common, we love Drupal. With hosts Stephen Cross, John Picozzi and Nic Laflin.

Talking Drupal Talking Drupal Hosts

    • Teknologi

Talking Drupal is a weekly chat about web design and development by a group a guys with one thing in common, we love Drupal. With hosts Stephen Cross, John Picozzi and Nic Laflin.

    Skills Upgrade #8

    Skills Upgrade #8

    Welcome back to “Skills Upgrade” a Talking Drupal mini-series following the journey of a D7 developer learning D10. This is episode 8.
    Topics Review Chad's questions
    What is the process of creating a new issue, reviewing automated tests, and creating a merge request for review by the project maintainer?
    https://www.drupal.org/docs/develop/git/using-gitlab-to-contribute-to-drupal https://www.drupal.org/docs/develop/git/using-gitlab-to-contribute-to-drupal/creating-issue-forks My example issue: https://www.drupal.org/project/smart_date/issues/3432819 My example merge request: https://git.drupalcode.org/project/smart_date/-/merge_requests/94 If we're not using Composer to pull the contrib module, how do we make sure that all dependencies are handled?
    How can someone navigate so many complex issues without getting lost or "barking up the wrong tree"?
    Tasks for the upcoming week
    Work toward getting the merge request accepted. Document learning bullet points for this journey. 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

    • 40 min
    Talking Drupal #447 - Drupal Single Sign On

    Talking Drupal #447 - Drupal Single Sign On

    Today we are talking about Drupal Single Sign On, The Benefits it brings to the Drupal Community, and A new book called Fog & Fireflies with guest Tim Lehnen. We’ll also cover Drupal.org Username Field as our module of the week. For show notes visit:
    www.talkingDrupal.com/447
    Topics What is Single Sign On (SSO) Does Drupal already support SSO Why is SSO on drupal.org important Camps using SSO Other possibilities Gitlab login Cloud IAM Why did the Drupal Association choose Cloud IAM How do you see the collaboration growing Where are we now What are the next steps How far are we from this becoming a reality What does onboarding look like Will third party sites be able to use D.O SSO Can the community help Fog & Fireflies First book Can you buy it now Resources Single Sign On is coming to Drupal.org thanks to Cloud IAM A new book called Fog & Fireflies Open ID Connect module Keycloak Neil Drumm Lucas Heddn Marco Villegas Tim Lehnen Guests Tim Lehnen - aspenthornpress.com hestenet
    Hosts Nic Laflin - nLighteneddevelopment.com nicxvan
    John Picozzi - epam.com johnpicozzi
    Matt Glaman - mglaman.dev mglaman
    MOTW Correspondent Martin Anderson-Clutz - mandclu
    Brief description: Have you ever wanted to have a field on user profiles specifically designed for drupal.org usernames? There’s a module for that Module name/project name: Drupal.org Username Field Brief history How old: created in August 2019 by hussainweb AKA Hussain Abbas of Axelerant Versions available: 2.0.0-beta4 Maintainership Actively maintained, that release was made less than 6 months ago Test coverage Number of open issues: 8 open issues, none of which are bugs Usage stats: 1 site Module features and usage The module provides a new field type, along with its own widget and formatter With a simple checkbox, you can get the module to validate that the provided username is registered on drupal.org What’s really powerful about this module is that it can also pull other information from the drupal.org profile, such as first and last name, country, bio, and more It does this by leveraging a Guzzle-based API client for drupal.org that Hussain created as part of a DrupalCon Asia developer contest I believe the intended use of the modules is to use a provided drush command to copy the values from the drupal.org username field into other fields, where they would be displayed to site visitors Although this module isn’t something that a lot of sites will need, I could see it being really useful for Drupal camp websites, to automatically collect a lot of the information that many such sites ask users to populate manually I think it’s also an interesting use of the Drupal.org API, and could be a useful reference for anyone needing to implement a custom integration

    • 1 tim. 16 min
    Skills Upgrade #7

    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

    • 31 min
    Talking Drupal #446 - Test Driven Development

    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 Open telemetry QA Engineer Kent Beck Test Driven Development: By Example Needs tests tag Local unit tests PHPUnit 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: Test Helpers 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

    • 1 tim. 9 min
    Skills Upgrade #6

    Skills Upgrade #6

    Welcome back to “Skills Upgrade” a Talking Drupal mini-series following the journey of a D7 developer learning D10. This is episode 6.
    Topics Review Chad's goals for the previous week
    Review Chad's questions
    Array structures accordion.html.twig D7 to D10 migrations Tasks for the upcoming week
    [testing_example](https://git.drupalcode.org/project/examples/-/tree/4.0.x/modules/testing_example? Be sure to install drupal/core-dev dependencies using composer require –dev drupal/core-devref_type=heads) from Examples module. Set up phpunit.xml file in project root - using this file to start Run existing tests using command line from the project root. Something like: phpunit web/modules/contrib/examples/modules/testing_example/tests Review test code in module. Start with FrontPageLinkTest.php, then FrontPageLinkDependenciesTest.php, then TestingExampleMenuTest.php Resources Understand Drupal - Migrations
    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

    • 37 min
    Talking Drupal #445 - Drupal Bounty Program

    Talking Drupal #445 - Drupal Bounty Program

    Today we are talking about The Drupal Bounty Program, How it supports innovation, and how you can get involved with guest Alex Moreno. We’ll also cover WebProfiler as our module of the week.
    For show notes visit:
    www.talkingDrupal.com/445
    Topics What is the Drupal Bounty program How and when did it start What issues and tasks are included Has the bounty program been successful Why was this program extended Do you see any drawbacks Can anyone participate How are issues for the second round being selected What do you see the future of the bounty program looking like Could this become like other bounty programs with cash Do you think the bounty program will help maintainers get sponsorship Resources Introducing The Bounty Program Bounty Program Extension Bjorn Talking Drupal #425 - Modernizing Drupal 10 Theme Development Guests Alejandro Moreno - alexmoreno.net alexmoreno
    Hosts Nic Laflin - nLighteneddevelopment.com nicxvan
    John Picozzi - epam.com johnpicozzi
    Matt Glaman - mglaman.dev mglaman
    MOTW Correspondent Martin Anderson-Clutz - mandclu
    Brief description: Have you ever wanted to get detailed performance data for the pages on your Drupal sites? There’s a module for that. Module name/project name: WebProfiler Brief history How old: created in Jan 2014 by Luca Lusso of Italy who was a guest on the show in episode #425 Versions available: 10.1.5 which works with Drupal >=10.1.2 Maintainership Actively maintained, latest release on Feb 1 Security coverage Test coverage Not much in the way of documentation, but the module is largely a wrapper for the Symfony WebProfiler bundle, which has its own section in the Symfony documentation Number of open issues: 36 open issues, 13 of which are bugs Usage stats: 477 sites Module features and usage Once installed the module adds a toolbar to the bottom of your site, within which it will show a variety of data for every page: Route and Controller Memory usage Time to load (with some additional setup) Number of AJAX requests Number of queries run and the total query time Number of blocks visible How many forms are on the profile Lots of other detailed information available through links Reports are saved into the database, so you can dig through additional details such as: Request information like access metadata, cookies, session info, and server parameters, in addition to the request and response headers All of the queries that ran, how long each took, and even a quick way to create an EXPLAIN statement to get deeper insight from your database engine You can also view all the services available, and with a single click open the class file in the IDE of your choice A handy alternative to other performance monitoring tools like XHProf (either as Drupal module, or installed directly into your development environment), or commercial tools like Blackfire or New Relic Discussion Luca’s book Modernizing Drupal 10 Theme Development actually provides a great deep dive into this module

    • 1 tim. 2 min

Mest populära poddar inom Teknologi

Internetpionjärerna
Tele2
Lex Fridman Podcast
Lex Fridman
Acquired
Ben Gilbert and David Rosenthal
Darknet Diaries
Jack Rhysider
SvD Tech brief
Svenska Dagbladet
Elbilsveckan
Peter Esse & Christoffer Gullin

Du kanske också gillar

DrupalEasy Podcast
ultimike
Lex Fridman Podcast
Lex Fridman
The Prof G Pod with Scott Galloway
Vox Media Podcast Network
Planet Money
NPR
Syntax - Tasty Web Development Treats
Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers
People I (Mostly) Admire
Freakonomics Radio + Stitcher