News Feed
Sections




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

Jeremy Brown's Blog:
3 Tenets for Implementing a REST API
March 18, 2011 @ 09:17:05

Jeremy Brown, after working tirelessly on a REST API based around the Zend Framework (and a few other technologies), has come up with his three tenets for implementing a REST API to hopefully help you along the straight and narrow path that he forged himself.

In the course of performing my duties at my day job I recently came across the need for our data to be accessible via an API. After researching the various types available, I settled on developing a REST API. The selection process wasn't the interesting part of this exercise though. Actually implementing a REST API is what was.

His advice ranges from the general to very specific, sharing tips on how to most effectively create the service's API:

  • REST is a set of principles (and not a specification)
  • Do not use custom media types
  • Represent the headers in the response payload
0 comments voice your opinion now!
tenet rest api implement zendframework


blog comments powered by Disqus

Similar Posts

Rob Morgan's Blog: Howto Log Directly to Your OS X Terminal using Zend Framework and NodeJS

PHPMaster.com: REST - Can You do More than Spell It? Part 3

Zend Developer Zone: Create APIs with FRAPI

phpDevelopment Blog: Zend Framework Tutorial Series: Part 3 – Login and Signup with (RE)Captcha

Steven Macintyre's Blog: Building a Modular Zend Framework CMS


Community Events





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


series introduction deployment language tips developer library list api laravel bugfix interview threedevsandamaybe podcast zendserver community symfony opinion release framework

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