I’m sure if you are a WordPress theme developer, or work a lot around WordPress, you’ll have your own set of framework, a personalised framework, and only you understand it. Well, I do, in fact I have a few. Just so I can consistantly work around what needed and what not. The year end is near, have to spear time out for checking and paying term life insurance again. Also the time I check with my framework, lots of work, without pay
I always tried to make the framework work easier for me. This is my way:
Theme Options

Something just static, like adding Google Analytics code. It has become a numb in website. Even a web newbie knows that too, I don’t know why. So creating a theme options helps remove the time to copy-paste the code. You can find some tutorial around the net.
Shorten the name

Make sure it is easy to implement what you have on your theme options. Shorten the name, create another my_functions.php files and place all the reusable options there instead. So you can easily add when needed in any project.
Have as much as possible

Yes, built what needed and what don’t needed first. I have ALL WordPress core hooks ready in my functions.php. You can get a lot of custom functions from Digging into WordPress blog. I have a copy too
Keep backward compatibility ready
Though it is always recommended to upgrade WordPress when new version is out, but not everyone is comfortable with it. Some even still have 2.8 with them (how we missed the old layout). I always have 3 version of WordPress ready and make sure all developed themes work well with all 3 version, and yes, from time to time, I will forgot about browser compatibility.
Time to check with the upgrades






