// Taxonomy term

jQuery

jQuery Glue Code setup

This article describes how to set up a custom JavaScript file in your theme in preparation for writing simple jQuery "glue code".

What is Glue Code

There is a fairly common practice in Drupal site development called writing "glue code". The idea is that, when developing a site, there will be a number of simple custom behaviors or workflow steps that you need to configure. Most of the time there is a module to achieve individual requirements, but the risk is that you can end up with a lot of extra code of dubious performance or quality akin to the Open Buffet Syndrome.