I have a site framework skeleton which I've built up over the years and it's very light and powerful and offers a huge array of things which Wordpress doesn't really support. I hope to import it into a Wordpress friendly package so that I can instantiate it from within a theme.
I would really love some advice from those out there as to how it might be best to include Wordpress' inherent methods into the theme?
The framework follows a MVC pattern and is controller lead insofar as the pipeline in its most basic format is roughly like so:
I would like to maintain the integrity of the overall framework without messing with it's guts too much. The options I can see at the moment are to either:
(a) Create a Wordpress 'Interface' whereby the controller instantiates Interface = new Wordpress($config)
(b) Create a 'Fat' Model which essentially classifies Wordpress as Business Logic
(c) Create separate M/V/C objects for wordpress
(d) scrappily throw Wordpress functions allover the place
The Question What would the advantages be for the different methods? Which would you suggest?
Thanks very much