News Feed
Sections




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

Phil Sturgeon:
Building a Decent API
July 16, 2013 @ 09:32:46

Phil Sturgeon has posted a set of best practices he follows when building out new APIs. It covers a wide range of topics at a high level, but it's a good checklist to get you started.

PHP developers are increasingly moving over to API development, as are a lot of server-side developers. It's a trend thats been happening for the last few years and it's getting to the point where everyone and their dog are putting articles showing off how to build "awesome" API's. Unfortunately most of these are either woefully inadequate or are promoting bad practices.

His recommendations include:

  • Use the URI sparingly, and correctly
  • Resources are EVERYTHING
  • Authentication
  • Background all the things
  • Version your API like an adult

Each item in his list has some points to back it up and provide a bit more detail on what it's all about.

0 comments voice your opinion now!
api development recommendations list bestpractice

Link: http://philsturgeon.co.uk/blog/2013/07/building-a-decent-api

blog comments powered by Disqus

Similar Posts

The Register: PHPers prefer Windows desktop to Linux

Nik Chankov's Blog: 10 reasons to choose CakePHP as Framework

Jeez.eu: PHP Certifications. Where, Why And, How To Get Them

Phil Sturgeon's Blog: Upgrading to CodeIgniter 2.0

Mike Purcell's Blog: Symfony - PHP - Possibly Forking 1.x so Invested Companies donít Lose Millions


Community Events





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


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

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