Now that we are using the YUI framework for our AJAXy goodness, we should agree on a way to call these functions from Campsite templates as well.
One idea involves somehow maintaining a register of installed functions and then the ability to call them as includes from the templates with a directive that may look like:
{{ include yui_component=button type=submit }}
with the related directives included inside that are related to the component (stylesheet, data source/data destination, etc.)
{{/include}}
The main idea is that if we have all of these functions available in a directory within the instance, and are using them on the admin interface, they should also be made available to template makers.