Open Source

Moving to Github

Posted by Jeremy Harris on Mon, Jun 20, 2011 @ 6:00pm

After hosting my open source projects and plugins on Codaset for some time now, I've decided to move them to Github. There are a few reasons for this, which I'll explain. Before I go into detail, however, let me just say that I'm extremely thankful and supportive of Joel Moss (creator of Codaset) and his work to improve the git hosting world.

I've also been very happy with Joel's email custome...

Testing Controllers in CakePHP 2.0

Posted by Jeremy Harris on Wed, Dec 15, 2010 @ 10:30pm

In the past, testing controllers in CakePHP always had its hiccups. In 2.0, testAction was written from the ground up to allow for mocking and an all-inclusive set of results.

To gain this new functionality, you'll need to do is extend your test case by ControllerTestCase instead of the typical CakeTestCaseControllerTestCase gives you access to two new methods, testAction and generate and se...

Fulltext Searches with CakeDC Search Plugin

Posted by Jeremy Harris on Tue, Sep 28, 2010 @ 3:50pm

I recently dove into the Search plugin that the CakeDC created. It's one of many plugins that the CakeDC has been releasing lately. Isn't open source lovely? You can grab the Search plugin here.

MATCH (`description`) AGAINST ('totally +awesome -lame')

One of the requirements of my search was to allow boolean fulltext searches. I wanted it to be as dynamic as possible so I can easily perform a...