Matt Glaman

@mglaman
25 Followers
11 Following
25 Posts
@cainaru it's the underpinnings of Drupal. But that makes it hard to explain because everything is layered on top of it. And fixed have been patched above it (constraints living on Field Types vs Data Types(

I'm having some fun coding tonight and hacking on my #Drupal TypedData API by Example repo.

Drupal has this sweet data representation layer for typed data that is a hidden gem. I'm building a repository of examples, and hopefully building an EduTools course on the JetBrains marketplace as well.

https://github.com/mglaman/drupal-typed-data-by-example

GitHub - mglaman/drupal-typed-data-by-example: Drupal's Typed Data API by example

Drupal's Typed Data API by example. Contribute to mglaman/drupal-typed-data-by-example development by creating an account on GitHub.

GitHub

😭 I'm so spoiled by Form API in Drupal. I don't mind writing forms in HTML. But mixed PHP + HTML for forms is painful.

I just remembered that meta boxes in WordPress are registered in one spot, and then the submission is handled via another hook.

Not horrible. I'm just used to my tools.

Not Composer based, but the DDEV quickstart is also 💯

https://ddev.readthedocs.io/en/stable/users/quickstart/

CMS Quickstarts - DDEV Docs

Do local website development on your computer or in the cloud with DDEV.

GitHub - platformsh-templates/wordpress-composer: Wordpress (Composer)

Wordpress (Composer) . Contribute to platformsh-templates/wordpress-composer development by creating an account on GitHub.

GitHub

🤔 is there a community Composer template for #WordPress? I'm helping a friend out with a custom plugin and went to build a site locally.

It is _impossible_ to search for due to keyword stuffing of "compose" for page builders and of course "template"

TIL I have @mglaman and now I need to figure out aliasing/migrating
@jurgenhaas @dpi well the real question is: does it matter what site I'm on and my suffix? It's the same experience, regardless

@katherined I'm still torn if the credit system for Drupal is +1 or -1.

It's +1 for attributing multiple users who ensured an issue came to fruition versus commit authorship.

I think it's broken in how we tied it to the organizations empowering the individuals. Let individuals say they're doing it for their employer or some other organization. But ranking in the services listing is wrong.

Drupal: cache tags for all, regardless your backend

Phil Karlton is quoted as having said, "There are only two hard things in Computer Science: cache invalidation and naming things." As someone who suffers horribly from the latter, I'm glad Drupal's caching APIs make the former a breeze. The long short of it is that caching of data improves performance by not having to perform the same operations multiple times after it has been done the first time until you need to re-run that operation again.

mglaman.dev