Programming

Why I Hate WordPress

Posted by Jeremy Harris on Thu, Jan 12, 2012 @ 3:50pm

I use a lot of different technologies. I'm not an Apply guy, but I own a MacBook Pro. I'm not a PC guy, but I've used one for most my life and still do for work. I have an Android phone, and a Zune music player. I didn't go to school for programming and my programming is mostly limited to web technologies. I've programmed in BASIC, ASP, ActionScript, JavaScript, PHP, and more. I've used framewo...

Quick and Dirty Git Deployment

Posted by Jeremy Harris on Mon, Oct 10, 2011 @ 2:42pm

I decided I hated the way were were "deploying" at work. The guy before me never really had a deployment strategy (at least none that he left behind), let alone version controlled or tested software. I decided to take a crack at creating a simple Git-only deployment system. Keep in mind that this doesn't provide any quality control, such as running tests or setting permissions. It's just someth...

Testing a Subset of Methods Within a Test Case

Posted by Jeremy Harris on Sun, Jul 24, 2011 @ 8:13pm

UPDATE: @savant and I were chatting in #cakephp one night. Turns out he had something similar, and took some of my ideas and came up with a nice solution: https://gist.github.com/1208800

We all know that testing can be really slow if you have a large app with a lot of fixtures. When dealing with this on a large test case file, it becomes a huge time waste to test the entire file each time when...

Batch Updating Submodule URLs

Posted by Jeremy Harris on Sun, Jun 26, 2011 @ 10:18am

Since I have moved all of my plugins to Github, there's obviously some updating that needs to be done on my CakePHP apps that use those plugins as git submodules. Namely, I needed to replace the old repo urls with the new ones. To do this, I first opened up my .gitmodules file using vim.

$ vim .gitmodules

Then just some regexp happiness from command mode.

:%s/git\(:\/\/\|@\)codaset\.com\(:\|...

Cache Query Results Transparently

Posted by Jeremy Harris on Fri, Apr 22, 2011 @ 7:32pm

We all know that caching will (usually) speeds up your application. There are several methods for caching information in CakePHP, including caching your views, elements, arbitrary information and queries. I'm not going to go over these methods in this post, but rather introduce a plugin that caches the actual results of your queries. 

Caching your find call results can dramatically improve per...

1 | 2 | 3 | 4