Even though it’s been a while since I’ve shared my thoughts and musings on Automad, I just realized while refactoring my (very naïve implemented) extension antstei/automath that we as developers need built-in hooks and events to take full advantage of Automad’s range of capabilities. Hence, I propose an event 🔥-ing concept – similar to Bludit’s Hooks or Flextype’s and TYPEMILL’s Events – enabling us to hook into Automad’s system and add our own (extension) functionality. ✨
Specifically, rather than
a generic extensions should listen to events Automad fires while generating a website in order to fetch data, manipulate it, and return it to Automad’s core content management system. Following this concept, instead of passing an associative array of $options
when “calling” an extension, the extension’s settings are specified by tooltips
which can be altered similar to page vaiables in Automad’s dashboard … 🚀
Tell me what you guys think of my suggestion and – @mad, of course – whether it’s even technically feasible as part of a major update. 🤓