Friday, 16 March 2007
Tutorial on Web Services in CakePHP 1.2 |
| |
|
| |
Chris Hartjes in a post over the Keyboard web site tells you how to use the built-in web services in CakePHP 1.2. He gives some tips to carry out the process.
He says the biggest change is that the old way of doing custom routing in web services is gone in favour of handling them via extensions. In the past, you would go into app/config/core.php and enable the special web services routing. He tried to do a web service with the URL http://localhost/cake_dev/foo and have it spit out an XML response.
He says if he was doing this the standard way he would be calling http://localhost/cake_dev/foo/index.xml. He adds a code in the app/config/routes.php file.
|
| |
|
Read the Post
|
| |
|
|
| |
|
|
| |
|