Archive for July, 2008
Bugs in Phing on Windows
I use Phing to deploy my projects, and as they become more complex I expand on my use of Phing tasks. For instance, I have a ZIP archive of zip codes that Phing extracts and then imports into a database when deploying the application.
I maintain two development environments. One on a Linux server, and one […]
Posted: July 31st, 2008 under Development, PHP, Software & Tools.
Tags: archive, bug, phing, PHP, task, zip
Comments: none
Comcast reads blogs, provides customer service through Twitter
More and more companies are starting to embrace the social web. Comcast discovered that communicating and following up with unsatisfied customers through third party web sites (personal blogs, Twitter, etc) can have a positive effect.
Of course, that's a Good Thing™, because as a (due to lack of alternatives, sometimes forced) customer it often seems that […]
Posted: July 26th, 2008 under Social Web.
Tags: comcast, social media, suddenoutbreakofcommonsense
Comments: none
Zend_DB_Select Woes
It's no secret, I'm a fan of the Zend Framework, which I've been using since version 0.15. A lot of components have been added since then, and many of the initial components have been refactored and enhanced, and have matured. And that includes the Zend_Db_Select component, which has been evolving quite nicely, and even Zend_Db_Table_Abstract […]
Posted: July 25th, 2008 under Database, Development, PHP, Zend Framework.
Tags: mixin, mysql, PHP, select, sql, sqlite, tables, zend framework, zf
Comments: none
Paginating Zend_Search_Lucene results
This short entry was inspired by a snippet of inefficient code I encountered, which involved iterating over an array with a loop and breaking out of it once enough results were fetched.
Zend_Search_Lucene does not paginate results. It simply returns an array. While it does allow you to specify to only return the first N results […]
Posted: July 22nd, 2008 under Development, PHP, Zend Framework.
Tags: array_slice, lucene, pagination, PHP
Comments: none
Debugging web sites with the BlackBerry Simulator
I've never used a BlackBerry. Yet, I was tasked with debugging a web site that apparently had some issues with the BlackBerry. This rather outdated site was using frames, which is the first hint that there may be problems. However, according to the BlackBerry Developer's Guide (PDF) frames aren't an issue. They're simply processed and […]
Posted: July 17th, 2008 under Development, Software & Tools.
Tags: blackberry, browser, debug, mobile, web
Comments: 1