Archive for May 21st, 2007

Zend Developer Zone: Zend Framework Based Projects

The Zend Developer Zone has posted a great list of applications that are currently creating to use the Zend Framework to power the application:

Recently an email was sent to the Zend Framework General List that mentioned the fact that there are now several projects on SourceForge based on the Zend Framework. There are actually 7,187 projects if you just search for Zend Framework but if you put search for Zend Framework in quotes, we get down to the 17 we really want. Here is a rundown of most of them.

Included in the list are applications like:

Continue Reading · Add comment

Pierre-Alain Joye’s Blog: Good reading for Mailing list members

In a new post to his blog, Pierre-Alain Joye has a suggestion for mailing list members (and really anyone else involved with the community) for reading materials - a chapter from “Producing Open Source Software”.

A must read about OSS is the “Producing Open Source Software” written By Karl Fogel. One chapter covers nearly all problems that php Internals is experiencing.

No need to say that these rules should apply to IRC as well. You may think while reading the mailing lists that a certain level has been reached, what happens on IRC is even worst. Another chapter can be very interesting: Social and Political Infrastructure (and related). Mixing paid developers, volunteers or ambitious developers (as in need of an ego or career booster) is not an easy thing, but it should be possible (dreaming?).

Among the topics discussed in the chapter, Pierre mentions two - “nip rudeness in the bud” to keep things more civil and from escalating and to avoid private discussions about a project that everyone should be involved with.

Continue Reading · Add comment

Richard Davey’s Blog: Interesting memory use with GD images

Richard Davey takes a look at some of the resource levels used for creating an image with GD in his latest blog entry:

While working on a project I noticed some interesting issues regarding GD images and the amount of memory they take up simply down to where you store them in your PHP script. If you are working with GD a lot then reading this short entry might save you some time / RAM! Update: I’ve also discovered something very interesting relating to autoloading classes, which again is related to memory allocation.

He was setting up to make a thumbnail from an image and thought to check some benchmarks on memory usage after three different methods:

  • normal, procedural code
  • putting the image resource into an object array
  • storing the image resource in an object variable

In the end, the results were pretty much expected - the procedural (object free) method came in lowest, while the other object-related options had more overhead. It was interesting (as he mentions too) to see the jump between procedural and the object options.

Continue Reading · Add comment

Symfony Blog: Make your symfony application 70% faster

Continuing in their “plugin of the week” series, the Symfony blog presents a new plugin that can help to make your Symfony application up to 70 percent faster than it already is.

I’d like to tell you a little success story about using sfOptimizerPlugin. I did many things in my “public” application to optimize performance [and end up having] an average execution time of ~150ms per page, wich leads to ~100ms in the production environment. A little bit slow, I think.

After [installing the plugin and] running $php symfony optimize public staging over the environment, the execution time was reduced by 50ms from ~150ms down to ~90ms, nice. And even the production environment acts faster now, with only ~30ms to serve pages, very nice - 70% faster!

He even suggests using the sfOptimizerPlugin in a cron job on a server to help keep things constantly optimized.

Continue Reading · Add comment

Secunia.com: Debian update for PHP5

A new advisory from Secunia today points out an update that the Debian group has released for their PHP5 package to correct a few issues:

Debian has issued an update for php5. This fixes some vulnerabilities, which can be exploited by malicious users to bypass certain security restrictions or by malicious people to potentially compromise a vulnerable system.

You can either grab the package with apt-get to get the latest or you can get it from one of the links in the advisory post for your architecture.

Continue Reading · Add comment