I have some code that I want to execute before each action is called. Are there any actions I can use to do this?
In the module:
public function preExecute() { }
If you want it to be global for all modules, put it in the appConfiguration class or create a filter.
+1 for filters. events can also be very helpful, depending on what you want to do.