Archive for August 3rd, 2007

Sebastian Bergmann’s Blog: PHPUnit and Software Metrics

In a update to his recent post on Cyclomatic Complexity in PHPUnit, Sebastian Bergmann has given more information about the software metrics support that the upcoming release (3.1.6) of PHPUnit will offer.

The upcoming 3.1.6 release of PHPUnit adds a couple of software metrics to the data that is stored in PHPUnit’s test database.

Among the metrics gathered are things like: lines of code, commented lines of code, an attribute inheritance factor, depth of inheritance tree, method hiding factor and a polymorphism factor (he links each of these more complex ones for more information on the subject). Still included in the post is an example of the output for the Cyclomatic Complexity metric.

Continue Reading · Add comment

Nexen.net: PHP Statistics for July 2007

Damien Seguy has posted the latest usage statistics for PHP in the month of July 2007 today on Nexen.net:

PHP adoption statistics for July 2007 are released.

Here are the monthly highlight :

  • PHP 5 is now more than 20%
  • PHP 5.2 is above 10% in PHP market share
  • PHP 4.4.7 still going strongly

As usual, lots of other details : PHP versions, Apache, country details, etc. Feel free to ask any other details, stats or context about the study.

Check out the full monthly stats here and check out the evolution stats here.

Continue Reading · Add comment

SaniSoft Blog: Bugs & enhancements for Auth component in CakePHP v1.2 - Part 1

On the SaniSoft blog, there’s a post pointing out a bugfix and a new enhancement to the Auth component for the CakePHP framework in version 1.2 (part 1):

The auth component is supposed to handle the user login in your app but I was just not able to get that done and there have been similar complaints in the CakePHP mailing list. Since I wanted it *NOW* I had no option but to once again dig into the source - but - hey it is not so bad, they give you the code so that you can change it! right?

His patch involves changing code in two places in the AuthComponent::startup() method to handle the login correctly.

Continue Reading · Add comment

Nick Halstead’s Blog: Most Influential Programmers Results

As mentioned by Nick Halstead, the results are in from the poll for the “Most Influential Programmers” list that he put together, including a PHP name in the top five.

About a month ago I posted my Top 10 most influential programmers which caused a bit of a stir. So I then followed it up with an online poll which I said I would run for a month. The time is up and the final results are in.

Coming in at fifth place is Rasmus Lerdorf of PHP fame (topped by the likes of Linus Torvads and Alan Turing). As Nick mentions, though, it was interesting to see that Zeev Suraski and Andi Gutmans only received a handful of votes.

Continue Reading · Add comment

Mike Willbanks’ Blog: E-Commerce Framework Part 2

Following up from a previous entry, Mike Willbanks has posted some clarifications on points previously made and the highlights on what he thinks a good framework should entail.

I decided to clarify and also explain some of my thoughts and ideas that an e-commerce framework should hold. These thoughts and ideas may be a little rough around the edges but I wanted to give a definition to the meaning of what I feel a framework is in this case as well as items that would potentially be a part of this framework.

Some of his requirements are things like reusable design, useful/easy to use components, functionality for both payment processing and courier handling as well as a catalog system to help manage items.

Continue Reading · Add comment