Gbyte blog: Use DDEV on Nix and NixOS

NixOS on the Desktop

NixOS on the server is a thing of beauty (check out my last blog post about Hosting Websites on NixOS), but after my Arch installation crapped out, I decided to take it further and also use it on my laptop as a daily driver.

Even though I was aware of the vast number of packages in the Nix repositories, I was still pleasantly surprised to find that almost all of my daily tools were available directly in the stable repository. Even Steam is just one line of configuration away!

However, a crucial work tool of mine, DDEV, was missing from the repositories. DDEV is a tool designed for launching local web development environments for PHP, Node.js and Python projects.

DDEV in the Nix User Repository

With a bit of help from a savvy individual named kraftnix in the Jupiter Broadcasting Nix Nerds matrix group, I was able to create a buildable package of ddev on Nix.

Civic UK: The cost efficiency of investing in your digital presence: a digital agency’s perspective

In the rapidly evolving digital landscape, businesses face a critical decision: to invest in their digital presence or risk falling behind their competitors. As a project manager and an account manager in various digital agencies, I’ve witnessed firsthand how strategic investments in a robust Content Management System (CMS) like Drupal can lead to substantial cost savings and long-term growth. Let's delve into how prioritising your digital presence and structure isn't just an expense, but a smart investment in your business' future.

LN Webworks: Drupal 8, 9, 10 Functional and Unit Testing (Automation Testing)

Image removed.

Automated testing is the process of creating and implementing code to decrease the manual human effort needed during software testing. This vital approach plays a crucial role in modern software development, where specialized tools and scripts are used to execute test cases, validate functionality, and identify potential issues. By automating repetitive and time-consuming tasks, significantly reduces the manual effort required, enabling testers to concentrate on more critical aspects of the testing process. Embracing automated testing enhances efficiency, accelerates the development lifecycle, and ensures consistent and reliable results across various environments and platforms.                                                                                             

Image removed.

 

ImageX: Single Directory Components in Drupal 10.1: a Paradigm-Shifting Innovation for Theming

What if a single solution could make website UI components perfectly organized, easily reusable across projects, consistent throughout web pages, and more? With Single Directory Components (SDC), the shining star in the newly released Drupal 10.1, all of this is possible. Since launching six months after the release of Drupal 10, it’s been in the spotlight and has had many talking about how it should transform front-end development from the ground up.  

Specbee: Working with the Devel module in Drupal 9 to Generate Dummy Content

The Drupal Devel module is an extremely useful module for developers. The Devel module in Drupal 9 includes submodules – the Devel Generate, Display Suite Devel, Search API Solr Devel, Webform Devel and mDevel modules. In this article, we will delve into the Devel Generate module and how to work with it. When building a Drupal website, you want to have a lot of content to check the overall display such as layouts, views, design. Content comes in different forms and so it becomes important to test the website out with dummy content before adding live content. Instead of creating dummy content for Drupal sites manually, wouldn’t it be nice to add them automatically? That’s where the Devel Generate module for Drupal 9 will come in handy. What does the Drupal Devel module do? Drupal 9 offers tons of helpful modules that can ease the job of a developer. The Devel Drupal 9 module has several useful features. As discussed previously, there are several modules that are part of Devel; One such is the Devel Generate module. Devel Generate is used for automatically generating sample or Drupal dummy content for sites like menu items, taxonomy terms, and nodes. This is helpful if you need to test or showcase your Drupal website with data like dummy users, content, images, and so on. Drupal Devel module can create it all for you in a moment. Devel and its associated submodules are meant to be used on local development environments and should not be enabled on live production sites. Getting started with the Drupal Devel Generate module Working with the Drupal Devel module is as simple as installing it. Let’s get started with the installation and how to use Devel module in Drupal 9.  Installing Installing the Devel Drupal 9 Generate module is like installing any other contributed module. I’m using the Composer to install it since it automatically installs all of the necessary dependencies. Open the terminal, within the project enter the following command. $ composer require drupal/devel Next, enable the Devel and Devel Generate module. How to use Devel module in Drupal 9 Now, let's generate Drupal dummy content using the Devel Drupal 9 UI  1. Go to Configuration. Here you will see a long list of options under Development. Choose Generate Content. Here we can generate dummy content for webform submissions, content, media, menus, terms, users, vocabularies. Let’s choose Generate content.  2. The Generate content interface offers a number of options to set before you hit GENERATE: Generate content for all content types or select for specific content type Check the checkbox if want to delete all content of a certain content type before generating new content Specify how many nodes to generate and how far back the node creation dates should go Specify the maximum number of dummy comments for each node that support comments Set the maximum number of words for the title of each node Hit Generate 3. You can see the list of dummy nodes generated by going to admin -> content 4.This is what an article looks like with a dummy title, image, and body content Helpful hint: If taxonomy and tags are defined, the generate content module will assign tags at random. If you create vocabularies and terms first and then generate the content, you will end up with more useful test data. Devel Drupal 9 module can generate vocabularies and terms automatically, but they will be in fake Latin. It’s better to create your own vocabularies and terms because it makes testing easier when you have a meaningful taxonomy to work with.

DrupalEasy: Come to the Lite 💡… of Professional Module Development!

Image removed.

If you’ve been on vacation or heads-down on summer projects and have been meaning to ramp up your module development skills, there is still time to register for the Lite version of the Summer 2023 session of Professional Module Development, DrupalEasy's newest long-form, best-practice focused, professional Drupal development course. 

James Shields, who completed the Winter session earlier this year describes the PMD as “A fantastic course covering some really advanced stuff. If you understand the principles of Drupal, but want to move forward to deal with advanced development topics, this is a good place to start.”  The deadline to register for the Lite version of the upcoming session is August 18th. 

