Archive for February, 2008

I have uploaded the latest and greatest copy of the CodeIgniter - vBulletin user integration.  You can find it in SVN, or download it from SourceForge.

My development tools are now being made public! I am moving it all into one project at SourceForge where there will be guest downloads, and SVN access. Only myself and a few other developers will have write access. I am hoping that pushing it all into open source (MIT license) will help […]

Unit testing is a very powerful form of debugging which many developers don’t know about. Once your applications get bigger, it is daunting to make any changes in fear of breaking the entire application. Re-testing the entire application as a whole is both silly and time consuming. Even having to test various […]

After doing various unit testing for VDE, I’ve encountered a quite annoying flaw with PHP unit testing in general. You can’t test private or protected functions, since they are being called publicly from the test function.
Since in most cases you are testing a class file with only classes in it, I decided to try […]

Visibility

17Feb08

A few of my friends have asked me about this recently, so I’ll document it here for others as well.
Visibility refers to how an object property or method can be seen or called. The simplest type, and the default (making it the most common) is public.
A public visibility means there are no restrictions […]

With vBulletin 4.0 blindly around the corner, where does that leave developers? If we start something big, by the time it is ready, it’ll be about time to rewrite the whole thing. Or, if we’re lucky, it will work for a short while, but we’ll have to recode it all shortly after.
The major […]

Over the past 6 to 12 months I’ve also been creating a MVC framework for vBulletin. I originally based it off the structure of cakePHP, but slowly altered it to suit my needs more, and also to match how vBulletin works more.
If you are new to MVC, the general idea is this: you have […]

The biggest time waster with writing vBulletin mods is working with the product system. To save templates you have to copy-paste and go between several windows. To do anything you have to use their awkward web interfaces.
Last year I toyed with the idea of importing all the product data from the database into the file […]


You are currently browsing the Refactored weblog archives for February, 2008.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.