Category Archives: 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 […]

Also posted in CodeIgniter, Tools | 8 Responses

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 […]

Also posted in CodeIgniter | Tagged , , , , , | 12 Responses

wpSearch 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, the first official release after the 1.5 landmark, brings to the forefront some of the […]

Also posted in Search Engine Development, Wordpress Development | Tagged , , , , , | 26 Responses

KLogger: A Simple Logging Class for PHP

Update: You can find KLogger on github. 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 […]

Also posted in Tools | Tagged , , , , | 18 Responses

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 […]

Also posted in Wordpress Development | Tagged , , , , , | 7 Responses

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: The latest version as of right now is Several major features have been added since the original beta release. Seamless integration of wpSearch into […]

Also posted in Search Engine Development, Wordpress Development | Tagged , , , , , , , | 2 Responses

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 […]

Also posted in Search Engine Development | Tagged | 32 Responses

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 […]

Also posted in Search Engine Development | Tagged | 10 Responses

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 […]

Also posted in Search Engine Development | Tagged | 4 Responses