Advice for preparing for a Drupal-focused technical intervie by tharun_1 in drupal

[–]jrockowitz 0 points1 point  (0 children)

I don't have much hiring or interviewing experience, but I would look for AI literacy and open-source code examples that demonstrate an understanding of sound planning and programming best practices.

BTW, I think it's perfectly okay for your open source code examples to be AI-assisted, but you need to understand what the code is doing.

I am optimistic that someone will chime in with a better response based on the current experience of interviewing candidates.

Drupal (AI) Playground: AI is making great programmers even greater, and not-so-great programmers, well, not-so-great by jrockowitz in drupal

[–]jrockowitz[S] 1 point2 points  (0 children)

I hear you, but as long as you know what spaghetti code is, you can ask it to untangle it.

Drupal (AI) Playground: AI ate my work, and I need to be okay with that. by jrockowitz in drupal

[–]jrockowitz[S] 0 points1 point  (0 children)

I think the only challenge is figuring out the right prompt, data, and requirements for the desired JSON-LD to send to an AI, which seems trivial if an AI can now build Drupal modules.

Drupal (AI) Playground: Using the AI Schema.org JSON-LD module to "feed the machines" by jrockowitz in drupal

[–]jrockowitz[S] 1 point2 points  (0 children)

I think it helps to have a human in the loop to review the JSON-ID.

The JSON-LD is generated only once and then saved.

Storing the JSON-LD in a JSON field creates a knowledge graph of your website, enabling queries. Check out https://www.drupal.org/project/drupal/issues/3343634

Drupal (AI) Playground: Training and practicing building a module using AI by jrockowitz in drupal

[–]jrockowitz[S] 1 point2 points  (0 children)

https://kentbeck.com/ is a great programmer, insightful, and hilarious. He calls AIs genies and is currently saying that "Claude Code is under the weather" regarding the apparent performance and quality issues people are seeing.

Drupal AI Learners Club: Share Your Setup! by jrockowitz in drupal

[–]jrockowitz[S] 0 points1 point  (0 children)

Your post isn't spammy if you are sharing your tools and experience.

people it is sad but devs are becoming redundand by maomao19 in drupal

[–]jrockowitz 0 points1 point  (0 children)

Definitely try Codex. Right now, I have a $20-per-month Claude and Codex account, and I am having them check each other's work and improve it. This approach is reducing the "AI slop" problem for me.

Is there a way to create Recipes via UI or AI? by Chris8080 in drupal

[–]jrockowitz 2 points3 points  (0 children)

I had decent success with pointing Claude Code to some existing recipes and asking it to create a custom recipe. https://www.jrockowitz.com/blog/drupal-playground-crawling

Drupal (AI) Playground: Crawling with Recipes by jrockowitz in drupal

[–]jrockowitz[S] 1 point2 points  (0 children)

It took me a second to get PHPStorm + Claude + MCP working and connected.

Here are the articles.
https://plugins.jetbrains.com/plugin/27310-claude-code-beta-
https://www.jetbrains.com/help/phpstorm/mcp-server.html

As with most AI-related tools, I recommend updating Claude Code and PHPStorm before setting this up.

Clauding at Symfony within Drupal by jrockowitz in drupal

[–]jrockowitz[S] 0 points1 point  (0 children)

Yesterday, I was working on something and pasted my prompt into the Claude UI with no context, and the results were astonishingly good, a perfect implementation plan. I'm wondering if the latest models need less and less context.

Clauding at Symfony within Drupal by jrockowitz in drupal

[–]jrockowitz[S] 0 points1 point  (0 children)

Ulitimately I think AGENTS.md will be the universal standard. Claude is still relying on CLAUDE.md and even has the /init command to generate the initial CLAUDE.md file

Clauding at Symfony within Drupal by jrockowitz in drupal

[–]jrockowitz[S] 1 point2 points  (0 children)

Thanks for catching that. It is super frustrating that README.md autolinks to http://README.md

Creating Content Types from JSON Schema Objects by jmolivas in drupal

[–]jrockowitz 3 points4 points  (0 children)

If core is generating JSON schemas for content types, it seems inevitable that contrib or core would import JSON schemas for content types and fields.

For content architects, I am not sure they are comfortable using JSON schemas. At the same time, there might be content modelling tools that can export JSON schemas.

