[EXTENSION] DbParam

New extension to handle application params using the DB:

http://www.yiiframew…ension/dbparam/

Detailed post about it can be found in my blog: http://programmersno…g-the-database/

Post is updated according to the latest changes.

nice job!

Really Nice !! :D

The __set and __get will be very slow since you are waiting for exceptions (exceptions are not appropriate in this case). A better approach is to extend CAttributeCollection and implement IApplicationComponent. You will then get those __set and __get et.al. features for free.

Cheers, Wei.

Yes, I was thinking of that :) Will do.

The drawback of this approach is that I was unable to define property by getter/setter method. However, it should work faster.

I've updated everything, Jonah proposed more changes in the comments to my post, I'll implement them nearest time also.