So I totally scrapped Fotokake v1 and I’ve started v2. Its MUCH BETTER. I got to scrap all my crap code that I did over thanksgiving break and move towards and more modular and OO approach. Its a bajillion times cleaner code and I’m using quite a few PEAR tools (DB, Table, and IntegratedTemplate) to do all the dirty work for me ;)
I’m also seperating code and formatting at the HTML layer as well. I’m putting everything in logical DIVs and applying topical classes to each important area (like a title or description or table). That way I can focus on just spitting out data. And then when all the PHP operates properly I can just whip up a CSS to make it look how I want.