Upgrading web platforms.

KBleivik
Site Admin
Posts: 178
Joined: Tue Sep 29, 2009 6:25 pm
Location: Moss Norway
Contact:

Upgrading web platforms.

Postby KBleivik » Wed Jul 20, 2011 11:09 am

Refactoring http://www.refactoring.com/ is a great subject. Boiled down to the least common denominator it means that you rewrite code to make it more elegant and efficient. Blogging platforms like WordPress and content management systems are constantly upgraded to remove bugs, implement new features and rewriting code so it is much more efficient. Upgrading your WordPress powered blog may be done in a few mouse clicks via the DashBoard. But sometimes that can be risky unless you have done all the necessary reading of new reguirements like

To run WordPress your host just needs a couple of things:

PHP version 5.2.4 or greater
MySQL version 5.0 or greater

The requirements have changed as of WordPress 3.2. The minimum requirements for WordPress 3.1 are PHP 4.3 and MySQL 4.1.2.

Source: http://wordpress.org/about/requirements/

Drupal 7 will only support MySQL 5.0.15 or higher, and requires the PDO database extension for PHP

....................

Recommended: PHP 5.2 for Drupal 5 and 6, PHP 5.3 for Drupal 7
Required: PHP version 4.4.0 or higher for Drupal 5 and Drupal 6, PHP 5.2.5 or higher for Drupal 7

Source: http://drupal.org/requirements

and backup: viewtopic.php?f=18&t=190

Ideally, what ever happens you should be able to recreate your site in two hours or less. If you don't want your site to be down for maintenance (you can miss some inbound links if your site is (frequently) down for maintenance) we recommend that you upgrade your site via ftp if that is an option. We have also experienced that a WordPress upgrade hang, and even with fairly long IT experience, it took us about an hour to fix the problem.

So what does the above requirements mean? I means that if you use a hoster that is slow to upgrade php / MySQL, you may not be able to upgrade your blog or content management system. If you are in doubt if your host has the necessary requirements ask and ask on forums about the last requirements. It may sometimes pay to follow the front. As explained on this bulletin board, we waited years before we upgraded our other forum http://www.forumnorway.com/ to the latest version. We decided to upgrade when there were too many bugs and security holes in the old platform. And we did that upgrade in steps like this:
[list=]
[*] Upgraded to the latest version of phpBB 2.*
[*] Upgraded to the first version of phpBb 3.
[*] Upgraded to the last stable version of phpBb 3.*
[/list]
That may be the most secure way to do it even if it could be possible to upgrade directly from our version of phpBB 2.* to the last stable version of phpBb 3.*. So unless a lot of bugs and security holes are fixed and you don't necessarily need the last features, it may pay to wait until you upgrade. Content is King, and time is money. Especially, when a new version from Drupal 7.* to Drupal 8.* and from Wordpress 2.* to WordPress 3.* is launched, it may pay to wait some months before you refactor or upgrade your platform.

Return to “Refactoring and upgrading”

Who is online

Users browsing this forum: No registered users and 1 guest