News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Chris Hartjes' Blog:
Doing RADAR in CakePHP
April 12, 2007 @ 10:21:00

Chris Hartjes demonstrates how to get the concept of RADAR (RESTful Application, Dumb-Ass Recipient) up and working with a simple CakePHP application.

Okay, time for some code samples to boost traffic to my site. In a previous posting I talked about the idea of RADAR, or RESTful Application, Dumb-Ass Recipient. So, wanting to see if I could put it into use, I decided to do the following for a new application: Have the core of the application provide data via a REST service, For the web part of it, create controller / action pairs that call the REST service and pass the output onto the views.

There's four code examples included in the post:

  • Defining the IndexController for the app
  • Creating the results, standings and schedule methods in the controller
  • Rendering the XML for the response and for the standings and for the standings for a particular division (two code blocks).

0 comments voice your opinion now!
cakephpframework radar rest interface division standings cakephpframework radar rest interface division standings


blog comments powered by Disqus

Similar Posts

Davey Shafik's Blog: Next Generation REST Web Services Client

Technobabbler.com: making a radar loop with PHP

PHPImpact Blog: Building a Web Service Client using the Zend Framework

Matthew Weir O'Phinney's Blog: Introducing Phly_Struct and Phly_Config

Matthew Weir O'Phinney's Blog: Cgiapp2 Tutorial 1 - Switch Template Plugins at Will


Community Events





Don't see your event here?
Let us know!


laravel library voicesoftheelephpant framework language series artisanfiles opinion community symfony introduction conference release tool composer podcast list interview security version

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework