hi Tarique,

I know how to create RSS feed using CakePHP and those are working
pretty good..but still not able to understand the concept of API.

As I understand, for SOAP you have a central controller from which you
will need to find appropriate controller or model and call their
function. Is that right..or cakephp has some automagic way of calling
the appropriate controller?

For REST it will be simple as we can directly call 
http://siteurl/controller/action
and send parameters either by GET or post. But how to determine
whether it is a REST /SOAP or normall browser based function call. If
you can list in short steps to take for enabling an API that will be
great

Regards


On Mar 6, 12:47 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 6, 2008 at 11:09 AM, bingo <[EMAIL PROTECTED]> wrote:
>
> >                 if (Configure::read('Routing.webservices') == 'on') {
> >                         trigger_error('Deprecated: webservices routes are 
> > deprecated and
> >  will not be supported in future versions.  Use
> >  Router::parseExtensions() instead.', E_USER_WARNING);
>
> This is the key part - "webservices routes are deprecated"
>
> While designing an API once you have got past the problem of
> session-less authentication everything else is pretty simple - same as
> creating an RSS feed - don't let the TLA - "API" intimidate you!
>
> Cheers
> Tarique
>
> --
> =============================================================
> Cheesecake-Photoblog:http://cheesecake-photoblog.org
> PHP for E-Biz:http://sanisoft.com
> =============================================================
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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