News Feed
Sections




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

Matthew Weier O'Phinney:
RESTful APIs with ZF2, Part 1
February 12, 2013 @ 11:40:26

Matthew Weier O'Phinney has posted the first part of a new series he's been working on about creating RESTful APIs with the help of Zend Framework v2. In this part, he looks at things like the "Richardson Maturity Model" and "Hypertext Application Language" as parts of development of the API too.

RESTful APIs have been an interest of mine for a couple of years, but due to circumstances, I've not had much chance to work with them in any meaningful fashion until recently. Rob Allen and I proposed a workshop for PHP Benelux 2013 covering RESTful APIs with ZF2. When it was accepted, it gave me the perfect opportunity to dive in and start putting the various pieces together.

After going over the "Richardson Maturity Model" for the REST structure he spends the rest of the post looking at HAL ("Hypertext Application Language") structure and examples. He mentions the media types it uses, how it handles links between resources and how to embed a resource into the resulting response.

0 comments voice your opinion now!
restful rest api zendframework2 richardson maturity model hal tutorial hypertext application language


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: How to Avoid 404s and Redirect Old URLs in PHP

Phil Sturgeon: Composer: It's ALMOST Always About the Lock File

php|architect: What Will Power the Future of the Internet: REST or SOAP?

PHPMaster.com: PHP's Quest for Performance: From C to hhvm

NetTuts.com: Rapid Application Prototyping in PHP Using a Micro Framework


Community Events

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


version php7 podcast example unittest video interview introduction voicesoftheelephpant release laravel5 opinion series library language list community framework api laravel

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