I'm building a PHP framework and my english is not the best. There are several classes (database abstraction, module, router,...) in my framework and there is a place where they all have to be initialized and executed together.
root?
adding random text since it won't let me submit otherwise
core
adding random text since it won't let me submit otherwise
bootstrapper
adding random text since it won't let me submit otherwise
Driver?
adding random text since it won't let me submit otherwise
bootstrap
adding random text since it won't let me submit otherwise
Gennerally that would be the name of your framework.
$Opue
would work nicely. Or you could add a prefix. fwOupe.
Whatever you want to call the framework?
You can name it Delegator.
I use an Application
singleton:
class Foo
{
public function bar()
{
$app = Application::getInstance();
$app->db->query( ... );
}
}
BuckarooBonzaiAndTheBootstrapInitiatorRoutine
I will call it main
. The C++ main function does the same things in some projects - just create instances of some important classes.
What is a good name for a "master" class that initializes and runs all other classes?
ClassFactory
Why not TypeYourAppNameHere
?
GlobalFactory ?
It's an initialisation or bootup routine right? So why not Boot
or GlobalInitialiser
or similar?
(adjust to crazy American spelling as needed ;))
ActiveBase
this will be a nice name for the master class i guess