The Lite version of the Professional Module Development course, which begins on August 22, runs as a subset of three of the five sections of the Full version of the program. The Lite version includes approximately 60 hours of curriculum and live instruction, along with all the super-rich DrupalEasy learning resources and access to the lively DrupalEasy Learning Community

The select curriculum for the Lite version is designed for those who don't require the full menu of topics, focusing on the core module development aspects of the class, including custom modules, creating plugin types and tests, and using several APIs. Lite Professional Module Development is $2,500. 

Reviews of the course are in, and are gratifying, especially those that recognize the advantages of our training style, like Mark Colebank’s comments: “DrupalEasy provides excellent training courses for learning Drupal development. Mike is a patient teacher who is very concerned that his students master the subject. He goes the extra mile to answer questions, spend extra time with students to help them work through problems and provides quality reference materials. I would highly recommend DrupalEasy for anyone wanting to learn how to do Drupal development.”

You can register for the Lite version anytime before and up to August 18th.  If you have any questions about the course, or would like to discuss whether it might be right for you, contact us

DrupalEasy: DrupalEasy Podcast S15E6 - Cameron Eagans - Composer Patches

We talk with Cameron Eagans about Composer Patches, an open-source, Composer plugin to assist with applying patches to code files.

URLs mentioned

DrupalEasy News 

Audio transcript

We're using the machine-driven Amazon Transcribe service to provide an audio transcript of this episode.

Subscribe

Subscribe to our podcast on iTunes, Google Play, iHeart, or Spotify. If you'd like to leave us a voicemail, call 321-396-2340. Please keep in mind that we might play your voicemail during one of our future podcasts. Feel free to call in with suggestions, rants, questions, or corrections. If you'd rather just send us an email, please use our contact page
 

Specbee: To Booth or Not to Booth: Our Candid DrupalCon’23 Experience

If you’ve ever worked a trade show, you already know the dirty little secret… ROI is hard to come by. For those who haven’t, you can do the math in your head - travel, hotels, the cost of the booth, swag and the tickets themselves. It’s such a large expense that to get that return on investment, you need to start putting value on non-monetary returns for any of it to make sense. That leads to something like “exposure” being worth $10,000 in your report to the VP of Marketing. “Surely the leads make up for it!,” you say to yourself in the mirror over and over while the panic sweats begin to make your hair itch.   But deep down in your soul, you know those leads aren’t going to get back to you. And that’s because they rarely do. Not to throw Glengary Glen Ross references at you, but the leads aren’t bad. The circumstances are. From an attendees perspective, they are meeting dozens of organizations just like you at these shows. When they get back to the office, they’re going to get dozens of emails and calls from people following up on the show. It’s too much. And in most cases, all you are is noise. Yes, you can be the one they follow up with, but to put yourself in that position is a whole other topic. I’m just laying out the common narrative after a trade show - you’re coming home with not much to show for it from a KPI perspective. Many companies have a booth at trade shows just to keep their name out there: What would people think if they didn’t show? Booth at DrupalCon Pittsburgh 2023 Reflecting on DrupalCon 2022 All that to say, Specbee has never had a booth at anything, but we’d always considered it. It wouldn’t be fair to our budget to try it without getting at least a little experience, so we decided to attend a DrupalCon in some capacity. The ROI plan was half an experiment in branding and the other half a bit of a “lay of the land” exercise. The big question being, what outcome is possible at this event? We knew education-wise, there’s a ton of value - the courses and topics are well planned and executed. This event is focused on users and growth of Drupal, so that’s the expectation. But is a booth worth it? Is the sponsorship worth it? We booked our hotels and flights to dip our toe in the water at DrupalCon 2022 in Portland to find out. But we couldn’t just show up. We had to do something to make some sort of mark. That’s where the DrupalCon Happy Meal was born. Snack break sponsors at DrupalCon Portland 2022 The sponsorship we landed on was for the snack table. Every few hours the trade show floor gets busy with folks between sessions and almost everyone stops to see what’s available food-wise. Now the key was to make this sponsorship more meaningful than a “Sponsored By Specbee” sign. As we thought about how people might approach the table we landed on the usability of a box they could put their snack in - what if it was an adult happy meal box? And the idea was born. We found a printer, designed a box that included games, jokes and trivia… Here’s the design itself (designed by: Gagana Girish)! The Happy Meal Box Not only was it fun and different, but it helped us create a memory for people. The feedback was fantastic. So mission #1 accomplished. We can make a mark at this conference. The only thing we found lacking in this premise was that we couldn’t spend much time with folks. I did see, however, that the booths were very often busy. So much so that it was clear that we should give a booth a chance for 2023. Unboxing Happy Meals and Fun SWAGging Our Way to Success at DrupalCon 2023 Cut to just before DrupalCon 2023. We are signed up for a booth. We have tickets for three staff members. The only thing we need is the guiding light of all booths: SWAG. Now, I don’t know if it’s like this everywhere these days, but at least 60% of the booths at DrupalCon 2022 were giving away T-shirts. So, yeah, we could have done that, but it didn’t feel like we’d be able to distinguish ourselves in our first DrupalCon. Instead, we had gym bags made with DrupalCon 2023 Free T-Shirt Holder printed on them. Stylish, stupid and practical - my favorite combo. Flaunting our Free T-shirt Holder But the bags weren’t the star of the show. Sure, you get folks coming up just to get their SWAG. I have no problem with that. That’s what it’s for. What we ended up with, however, was a connection with SO MANY new people. Fellow booth folks, Drupal users from all over the world, and, yes, leads. Good leads. The kind that we’re still in conversations with. Time will tell if we’ll get our official financial ROI, but I can tell you this: it was the best “trade show” I’ve ever attended. We’ll be back next year with a booth for sure. I really should get thinking about SWAG…