Programming Tips

Autoloading Benchmarks

During the past week, I've been looking at different strategies for autoloading in Zend Framework. I've suspected for some time that our class loading strategy might be one source of performance degradation, and wanted to research some different approaches, and compare performance.In this post, I'll outline the approaches I've tried, the benchmarking stategy I applied, and the results of benchmarking each approach.

Applying FilterIterator to Directory Iteration

I'm currently doing research and prototyping for autoloading alternatives in Zend Framework 2.0. One approach I'm looking at involves creating explicit class/file maps; these tend to be much faster than using the include_path, but do require some additional setup. My algorithm for generating the maps was absurdly simple:

New MojoMotor updater

Coming in MojoMotor 1.0.4, is a simplified version updater. Here’s a 17 second video preview.

Running mod_php and FastCGI side-by-side

Because we're in full throes of Zend Framework 2.0 development, I find myself with a variety of PHP binaries floating around my system from both the PHP 5.2 and 5.3 release series. We're at a point now where I'm wanting to test migrating applications from ZF 1.X to 2.0 to se see what works and what doesn't. But that means I need more than one PHP binary enabled on my server...

Creating Zend_Tool Providers

When I was at Symfony Live this past February, I assisted Stefan Koopmanschap in a full-day workshop on integrating Zend Framework in Symfony applications. During that workshop, Stefan demonstrated creating Symfony "tasks". These are classes that tie in to the Symfony command-line tooling -- basically allowing you to tie in to the CLI tool in order to create cronjobs, migration scripts, etc.

MojoMotor themes

One of the things that hasn’t really been made public about MojoMotor is that it has the ability to be themed. This option is available under Settings.

MojoMotor, and my EECI2010 review

Well, finally back and enjoying the afterglow of another amazing experience; EECI 2010. Aside from the great things that happened to me personally (I’ll get to those in a moment), it was 3 days of pure and utter awesomeness for the whole ExpressionEngine/CodeIgniter world. I’ll never get to hang out with a more awesome gang then the folks I meet through this world.

State of Zend Framework 2.0

The past few months have kept myself and my team quite busy, as we've turned our attentions from maintenance of the Zend Framework 1.X series to Zend Framework 2.0. I've been fielding questions regularly about ZF2 lately, and felt it was time to talk about the roadmap for ZF2, what we've done so far, and how the community can help. Continue reading "State of Zend Framework 2.0"

Writing Gearman Workers in PHP

I've been hearing about and reading about Gearman for a couple years now, but, due to the nature of my work, it's never really been something I needed to investigate; when you're writing backend code, scalability is something you leave to the end-users, right? Wrong! But perhaps an explanation is in order. Continue reading "Writing Gearman Workers in PHP"

PHP Invades Amsterdam; or, the Dutch PHP Conference

For the third year running, I'm pleased to be speaking at the Dutch PHP Conference, held again in Amsterdam this coming 10-12 of June. Continue reading "PHP Invades Amsterdam; or, the Dutch PHP Conference"

Syndicate content