Chili Pepper Design

Web development relleno

Dynamic Data Schemas With PHP and MongoDb

| Comments

We built a very specialized content management system here at SplashLab Social. We build custom applications for each client, which have custom data based on the clients needs. One client may have a simple Sweepstakes app, where we simply ask for a user’s name and email, while another app might be a photo contest, where the user submits a photo, with a caption, description, and their full name and address.

To handle these frequently varying data schema we have modified Yii’s ActiveRecord ORM class to use dynamic model attributes stored in a MongoDb document database.

Comments