Limit wordpress post content out put automatically
This is a quick and dirty hack to limit the amount of words wordpress outputs on your homepage. Its sometimes not ideal to have the entire post showing on the homepage when you have really long posts....
View ArticleRemove the default dashboard widgets from WordPress programatically
It’s been over a week since I made a decent post (been extremely busy) so I thought I’d give it a go today. One of the project’s I’ve had going on requires building a website for a local charity. I...
View ArticleCreate custom widgets for the wordpress dashboard
Following on from my previous post on how to remove the default widgets/modules on the wordpress dashboard, today I’m going to show you how quick and simple it is to add your own custom widget/module...
View ArticleInstall thrift and build PHP (and other language) bindings for Cassandra
Install thrift and build PHP bindings for Cassandra This guide should work for 0.7+ versions of Cassandra. Other versions may need tweaking here and there but the general path should be similar. Lets...
View ArticleCreating a PHP URL mapper to parse fancy URLs and query strings
I’ve been working on a PHP framework for my group over the last few weeks. We were required to build almost everything from scratch so using another framework such as Codeignitor was not an option. The...
View ArticleApache Cassandra + PHPcassa + Code Igniter = large scale PHP app in 5 minutes
I’m working on a new project, migrating an existing site using custom code with a very monolithic design on top of MySQL. Design goals : Implement all the same functionality using a manageable...
View ArticleInstalling Xampp and adding/updating PHPUnit and PHPDocumenter and...
That title is quite a mouthful isn’t it? I usually do development on Ubuntu and only ever develop Windows specific programs on Windows using .NET but I’ve found the need to setup an environment to do...
View ArticleCreating a String class to represent and manipulate strings in PHP
In getting started with PHPUnit, I didn’t have any code I felt like writing unit tests for. Mainly because I wanted to start with something very simple. I started writing some code, one thing lead to...
View ArticleGetting started with PHPUnit unit testing
The follow up to my previous post. The below is the php unit test class for the string class example I wrote. I suppose the essence of this is to try to hammer out bugs as early as possible. PHPUnit,...
View ArticleFinding that blogging balance!
I work hard. Least that’s what I get told :P – I’ve found it hard to find the time to blog as I much as I’d like to but after a recent conversation I had an epiphany. While I’m working on Fillta I’ve...
View Article