this sounds as though it might be as simple as getting one site to read the
other sites rss feed
rss feeds are a snap in cake

http://book.cakephp.org/view/483/Creating-an-RSS-feed-with-the-RssHelper
http://kurinchilamp.kurinchilion.com/2009/06/cakephp-parsing-rss-feed-in-simple-steps.html

but if you need more

try
http://deadlytechnology.com/php/api-cakephp-app/
http://quinnsupplee.com/blog/quinn/02-11-2010/create-rest-style-api-cakephp-and-xml

also
http://bakery.cakephp.org/articles/sdevore_myopenid_com/2007/01/22/restful-web-services-with-cakephp


hth  - S


On 10 November 2010 17:20, Shaz <[email protected]> wrote:

> Just wanted some idea's on how you would build an API for your
> application in Cake?
>
> An example of what I'm trying to achieve:
>
> Team A logs on - adds their players, what they scored and how on their
> site.
> Team B logs on and does the same.
>
> Both sites connect to each other and show the relevant scores from the
> other team and the results of the match. That way Team A doesn't need
> to bother inputting any info about Team B and vice versa - its
> automatically fetched once the team name is entered.
>
> Whats the best way of having to seperate sites communicate with each
> other, especially in cake...
>
> 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]<cake-php%[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

Reply via email to