News Feed
Jobs Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way
Safely Deprecating APIs
May 14, 2013 @ 13:09:17

On 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


blog comments powered by Disqus

Similar Posts

Chad Lung's Blog: Install Lighttpd, PHP and MySQL on Ubuntu 10.10

Chris Jones' Blog: Speeding up DBMS_OUTPUT in PHP OCI8

Zend Developer Zone: Dynamically Creating Graphs and Charts with PHP and GDChart

Ibuildings techPortal: DPC11: Distributed Systems Tutorial

Lorna Mitchell's Blog:

Community Events

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

podcast symfony2 introduction application dependency code security install component package release facebook language hhvm hack opinion unittest series composer framework

All content copyright, 2014 :: - Powered by the Solar PHP Framework