Finding the right name for an include that is to be executed before HTML output
- by Pekka
I am defining naming conventions for a simple plugin framework. For example:
index.php - the main plugin file
info.php - returns an array with plugin information
install.php - self-explanatory
can you think of an elegant, short-hand name for a PHP file that contains the code that is to be executed before any HTML is output? Do any examples from other frameworks come to your mind?
What I have been thinking of:
head.php - misleading, could be mixed up with HTML <head>
before_output.php - clumsy, too long
init.php - not exactly correct
start.php - current favourite