. Updated Daily. Editions SDA India   SDA Indonesia
JAX Asia 2008 - Conference for Enterprise Java, SOA, Spring, Web Services, Ajax, Agile and more
BUSINESS ENTERPRISE SOLUTIONS ARCHITECTURE INFORMATION SECURITY WIRELESS & MOBILITY DATA & STORAGE DEVELOPMENT HARDWARE













News

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

 
 
print save email comment

print

save

email

comment

 
 

Search SDA Asia

Free eNewsletter

SDA Asia Magazine Free Download
 
 
 
Copyright @ 2008 SDA Asia Magazine - All Right Reserved Privacy Policy | Terms of Use