Ok, so i’m looking for some insight best practices for using functions and php on my expressionengine sites. At the moment I can load a my_functions.php file into the current template using the full server path and gain access to those functions. These are specific helper functions that I use that are specific to the project solution and sometimes the client. Maybe 8-10 small-med functions is all.
So my question is, What is the best way to do this. Should I be creating a plugin to handle these functions and process information between tags like the following:
{exp:my_functions:function1}
...info to process
{/exp:my_functions:function1}{exp:my_functions:function2}
... more info to process
{/exp:my_functions:function2}How are other people accomplishing this?