News Feed
Sections




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

Lorna Mitchell's Blog:
Version Parameters for Web Services
June 30, 2009 @ 16:46:32

Continuing on with her series of tips for those building web services Lorna Mitchell has posted this new item to her blog looking at the importance of a version parameter in each call.

When designing a service API, there are lots of things you can do right, and plenty of pitfalls. Most of both of these are completely specific to the situation you are designing for but I have one tip that has helped me out in a number of scenarios: Include a version parameter with every method call.

She recommends this parameter for a single reason - you can modify the API, even existing functionality and, based on that value, know which version of the action the user's looking for. This enabled you to make improvements and updates to the service without requiring all of your users to have to recode everything - they have the choice to update or not.

0 comments voice your opinion now!
webservice parameter version


blog comments powered by Disqus

Similar Posts

Mark van der Velden's Blog: PHPUnit conditional test based on a PHP version

Stanislav Malyshev: PHP 5.4 (Looking Back) & 5.6 (Looking Forward)

Community News: Wordpress 2.6 Released

International PHP Magazine: Poll Question: What is the Top Mistake That PHP Coders Commit?

Amazon Web Services Blog: Version 2 of the AWS SDK for PHP (now with Guzzle)


Community Events





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


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

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