PHP Development
Flushing CodeIgniter’s URI-based Cache (Part I)
CodeIgniter’s output caching mechanism — at least in my opinion — has limited usefulness. It can be used to cache the final payload sent to the user for a given number of minutes. But sometimes clearing the cache for all pages or a specific page can be useful, especially if keeping the user from seeing [...]
Enable Site-Wide Profiling With CodeIgniter
A very cool part of CodeIgniter is its ability to give you the ‘profiling’ information for page loads. That is, if you add:
$this->output->enable_profiler(true);
In your controller before you load a view, CodeIgniter will give you information regarding how fast the page loaded, how many SQL queries executed, the content of each query, and the running time [...]
wpSearch 1.5.0.5 Released With Features, Fixes
After an exhausting week and a half tracking down the source of a mysterious bug in wpSearch, I think I can finally close the book on the “null result” issue that had me pouring over the source code.
wpSearch 1.5.0.5, the first official release after the 1.5 landmark, brings to the forefront some of the features [...]
KLogger: A Simple Logging Class for PHP
Since the latest release of wpSearch, a couple issues have cropped up and are slated to be fixed shortly. Some of the issues, although, are a bit harder to catch without a good set of debugging tools for PHP. The classic example of such a tool would be a log file logger.
As soon as I [...]
wpSearch 1.5: The Fastest, Lightest Yet
After its first week in the wild, wpSearch has been run on a number of different versions of Wordpress and PHP, highlighting some places to improve aspects of its core. wpSearch 1.5 has just been released, with a completely rewritten search mechanism to bring search speeds into the milliseconds.
Certain features available in wpSearch 1.x.x.x have [...]
wpSearch Accepted Into Wordpress Plugins
wpSearch (more info in my previous post), the lucene-powered search plugin for Wordpress, has officially been accepted into the Wordpress plugins repository. You can view and download wpSearch here:
http://wordpress.org/extend/plugins/wpsearch/
The latest version as of right now is 1.1.0.0. Several major features have been added since the original beta release.
Seamless integration of wpSearch into your blog. After [...]
A Lucene-based Search Plugin For Wordpress
There are many things I love about Wordpress — the extendability, the ease of use, and large library of themes available online, to name a few. But if there is one aspect of Wordpress that needs a little work, it is the default search functionality.
Recently, I’ve been spending a lot of time working on a [...]
A Stemming Analyzer for Zend’s PHP Lucene
In my last post I spoke a little about Zend’s Lucene implementation in PHP, and its extensive usefulness for content-oriented PHP web applications. One of the roadblocks to implementing a Google-like search, however, was the absence of a stemming analyzer in the Zend package.
While using PHP Lucene, I came across this issue while developing a [...]
A word on Lucene’s PHP port by Zend
Lucene is an open source search engine written in Java. If you have never heard of it prior to now, listen to this: It allows you to create a mini google-like search for anything. That’s right — anything.
But I’ll be a little more specific: Consider you run a news website — or a wiki for [...]



