I'd do it from within the main model, assuming that all of the models are related.
Jeremy Burns Class Outfit [email protected] http://www.classoutfit.com On 10 Jan 2011, at 07:01, Eric Anderson wrote: > Hi everyone, > > I'm creating an app and have a situation where after an event occurs, > I need to save data in many different models. Essentially, when a > competition ends, I need to save the winner, award points to everyone > who entered the competition and as well as award "credits". > Essentially, I end up editing 4 (or more) different models when a > competition ends and needs to be evaluated. > > What's the best way to handle things like this, where an event occurs > but the consequences affect many models? > > Thanks! > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > 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 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
