Friday, June 26, 2009

Re: Connecting to web services

The DS documentation is still absent from the book. Is there a
canonical list of required methods/attributes when building custom
DSs? So far I found those two posted by gwoo

http://bin.cakephp.org/saved/18892
http://bin.cakephp.org/view/925615535

On Jun 26, 1:04 pm, jperras <joel.per...@gmail.com> wrote:
> Use a custom datasource & HttpSocket.
>
> On Jun 26, 12:09 am, 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: