Tuesday, February 22, 2011

Question about how models using different datasources handle relationships

Hi,

I'm curious as to how models which use different datasources handle relationships?

If i was to create a datasource to consume a web service, and I wanted it to pick up related fields via a HasOne relationship to a model using a mysql database table, will cake just automagically resolve this, or do I need to do something cute in the datasource?

Sorry for no code examples or "trying it" first - its just a question that popped into my head and a quick browse of the book didn't seem to provide any insight.


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: