I'm senior web application developer for a large retailer. I'm working on building a flexible ORM layer for CouchDB using PHP and Yii Framework