Hello 
 
We're having a discussion in the office about how to effectively use the
models to include application business rules.
 
Our example is as follows: 
Every time a customer is restricted a logged description is required. This
updates the customer table and creates a new record in the
customer_restriction_log tables.
 
Our question is this, which of the following solutions would you recommend?
 
1. create a separate function called doSaveWithLog in the model
2. extend the doSave function in the model
 
I18n could also be include in this discussion.
 
Regards
 
Andrew von Hoesslin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to