Entries in the ' php ' category

Written December 2, 2008 in php

This year’s PHP Advent has started with two excellent articles by Chris Cornutt and my personal PHP God, Matthew Weier O’Phinney.

Continue Reading »

Written October 28, 2008 in mysql, php, webdev, zend framework

I think my pet peeve of the day today is going to be developers who think that no documentation or setup instructions should be necessary for their little chunk of code… especially when it mashes up as many things as Harald Kirschner’s Fancy Uploader does.

(Then again, I should …

Continue Reading »

Written October 27, 2008 in php, webdev

I’d been in the middle of writing my own classes to handle purifying some crappy HTML that a client project sent my way, but HTMLPurifier for PHP just saved me a lot of time by providing exactly what I needed.

If it doesn’t make sense to you right off, …

Continue Reading »

Written October 24, 2008 in zend framework

One of the guys I work with, Jeff Carouth, rolled out an application this week in less than four working days that handles audit trails for a bunch of proposals that our employer’s executive office needs to track. It’s bug-free thanks to unit tests, it looks good because our …

Continue Reading »

Written October 22, 2008 in symfony

Congratulations to Kris Wallsmith on his appointment as the new Symfony Community Manager. He made his first post to the community blog today and has access to the core. Kris is in my mind one of the top ten PHP developers in the world, as well as an …

Continue Reading »

Written October 20, 2008 in zend framework

I keep forgetting to post this so I can find it later.

The documentation for Zend_Test_PHPUnit requires that you break out your configuration into a plugin as shown in Matthew’s sample pastebin application.

Continue Reading »

Written October 15, 2008 in php, zend framework

Using an abstraction layer (especially with caching) means that sometimes you don’t think much about exactly what you’re doing to the poor database. Here’s a good article on profiling your database queries and optimizing them. I’ve found that xdebug + webgrind is also a pretty good solution for when …

Continue Reading »

Written October 8, 2008 in php, sysadmin

Xdebug worked out of the box with webgrind in MAMP (although there was some trial and error for me because I had some non-default extensions enabled in MAMP).

Of course, it also works out of the box just fine with our development server, and as a sysadmin it …

Continue Reading »

Written October 3, 2008 in php, webdev

This has been linked all over the frickin’ place today, but it’s worth linking to again: Flickr Engineers Do It Offline. Messaging servers and offline transaction or analytical processing is a great way to make your computer bucks stretch. Any time you need to do a process that would …

Continue Reading »

Written October 2, 2008 in php, zend framework

Matthew Weier-O’Phinney is one of the developers of the Zend Framework, and recently released a pastebin sample application to showcase the new Dojo integration released in 1.6.

One of the strengths of the Zend Framework is that there’s no one way to do anything. Sure, there’s ways that …

Continue Reading »