News Feed
Sections




News Archive
feed this:

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

Symfony Blog:
Symfony plugin deprecation
June 21, 2010 @ 12:36:53

The Symfony project has officially introduced something that can help with the future of your Symfony-related code/plugin - the ability to deprecate the plugin (via the plguin system) and let everyone using it know it's no longer in development.

There are several reasons why a plugin may be deprecated. The symfony core framework might have included the functionality of the plugin in a recent release, or another plugin with the same functionality might be doing a better job at it. Whatever the reason, a developer is now able to mark a plugin as deprecated. This is simply done in the administration panel of the plugin.

A message will pop up when the plugin is next used to let the developers of the site know the deprecation status of the plugin - complete with a custom message.

0 comments voice your opinion now!
plugin deprecation symfony framework


IBM developerWorks:
What's new in PHP V5.3, Part 5 Upgrading from PHP V5.2
February 26, 2009 @ 11:14:56

On the IBM developerWorks blog the next article in their "What's new in PHP V5.3" series has been posted. In this fifth part looks at some of the changes and issues you might face when making the upgrade (including slightly modified function behavior and deprecated functions).

In this final part of the series, learn about things to consider when upgrading from PHP V5.2. There are changes that break backward-compatibility and features that are deprecated in PHP V5.3 for removal in future versions. Some enhancements to existing features within PHP are also covered.

Changes included in the list are:

  • Syntax changes
  • Changes to functions and methods
  • Extension changes
  • Build changes
  • Deprecated items
0 comments voice your opinion now!
php5 upgrade change compatibility deprecation



Community Events





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


introduction deployment library series developer symfony api podcast release voicesoftheelephpant list tips community framework language bugfix interview conference laravel zendserver

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