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

CodeIgniter.com:
CodeIgniter 2.0 - Now with more Awesome
November 12, 2010 @ 09:40:30

According to a new post to the CodeIgniter.com blog, there's been even more changes in the 2.0 version of the framework - including dropping PHP4 support all together.

A few days ago a new repository popped up on our internal Mercurial server. We're not particularly creative with our naming, so it was simply CodeIgniterNoPhp4. [...] With only a handful of significant changes to its codebase, the release was pushed along. We want to make CI 2 worth its name, so starting today, we're requiring PHP 5.1.6 on our master branch.

They include a few things to watch out for including naming conventions, the change to __construct, a cleaner model object interface and chaining added to the email and validation libraries.

0 comments voice your opinion now!
codeigniter framework php4 support deprecate


WordPress Blog:
PHP 4 and MySQL 4 End of Life Announcement
July 27, 2010 @ 08:20:02

There's some huge news from the WordPress blog today - an end of life announcement that the popular blogging platform will no longer be supporting PHP4 and MySQL 4.

Our approach with WordPress has always been to make it run on common server configurations. We want users to have flexibility when choosing a host for their precious content. Because of this strategy, WordPress runs pretty much anywhere. Web hosting platforms, however, change over time, and we occasionally are able to reevaluate some of the requirements for running WordPress. Now is one of those times. You probably guessed it from the title '" we're finally ready to announce the end of support for PHP 4 and MySQL 4!

The last version that will fully support PHP4 will be v3.1 and will be released in late 2010. The next version (v3.2) will jump the requirement up to PHP 5.2. According to their statistics, only around 10% of the installs are on PHP4. They also found that less than 6% of users were on MySQL 4. See the full post for complete details.

0 comments voice your opinion now!
endoflife php4 support mysql4


Andrew Nacin's Blog:
On PHP
July 16, 2010 @ 12:34:53

Andrew Nacin, one of the core developers of WordPress, has a recent post to his blog about the current state of PHP and how that relates to WordPress' backwards compatibility support of PHP4.

I've been meaning to write this post nearly a month now, on the heels of WordPress 3.0′s release and preparing for an inevitable future discussion of when we should drop PHP 4 support. And then current events give you the hook you need to sit down and do it.

He talks about WordPress 3.0, the support of PHP Earthlink offered, how their PHP4 usage stands currently, efforts they've done to get people to make the move up from PHP4 versions, PHP5 market penetration and more.

0 comments voice your opinion now!
opinion php4 php5 upgrade wordpress


Patrick Allaert's Blog:
Coding standards converts PHP4 style constructors to PHP5 one
October 30, 2009 @ 07:51:39

Patrick Allaert has put together a shell command that can take your PHP4 code and replace its current constructors with PHP5-formatted ones.

It assumes your classes are always declared with the class keyword starting at the beginning of the line and that your files have the .php extension.

It uses a regular expression in a perl command to search through the current directory and look for the ".php" files to replace the "function ClassName" sort of thing with a "function __construct".

0 comments voice your opinion now!
code standards php4 php5 constructor perl convert


Till's Blog:
A case for PEAR and PHP4 (Or, why BC is important!)
September 23, 2009 @ 11:11:34

In this new post to his blog till argues his case for PEAR and why support for PHP4 is a good thing when it comes to making things "just work."

Every once in someone likes to argue that PEAR is all fugly PHP4 code and why you should not use it, and instead go and use another framework or component library. Most of those people also say that they looked at or used PEAR x years ago and then act all surprised when someone else disagrees.

He talks about some of the rules around the major/minor PEAR releases and backwards compatibility breaks which, thankfully, a lot of other projects seem to adhere to. He points out that some packages have been started for different PHP generations (Mail_Queue2 vs Mail_Queue) and a few reasons why the PHP4 EON doesn't automatically mean PEAR should follow suit.

0 comments voice your opinion now!
pear backwards compatibility php4


Brandon Savage's Blog:
The Slow Death of PHP 4
September 18, 2009 @ 10:35:03

In a new post to his blog today, Brandon Savage talks about the "fade time" for PHP4 and how, really, it's gone on long enough.

Sadly, developing for PHP 4 backwards compatibility is something that companies and individuals are still doing. Wordpress released a new Widget API in version 2.8 that relies on the old-style PHP 4 constructor. Apparently, for Wordpress and many other developers, wide adoption is more important than language improvements.

