About this site

The Accidental Coder (TAC) v10.1 was more effort than I set out for in updating the site to D10. 

There were a number of issues bringing the theme forward from D9 that I wasn't anticipating, so I scrapped it entirely. I toyed with the idea of using Single Directory Components, but came to my senses. (Not that there's anything wrong with SDC...it's just that this is a blog. I don't need a large enough contingent of components to warrant using them...I will be working on another site where I plan to use SDC). 

Having re-themed, I decided to have some fun with the new version. One thing I did want to add was some robust search filtering. 

Now, like many things in Drupal (if not all), there are many architectural approaches to realizing a feature. Filtered searching is often accomplished through the use of an exposed Views filter. In my case, I didn't go this route for two reasons:

  • Forcing Views to try and handle the filtering options I wanted to offer would result in a tenuous UX, at best
  • I'm a coder, at heart. My enjoyment has always come from translating requirements into code. This would offer a great opportunity to indulge myself

 

 


Type:
Page
Tags: