right now, i have to create a framework. and need to understand more about the concept behind it. so, is there any documentation about how to build core of a framework ?
or at least, what is your approach when you have to create one ?
btw, what i mean with core, is, the skeleton. the part of framework that works as controller who control the controllers.
for example, my personal question : 1. How we create easy to maintain and customize configs ? 2. How we load a class that have dependency with another class ? 3. How we treat our models ? 4. etc ?
@edited : the framework is would be a framework for wordpress theme.
i'm sorry if the question is too broad. but any reference will be great.