Entries for tag: rest

  • REST and Resource Handling with CakePHP (Nate Abele, 2008-05-14)
    In the previous article in this series, we learned how the CakePHP routing system handles URLs and interacts with your application in order to dispatch requests to the proper controller action. In the first article of the series, we saw how the Router's features could be combined with other classes in the framework (the , for example) to enable things like unifying the handling of different resource types.We're going to take these concepts further and add a new one: REST.
    Other tags: art   cake   cakephp   homepage   web services  
  • In this article, we look at the ability of PHP code to inspect itself, using the Reflection API introduced with PHP 5. We will build a tool that lets us automatically convert any class to a fully functional REST service, without writing a single line of dedicated binding code.
    Other tags: art   homepage   php5   reflection