hi, i'm builiding an analysis system for my app. The functionality i want to achieve is having some sort of report for the number of views my models got, combined with user data ie age sex etc. But i'm having trouble designing the model that will have that data (lack of experience i'm afraid). My initial thought was to have a report model with rows like id, modelA_id, modelB_id, modelC_id, age, sex, date and views. My models are so far associated like this:
modelA: hasMany modelB modelB: belongsTo modelA hasMany modelC modelC: belongsTo modelB So, first of all can cake handle multiple habtm relationships? Because from what I understand each model should have a habtm association with my report model. Secondly, is this correct by performance criteria? Another thought is to have 3 distinct report models with that association. Which one is better? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
