Friday, June 26, 2009

Re: Connecting to web services

Hello,

I think that it may depend on what you want to do. Anyway, one of the
smartest ways to connect a web service to your app is through a
datasource.

http://debuggable.com/posts/datasources,-models,-components,-behaviors:48bd3025-2c44-40b6-a6e7-35674834cda3

Regards.


On 26 jun, 06:09, Turgs <timb....@gmail.com> wrote:
> Hello
>
> Within a few different controllers, I need to connect to a web service
> using a URL similar to:
> http://api.example.com/?command=Subscriber.Add&data...@test.com
>
> What's the appropriate "cake way" to do this in a way it can be called
> from different controllers?
> I don't think it should be in it's own model, but I don't know know
> else.
>
> Kind regards
> Turgs

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: