» CakePHP REST Plugin presentation
At our company we have a lot of uses for a solid API. We can use it to distribute config files, have servers report in, let customers edit DNS records using their own interface, etc.
Now that I'm converting all of our legacy code to a big CakePHP application, the API needed a revisit as well. I chose to use REST as a standard, read about everything related to Cake & REST, and started hacking on a reusable plugin. The idea is that you can drop it in any application and unlock existing functionality to REST with minimal changes to your code.
It is still a work in progress, but as the first Dutch CakePHP event was held yesterday and I was asked to present something I thought this particular plugin might be of interest to the community. Here are the slides:
I would love some feedback to help it make better. My todos can be found in the slides as well, to give you an idea where I'm heading with this.
More info on the Dutch CakePHP event
- @jsentel's writeup on the talks
- Singel 146's followup (the location in Amsterdam)
- @charli3's initial post
- #cakephpnl on twitter
- LinkedIn group: CakePHP NL
Stay up to date
You can track my blog
articles and
comments. You may also find my
bookmarks interesting. Or
Follow me on Twitter
Like this article?
|
Then Digg it! Or use another bookmark button below to show your support & help me spread the word. |
RelatedArticles like this one» Prepare for PHP 5.3 |
tags: cakephp, programming, rest, php, api
category: Programming - PHP - CakePHP
read: 1,482 times






tagcloud
#1. Tamas Jozsa on 12 March 2010
This plug-in is exactly what I'm searching for. Will try it out today and when I have time I will return to give a feedback.
One thing I do not understand so far is, how to call this from a browser. Is it like:
... [more]
www.hostname.com/rest/<modelname>s ???
And how to select whether to output to JSON or XML. As I see in the code XML is there in many places.
Thanks,
Regards,
Tamas