Hi Guys, I am new at Cakes, and MVC and would like some suggestion in terms of design.
I currently have the following database structure settings - setting_id -> setting name users - user_name, password etc user information user_settings - user_name -> setting_id groups - groun_id -> group name group_settings - group_id -> setting_id user_groups user -> groups now, How do I go about creating a controller that would return to me an object where settings.a = setting a where a can be either a user setting or one of the group settings of one of the groups that the user belongs to. Options: 1. Should I create 6 models and create a 7th model that merge everything. 2. Should I create 6 models and merge everthin in controller 3. Should I some how use behaviour? (not familar with it's usage, can someone pls help) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
