Resources on using ddev for Drupal 9 development, Windows edition

Resources

Here’s a list of resources to get you started with DDEV and Drupal 9. As with setting up any new development (or production) environment there are a lot of moving parts and it take some time to get it all right. This list includes “HowTo” articles, tools, and documentation to get it all set up.

Notes

— After running ddev config and before running ddev start for the fist time use your favorite editor to edit .dev/config.yaml to the following:

name: d9-dev
type: drupal9
docroot: web
php_version: "8.1"
webserver_type: apache-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
mariadb_version: ""
mysql_version: "8.0"
nfs_mount_enabled: false
mutagen_enabled: false
use_dns_when_possible: true
composer_version: ""
web_environment: []

This will setup DDEV with MySQL 8, PHP 8.1, Drupal 9, and Apache. This matches the dev environment that CALI is using for D9. Check the DDEV docs for more possibilities.

— The DDEV install includes the latest phpmyadmin to help with mysql admin. It’s available in a local browser at <projectName>.ddev.site:8036. Use phpmyadmin to load a dump of the D9 dev database.

— Once WSL2 is setup, use Ubuntu 20.04 to host DDEV.

— DDEV includes git so that’s a good way to manage Drupal. In the CALI world use git to grab a copy of the current D9 code base.

Drupal 8 end of life and future Drupal 10 release

Drupal 10 is coming in 2022 — discover what new features it is going to include, and what to do with Drupal 8 and Drupal 7 websites in relation to their end-of-life.

Source: Drupal 8 end of life and future Drupal 10 release

Drupal 7’s end of life is scheduled for November 2022, just one year from now. CALI is moving it’s D7 website to Drupal 9 by June 2022. I’m hoping Drupal becomes more like WordPress where major version updates are mostly point and click affairs with little or no need to rebuild a site.

Can I create a syllabus with Node-RED?

Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click.
Node-RED

Here’s an idea: use the low code browser based flow design tools of Node-RED to create a syllabus of online resources. Since Node-RED can work with APIs and I have an API for CALI resources, I should be able to use Node-RED tools to design a syllabus as a flowchart through a series of resources.

I suspect there are a few missing pieces here like a program or routine to step through the flow created by Node-RED and a system from tracking results that talks to Node-RED. The pieces are likely buildable one identified. The result would be a programmed learning environment using Node-RED as a primary component.

Mattermost Platform Overview | All Communications On One Platform

The only unified solution with a shared set of platform services and a powerful UI structured around channel-based communications, checklist-based process automation, and card-based task and project management.
https://mattermost.com/platform-overview/

My biggest problem with Slack is it’s great for chat, but poor for project management. Yes I can integrate all the apps but the integrations are limited. Mattermost promises Bette project management tools and workflow management. Worth a look.

Updating Drupal core via Composer 

To understand how Composer manages Drupal dependencies, see Using Composer with Drupal. To decide if Composer is a sensible way to update, compare the available options.
For convenience, these instructions include the Drush commands necessary to complete an update: many people find Drush quicker and easier than the web-based admin area.
If this is an existing Drupal site, where Composer has never been used before, make sure it’s ready for Composer first.

Source: Updating Drupal core via Composer | Updating Drupal | Drupal Wiki guide on Drupal.org

With Drupal 9 updating core with Composer is the way to go.

Drupal 9.1.0 is available


The first feature release of Drupal 9 includes the new experimental Olivero frontend theme and various additions to the Claro administration theme. Installer performance is improved 20% and full Composer 2 and PHP 8 support is available. Images with known dimensions are set to lazy-load by default to improve frontend performance.

Source: Drupal 9.1.0 is available

Looks like PHP 8, Composer 2, Symphony 4,5,6 will get us to Drupal 9. Upgrades paths from Drupal 7 are stable.

KNN (K-Nearest Neighbors) is Dead! | by Marie Stephen Leo | Towards AI | Dec, 2020 | Medium

KNN (K-Nearest Neighbors) is Dead! | by Marie Stephen Leo | Towards AI | Dec, 2020 | Medium https://medium.com/towards-artificial-intelligence/knn-k-nearest-neighbors-is-dead-fc16507eb3e

Learning how to apply some of the algorithms mentioned in this article would likely improve students’ and teachers’ ability to locate CALI resources and allow us to build a useful recommender system.

Quick Look at Cockpit for Linux server management


Cockpit is a service for Linux that provides a web-based interface for managing and monitoring hosts. It can be deployed in any size organization, even a small office, and it’s a great way for home users to maintain the family IT infrastructure. I use it to manage and monitor all of the computers in my house—including Raspberry Pi. Cockpit is a free and open source software project released under the LGPL v2.1+. It is sponsored by Red Hat and included in Red Hat Enterprise Linux as the RHEL Web Console.

Source: How I use Cockpit for my home’s Linux server management