Friday, August 9, 2013

Re: REST API with CakePHP 1.1

I highly recommend upgrading to at least 1.3
a) 1.1 is so old that none of us even remotely remember anything from that ancient period of time
b) There have been many important (bug)fixes, security issues resolved and - as you mentioned - many new improvements that make your life so much easier

So the time to upgrade is well paid of in no time! trust me


Am Freitag, 9. August 2013 09:18:46 UTC+2 schrieb David Carr:
I'm trying to expose some of the functionality of my site in a REST-ful way.  Due to the environment set up at my company (a bunch of internal sites, all using a shared CakePHP configuration with an arcane syncing setup, etc.) I am using CakePHP 1.1.  Looking at CakePHP documentation I see in version 1.3 there appear to be some features that may be useful to me.  


But I'm not sure if these will work with 1.1.  Anyone familiar with what does and doesn't work in the older versions?  Should I create a new model/controller whose job it is to process GET and POST requests, and return JSON/XML (and from this controller, call functions in other Models to submit and retrieve data?)  I'm not sure if that is a "Cake" way to do things or not.

Any insight would be appreciated. 

--
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+unsubscribe@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.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: