Posts in “Tech”

Unit testing for CodeIgniter: PHPUnit and CIUnit

I have been looking into building a Continuous Integration Environment on my Mac for my Code Igniter Projects. To achieve this I need to put together some robust tests, I have selected PHPUnit to use as my test framework as I have used this before. I know that Code Igniter has a built in test Lib http://codeigniter.com/user_guide/libraries/unit_testing.html but this is not robust enough and it will not integrate with my Continuous Integration environment, which in this case is Jenkins.

To right tests for your code, you need to be able to load in your controllers and models and in turn for them to load in the rest of the Code Igniter core. It is I’m affried not as easy as just inclueding the classes you want and then instantiating them, you need to have the framework run like a page request. To do this is a bit of a mission, but, being a good little developer rather then reinvention the wheel I fired up Google and started haveing a search around.

Read On »

 

posted 15/04/2012 - 9:15 pm in Tech by

TimesCube – Arduino based standalone web-client cube thing

feature

As if I was not geeky enough, I have signed up for News International’s weekly Arduino Lunch club… Yes I’m giving up my own lunch hour to play around with Microprocessors. Bookmark on Delicious Digg this post Recommend on Facebook Buzz it up share via Reddit Share with Stumblers Tweet about it

 

posted 22/09/2011 - 9:17 pm in Tech by

TwitterGalaxy – Part 2 – Twitter API Integration into Google Earth using a KML Tour

earth

In my last post TwitterGalaxy – DIY Google Liquid Galaxy from Recycled Monitors with integrated Twitter Feed we had put together massive great array of monitors and I had promised that there was a reason – other then porn and gaming. Bookmark on Delicious Digg this post Recommend on Facebook Buzz it up share via Reddit Share with Stumblers Tweet about it

 

posted 20/09/2011 - 8:20 pm in Tech by

TwitterGalaxy – DIY Google Liquid Galaxy from Recycled Monitors with integrated Twitter Feed

TwitterGalaxy - Google Liquid Galaxy with Twitter Feed

I have been working in the R&D department for the last couple of weeks. One of the projects they were working on was a Google Liquid Galaxy setup. I asked if I could help out with my engineering skills. This is what I got up to… Bookmark on Delicious Digg this post Recommend on Facebook Buzz it up share via Reddit Share with Stumblers Tweet about it

 

posted 11/09/2011 - 8:00 pm in Projects, Tech by

Facebook launches new developers area

Facebook have recently implemented a new design to there developers area. The new design is a great improvement on the old app manager where I have spent many an hour.

Read On »

 

posted 18/07/2011 - 4:58 pm in Tech by

CodeIgniter Twitter Library

Hi All, thought I would let you know about this great Twitter Library for the even greater CodeIgniter. Below is the link to the project and a link to Haughin’s blog the developer who made the Lib, enjoy your Twitter fun. http://www.haughin.com/code/twitter/

 

posted 14/07/2011 - 9:06 pm in Tech by