Hi All, A beginners question I think but hopefully someone can help me and confirm my thoughts.
We have 2 models, user and org, which map very nicely on to the 2 salesforce objects contact and account respectively. All org data is sent to salesforce (uploaded) to an account object, to note this is only one way, only ever upload, not download. So I store the salesforce id on the org object and our own org id on the salesforce account object, both as unique foreign keys. Its near enough the same for users except not all users get sync'd - only those that meet certain criteria or are selected by admin users in the application. So the question I have really is how do I implement this in CakePHP? My inclination is to do something with the Model classes so that the data sending is always done? Question is whether to just add it as a postSave function?? or whether to create some sort of behaviour that I can add to each Model class?? Also should I set up Salesforce as another datasource? Seems to me a bit like one bit cant figure out how this fits in What do people think?? Any best practice advice much appreciated Cheers LL2 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
