I'm curious to how you all work your theme / template engines. Do you use SQL, Flat File, something else? How do you load it within your own framework / cms? Do you just use a single class?
I'm currently developing my framework, so i'm trying to figure out a good method to building my theme engine.
I'm considering doing something similar to wordpress, in the idea of using a /themes/ folder with sub-folders being like /default/, /red-panda/, whatever.
But once I get to that point, I'm curious how to make it as customizable as possible. I don't want to mix and match my html as php (or refrain from it as much as possible), yet I want the user to have full control of display of their content.
If you have any example code, that would be awesome :)