Hi eagerterrier, > I have a facebook type app that I need to build for a client (don't we > all?) and in it I have a model that ideally needs to be owned by one > user, and also habtm other users (the owners friends)
I'd say it was fine. Model > belongsTo < User Model > habtm < Friends (a different name for the habtm but also uses the 'user' model) but, are the other users always friends of the owner user? if so, can you not assume that they have access to all 'Model' that the owner has? then you wouldn't need the habtm at all! - just a thought. cheers, Jon -- jon bennett w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
