Removing deprecated code

Nao

  • Dadman with a boy
  • Posts: 16,079
Removing deprecated code
« on May 6th, 2011, 05:09 PM »Last edited on February 20th, 2012, 03:09 PM by Nao
Feature: Removing deprecated code
Developer: Arantor & Nao
Target: admins, modders, themers
Status: 99% (believed to be complete, but it's a never-ending feature implementation because of its very nature.)
Comment:

We believe that software should live in the present, not in the past. Libraries that were deprecated years ago should not be supported anymore, because they mean overhead, bloat, and usually prevent developers from using new features, for fear of breaking something on older platforms. Because some people are too afraid of "fixing what isn't broken", they're still using PHP 4.x and MySQL 4.0 these days.
They shouldn't be afraid.
So we removed support for PHP < 5.1.2, MySQL < 4.1.2, and are requiring support for the GD2 graphics library (which shouldn't be a problem in 99% of the cases.)
Dozens of other minor libraries, functions and programming methods that didn't belong in this age were also deprecated, such as support for the Wap, Wap2 and iMode wireless modes, the boardmod installation system for add-ons, or older SMF1 compatibility code.

Re: Removing deprecated code
« Reply #46, on June 17th, 2011, 05:55 PM »
MySQL version: 5.0.51a-24+lenny5
PHP: 5.2.14-0.dotdeb.0

MySQL version: 5.1.49-3
PHP: 5.3.3-7+squeeze1

Re: Removing deprecated code
« Reply #47, on June 17th, 2011, 08:10 PM »
Версия Apache   2.2.17
Версия PHP   5.2.15
Версия MySQL   5.0.90-community-log

Re: Removing deprecated code
« Reply #48, on June 17th, 2011, 10:39 PM »
My VPS runs:

lighttpd/1.4.28
PHP/5.3.3-7
MySQL/5.1.49

No problems here then.




Re: Removing deprecated code
« Reply #52, on June 21st, 2011, 11:59 PM »
So... Minimum version? 5.2 or 5.3? We're still unsure about this one...

Re: Removing deprecated code
« Reply #53, on June 22nd, 2011, 12:11 AM »
Quote from Nao/Gilles on June 21st, 2011, 11:59 PM
So... Minimum version? 5.2 or 5.3? We're still unsure about this one...
I say whichever makes your life easier and coding better. Then again I'm only one person. The feeling I got from this project is that you choose what to support based on how much you like it. And I think that's a good thing, because you seem to have a good gut feeling.

5.3 is the standard choice for php5 in Debian stable, and Debian is fairly slow on releases.

So for me anyway, 5.3 seems like the better option, if it gives you a further array of tools to create a better forum :)

EDIT: Checked with Nearlyfreespeech (my favourite web hosting company) and at least they support 5.3. What can I say? Maybe people ought to update their programs. ;)

Re: Removing deprecated code
« Reply #54, on June 22nd, 2011, 12:56 AM »
Go with 5.3. Be bold and innovative with it. Besides,  what's your release plan like? 6 months to a final release? In 6 months, where do you think 5.3 adoption will be at?



Re: Removing deprecated code
« Reply #57, on June 22nd, 2011, 09:34 AM »
Even though half our potential users are currently on 5.2 then? :^^;:

Re: Removing deprecated code
« Reply #58, on June 22nd, 2011, 09:55 AM »
Its up to you :P

Just I know the only 5.2 VPS I have left will be gone by the time Wedge would be worth installing on that site. ;)

Re: Removing deprecated code
« Reply #59, on June 22nd, 2011, 09:59 AM »
How many of you can get your host to upgrade to PHP 5.3? Any decent host should be co-operative enough to upgrade to the current stable version of PHP.

Re: Removing deprecated code
« Reply #60, on June 22nd, 2011, 10:54 AM »
I've internally changed the minimum version to 5.2. Not much to change, actually... Our current code doesn't 'really' require 5.2+, it just could make use of that knowledge later on.