Jacob Rockowitz: Back to the basics: Learning how to build a Drupal module using AI

Preamble

I began my last blog post, "My Drupal, AI, and Schema.org Manifesto," with an introduction that helped me to start discussing the use of AI in my daily Drupal work. This introduction reveals that I feel overwhelmed about where to begin exploring integrating AI with Drupal.

A Drupal AI module and ecosystem exist that have accomplished remarkable feats. I am eager to delve into the implementation and extensibility of the Drupal AI module; however, diving immediately into the code is daunting and could hinder my need to familiarize myself with using AI and comprehending how it works. Therefore, I am returning to the basics and revisiting one of my first Drupal achievements: building a module… using AI.

Hypothesis

AI will soon replace basic Drupal tasks, including creating simple modules. When this happens, the definition of entry-level development skills will evolve. AI will not eliminate jobs; instead, it will enhance workers' productivity and efficiency. Therefore, I want to explore how capable AIs are at building a Drupal module. I also want to explore if AI can help a new Drupal developer create their first module.

Theories

Below are some theories I want to explore and keep in mind.

  • Keep it simple and small.
    AIs can comprehend vast amounts of data and relationships - we cannot.
  • Provide a lot of context.
    AI performs significantly better when given as much context as possible. This ensures that both people and machines understand each other.
  • Failure is part of the process. 
    Assume there will be mistakes and dead ends. An iterative approach leads to a better solution and understanding.

Goals

I've already used the word 'overwhelmed' a few times, and to keep my exploration and experimentation from...Read More

PubDate

Tags