This all came about because he noticed the Log PEAR package still supported PHP4. He's been making updates, though, to bring it out of the shadows and into the light of PHP5-only support.

Still, I look forward to the day when PHP 4 finally does go away forever, leaving us with a much better code base and happier developers.
0 comments voice your opinion now!
death php4 pear


Zend Developer Zone:
Migrating applications from PHP 4 to Zend Core 2.5 w/support for IBM Informix
March 30, 2009 @ 09:32:22

The Zend Developer Zone has a new article that will interest developers still looking to make the jump from PHP4 to PHP5 (you know who you are) with Informix support. Zend Core can help.

There are many business web applications written in PHP4 that use the Informix module for data access. PHP4 is no longer supported and as a result will not be issued any more fixes or releases. Since version 5.2, the Informix module is no longer available for the PDO module. In this article I'll to describe how to compile and install the Informix module on the Zend Core 2.5 (PHP 5.2.6)

The tutorial helps you set up your environment and build/install the Informix module to be plugged into the Zend Core stack. Activation is as simple as going into the Zend Core admin tool and enabling the extension. A sample script is included to test the results.

Its also noted in the comments that there's a PDO driver for Informix that can be pulled from the PECL extension repository.

0 comments voice your opinion now!
ibm informix tutorial php4 php5 application zendcore


Sebastian Bergmann's Blog:
Flickr The Real World PHP 5 Benchmark
March 27, 2009 @ 12:03:08

Sebastian Bergmann has posted a real world benchmark as justification for moving from a PHP 4 to PHP 5 environment - evidence from Flickr's change.

Benchmarks such as the PHP / GCC / ICC Benchmark I posted quite a while ago on this blog are synthetic. They test "raw bytecode execution" speed that cannot be translated into real-world situations per se. Flickr recently migrated from PHP 4 to PHP 5. And here are their real world numbers.

The graph shows a dramatic drop in processing needed (CPU usage) at the moment they made the switch over from PHP4 to PHP5.The system processing usage stayed about the same (system processes like logging and memory handling) but the user CPU usage (like what the web server would use) saw an immediate change by almost twenty percent.

0 comments voice your opinion now!
php5 php4 benchmark flickr cpu usage compare graph


Quinton Parker's Blog:
PHP4 and PHP5 certification
February 10, 2009 @ 08:46:54

In a recent post Quinton Parker looks at some of his experiences in preparing for and taking the Zend Certified Engineer test. He compares the experiences of taking the PHP4 version (in 2005) and more recently taking the PHP5 (in 2009).

Back in early 2005 the Zend certification first became available for PHP4. At that time I had roughly 2 years php experience. No South Africans were certified at that time. Barely 100 certified engineers worldwide. What a great achievement if I could join the elite few. [...] From purchasing the certification goods all the way to writing the exam it was a smooth experience and most worthwhile.

His experience with the PHP5 didn't quite go as well as the PHP4 version. He felt that the study guide lacked some of the depth the new version of the language needed and that, while it is a nice system, the Vulcan testing from php|architect needs a little bit of work. He still passed the test, though, and became the only South African to hold both PHP4 and PHP5 certifications

0 comments voice your opinion now!
php4 php5 zend certification engineer experience vulcan guide southafrica


devReview.com:
The Big List of PHP Frameworks
January 07, 2009 @ 14:12:10

The devReview.com website has put together The Big List of as many of the PHP frameworks out there they could find:

For the start of a new year, it was time to clean out the list of PHP frameworks. A few have fallen by the wayside, but many new ones have been added. It seems that patterns and MVC is still all the rage, but less are professing to being Rails clones, though the inspiration of convention is still strong. There are a wide variety of framework types. From full stack (cakePHP, Symfony) to components (eZ), a bit of both (Zend) and minimalist (LightVC, TinyMVC, Pluf).

Requirements to be on the list include that the framework must be PHP-based, have a recent code release in the last 12 months, needs to be available in English and not including frameworks that can be considered content systems themselves.

As of the time of this post, there are around 50 active frameworks listed - everything from CakePHP and the Zend Framework out to eZ Components and Prado. Links for each include their project homepage and some reviews the site has done.

2 comments voice your opinion now!
list framework active project php4 php5 release english



Community Events





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


introduction developer code testing interview list install unittest experience release threedevsandamaybe podcast language community laravel refactor symfony2 opinion series framework

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