Getting Started with Zend_Test
Submitted by Matthew Turland on Thu, 01/07/2010 - 19:12I worked on a project recently where we used Zend Framework. As part of that project, I was tasked with writing unit tests. So, I went to the "tests" directory generated for me by the zf CLI utility to get started. What I found there was three files.
Fat Models are Good!
Submitted by Matthew Turland on Wed, 01/07/2009 - 12:27If there is one thing I admire about Matthew Weier O'Phinney, it's the amount of passion he puts into his work. He perceived concerns about best practices for developing models when using Zend Framework and took the time to write up three blog posts that detail his own experiences and recommendations. When I began actively using ZF on a daily basis in early 2008, I had questions similar to those that the aforementioned blog posts are intended to address.
Adding DNS Caching to Zend_Http_Client
Submitted by Matthew Turland on Mon, 12/01/2008 - 19:42In a recent post on my blog, I benchmarked various mainstream PHP HTTP client extensions and libraries. In doing so, I noticed that extensions based on libcurl (specifically the cURL and pecl_http) use an internal DNS cache and glean a significant performance gain from it.
While it is possible for PHP-based libraries to implement their own cache, none that I examined actually do. With a little curiosity egging me on, I decided to spend a bit of time digging into their code to see how difficult it would be to modify them to include a cache so I could compare the results for performance.

