I'm using Cake 1.2.0.5875 pre-beta I'd like to know what are the best practices when dealing with the following situation.
I have a "cities" table and a "garbage_quantities" table that collects garbage weight processed each month by each city. Cities are grouped in another entity called a "County". I need to build a form and a function that will allow the user to enter the total weight processed for all cities in a county and that will then distribute this amount over each city (based on some fancy calculation). Since the form doesn't match an actual model: - how and where do I deal with validation? - where do I put the distribution function? Model? Controller? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---