Look the 1.3 example (twitter):

http://book.cakephp.org/1.3/en/The-Manual/Developing-with-CakePHP/DataSources.html#an-example

and the 2.x:

http://book.cakephp.org/2.0/en/models/datasources.html#an-example

You'll basically use HttpSocket to "talk" to the webserver, see:

http://book.cakephp.org/2.0/en/core-utility-libraries/httpsocket.html#httpsocket

Att,


--

Luiz Antonio S Messias
Desenvolvedor Web

<http://twitter.com/tonyzrp>
@tonyzrp <http://twitter.com/tonyzrp>
*LinkedIn* <http://www.linkedin.com/in/luizantoniosmessias>


On 25 February 2013 06:54, Mathias R <math...@mrnetworks.de> wrote:

> Hi,
>
> thx for your answer. I read about datasources too but i don't know how to
> work with.
> i want to access data from xml-, json- and/or soap-webservices.
>
> M.
>
> Am Montag, 25. Februar 2013 04:04:35 UTC+1 schrieb Tony:
>>
>> I've never used (and I would like to), but I believe it would be the case
>> of using/creating *DataSources:*
>> *
>> *
>> http://book.cakephp.org/2.0/**en/models/datasources.html<http://book.cakephp.org/2.0/en/models/datasources.html>
>> *
>> *
>>
>> Att,
>>
>>
>> --
>>
>> Luiz Antonio S Messias
>> Desenvolvedor Web
>>
>> <http://twitter.com/tonyzrp>
>> @tonyzrp <http://twitter.com/tonyzrp>
>> *LinkedIn* <http://www.linkedin.com/in/luizantoniosmessias>
>>
>>
>> On 24 February 2013 17:23, Mathias R <mat...@mrnetworks.de> wrote:
>>
>>>  Hi,
>>>
>>> i'm creating an app which is need to get data from multiple api sources.
>>> fo each source i wan't to create an own plugin. That's my idea.
>>>
>>> which way is the best to access an api or webservice?
>>> Creating a Model without table and access webservice with it's methods?
>>>
>>> hope u understand my terrible english ;)
>>>
>>> Greetings
>>>
>>> M.
>>>
>>> --
>>> Like Us on FaceBook 
>>> https://www.facebook.com/**CakePHP<https://www.facebook.com/CakePHP>
>>> Find us on Twitter http://twitter.com/CakePHP
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "CakePHP" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to cake-php+u...@**googlegroups.com.
>>> To post to this group, send email to cake...@googlegroups.com.
>>>
>>> Visit this group at 
>>> http://groups.google.com/**group/cake-php?hl=en<http://groups.google.com/group/cake-php?hl=en>
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to