For example, I would like to build one app to manage the users and groups for all my other apps. Single sign on if you will.
--- How do I name tables? I've noticed I run into trouble attempting to use tablePrefixes in either project, particularly with HABTM joinTables: master_groups master_groups_users master_users project1_stuff project1_thingers Accessing the groups+users relationship and join table is problematic. But maybe that's because I'm trying to create models in the project app too. --- What's the best strategy for not repeating work? So far, I've tried re-creating the User and Group model in the project, but that has problems mentioned above. Aside from the table naming, do I need to also redefine all the methods I already wrote in the Master User/Group app? Is this something that I need to wrap into a behavior of some sort? --- I've tried explicitly defining my join tables, but from within Project1, cake tries to attach the Project1_ prefix to the groups_users join table. Even when I specify the table name in the habtm relationship, it still appends the prefix. The hack as I see it is to just explicitly define each table, but that feels very un-cake-like and hackish. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
