YII SaaS Multi Tenant application with single database

Comparing #4 with #5

Revision #5 was created by Rajith R Rajith R on May 31, 2013, 11:05:10 AM.

update

Content

SaaS application structure in YII using only one database --------------------------------------------------------- Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is **no database triggers** needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.


create RActiveRecord.php
------------------------
[...]