News Feed
Sections




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

PHPMaster.com:
Safely Deprecating APIs
May 14, 2013 @ 13:09:17

On PHPMaster.com today there's an article with some good suggestions about ways to deprecate parts of an API safely.

Deprecation can happen for various reasons - perhaps an API is no longer useful and has reached its end-of-life, or the refactoring of code to improve its reusability and testability obsoletes particular methods. In this article I'll share with you some key points that you should follow when deprecating APIs so you can continue to grow your code and provide fair warning to those who depend on it.

They break it up into a few different steps:

  • Prepare for Refactoring
  • Employ the Single Responsibility Principle
  • Communicate with your Users
  • Remove the Old Code
0 comments voice your opinion now!
api deprecation method suggestion tutorial

Link: http://phpmaster.com/safely-deprecating-apis

blog comments powered by Disqus

Similar Posts

Google Developer Blog: Getting started with Twilio on Google App Engine for PHP

Joshua Eichorn's Blog: Adding Supr urls to your site

Stefan Mischook's Blog: A Quick Look at Dreamweaver CS4 and the PHP Toolset

Stefan Mischook's Blog: Building Objects Video (Parts 1, 2 & 3)

Stefan Mischook's Blog: PHP Shopping Cart Video Tutorial Course - available for download.


Community Events

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


symfony2 series framework conference voicesoftheelephpant podcast xdebug introduction opinion interview example php7 laravel version library performance release community api extension

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