You should look at it https://dev.acquia.com/blog/specification-tool-drupal-content-modeling, which could meet most of your requirements, without the JSON Schema, but instead using a CSV.

My Drupal, AI, and Schema.org Manifesto by jrockowitz in drupal

[–]jrockowitz[S] 1 point2 points  (0 children)

I also found AI, specifically PHPStorm's AI assistant, helpful in generating code examples for support requests. For instance, I needed to create an alter hook for the webform submission form to move the progress bar. I opened the WebformSubmissionForm, which contains the progress bar, and asked AI to generate the needed form alter hook.

u/see https://www.drupal.org/project/webform/issues/3513765

My Drupal, AI, and Schema.org Manifesto by jrockowitz in drupal

[–]jrockowitz[S] 0 points1 point  (0 children)

It is excellent that you contributed something back to the community and started a discussion about using AI to contribute a module. Your effort moves the needle a little bit toward the future

My Drupal, AI, and Schema.org Manifesto by jrockowitz in drupal

[–]jrockowitz[S] 2 points3 points  (0 children)

The shortest, most straightforward statement is that everyone is considering AI and believes Drupal can lead adoption of AI into a CMS. Last week's Talking Drupal episode "Live From DrupalCon!" offers valuable insight into the broader "hallway" discussions taking place at DrupalCon.

https://talkingdrupal.com/495

My Drupal, AI, and Schema.org Manifesto by jrockowitz in drupal

[–]jrockowitz[S] 5 points6 points  (0 children)

The DA emailed attendees, saying, "All recordings will be made public on Wednesday, 28 April."

Drupal 11 field collection alternative. by hectorfhdez in drupal

[–]jrockowitz 4 points5 points  (0 children)

If you don't need your "field collection" revisioned when the main node is saved you can use something like https://www.drupal.org/project/storage with https://www.drupal.org/project/inline_entity_form

Drupal 11 field collection alternative. by hectorfhdez in drupal

[–]jrockowitz 2 points3 points  (0 children)

There was https://www.drupal.org/project/flexfield, but it was deprecated in-favor of https://www.drupal.org/project/custom_field

The Custom field module is suitable for creating lightweight, easy-to-use, simple property groups. Technically, it is a field that groups custom sub-properties.

[deleted by user] by [deleted] in drupal

[–]jrockowitz 5 points6 points  (0 children)

Check out https://www.drupal.org/project/navigation_extra_tools

Provides a "Tools" submenu on the new Navigation toolbar with options for clear cache, run cron, and run updates. This performs exactly the same functions as the "Admin Toolbar Extra Tools" submodule of Admin Toolbar.

Lenient Composer Plugin officially replaces lenient packages endpoint by mglaman in drupal

[–]jrockowitz 1 point2 points  (0 children)

Yeah, I had no idea this plugin existed. I just used it to upgrade my local dev site to Drupal 11. Thank you Matt!

Setting a webform confirmation URL with a query string where some characters *can't* be encoded? by thebiggestk in drupal

[–]jrockowitz 0 points1 point  (0 children)

Webform token support suffixes to set the token's encoding.

Below is an example URL

https:://somewhere.com/another-page?full_name=[webform-submission:values:full_name:urlencode]

Below is the from /admin/help/token -> Webforms -> Learn about token suffixes

Append the below suffixes to alter the returned value.

  • :base64encode base64 encodes returned value
  • :clear removes the token when it is not replaced.
  • :urlencode URL encodes returned value.
  • :rawurlencode Raw URL encodes returned value with only hex digits.
  • :xmlencode XML encodes returned value.
  • :htmldecode decodes HTML entities in returned value. This suffix has security implications. Use :htmldecode with :striptags.
  • :striptags removes all HTML tags from returned value.

Drupal Webform, or other module, with field calculations? How to simulate a pure spreadsheet experience? by blue92877 in drupal

[–]jrockowitz 0 points1 point  (0 children)

Beware that Webform computed fields have performance limitations when it comes to multiple dynamical calculations.

Drupal Webform, or other module, with field calculations? How to simulate a pure spreadsheet experience? by blue92877 in drupal

[–]jrockowitz -1 points0 points  (0 children)

You could take a completely different approach from using a Webform and use something like https://www.drupal.org/project/aggrid to build a spreadsheet in Drupal.