Monday 5 March 2012

Joomla Admin Component

The aim of this blog is to outline the structure and files that make up a custom joomla 2.5 component, the impact of the naming convention and which core joomla classes the various layers extend from. In the example the component name is 'abc' and the its main focus is on CRUD operations on a book entity.

Wednesday 29 February 2012

National Half Marathon 2011 Anaylsis


With the Meath Half coming up this weekend I decided to look at my split from the last good half I ran last yesterday in Waterford. At the time I was in the middle of the marathon training program and tapered well for the week before the race

Split Moving Time
1 3:13.4
2 3:20.5
3 3:16.1
4 3:26.3
5 3:23.6
6 3:23.1
7 3:29.1
8 3:20.9
9 3:24.2
10 3:20.3
11 3:22.7
12 3:09.2
13 3:20.3
14 3:31.5
15 3:13.1
16 3:28.5
17 3:14.4
18 3:18.1
19 3:17.5
20 3:20.3
21 3:18.7

The time splits at the main 5km markers were

16:40
33:38
50:14
66:53

which indicates these 5km splits time

16:40
16:58
16:37
16:39

I remember taking it out handy enough and was in a good position to push on in the second half of the race. Looking at the 5km splits now the 1st, 3rd and 4th splits are all similar enough with a diff of 3seconds between them. At the end of the race I was a bit disappointed to have come that close to the 70min barrier. Perhaps the day dreaming in the 2nd 5km section was were the time was lost. The overall time of 1h 10m 15sec which is the current half PB.


In terms of this weekend I'm not 100% sure about the right hamstring but I think the course and potentially the runners in the field could make this a fast course. Will see in the coming days if a new PB time will be targeted.

Tuesday 17 January 2012

phpunit and PEAR

Back on the php unit tsting buzz today but when i ran 'phpunit' is got this

    assure@snapdragonubuntu:~/bhaa/zend/trunk$ phpunit PHP Warning:   require_once(PHP/CodeCoverage/Filter.php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 38 PHP Fatal error: require_once(): Failed opening required 'PHP/CodeCoverage/Filter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/bin/phpunit on line 38 

The first solution is to include the php code coverage tool

http://stackoverflow.com/questions/1528717/phpunit-require-once-error 

Once installed, try again but

assure@snapdragonubuntu:~$ phpunit --help PHP Fatal error: Call to undefined method PHP_CodeCoverage_Filter::getInstance() in /usr/bin/phpunit on line 39

It seems that the version of phpunit was fairly old so i followed

http://superuser.com/questions/55055/how-to-install-an-updated-version-of-pear-phpunit-on-ubuntu

and updated PEAR and phpunit

assure@snapdragonubuntu:~$ pear list -c phpunit
Installed packages, channel pear.phpunit.de: ============================================ Package Version State File_Iterator 1.3.1 stable PHPUnit 3.6.7 stable PHPUnit_MockObject 1.1.0 stable PHP_CodeCoverage 1.1.1 stable PHP_Invoker 1.0.1 stable PHP_Timer 1.0.2 stable PHP_TokenStream 1.1.2 stable

I also added the phpunit to the include_php in my php.ini file

Friday 30 December 2011

Dec 30th 2011

There will be one blog from now on so i merged the content of cycleaustralia.blogspot.com adventurtures-of-a-slite-300.blogspot.com to emeraldjava.blogspot.com, it was quite easy once i found the blogspot import export tool. Added the next 7 bhaa event and story details to glfusion. Having some trouble trying to create a function on the mysql instance on the mac. And the Rover decided it didn't want to start this evening, so the plan evening run in dublin had to be cancelled.

Monthly Km's

Details of the monthly km's ran in 2011. The plan is to update the 2012 details here. September sticks out like a sore thumb with the madness of wisdom tooth removal.

Thursday 29 December 2011

RaceTec Registration File Import Mapping

A list of the possible Athlete and Event mappings that RaceTec allows

Saturday 24 December 2011

Marathon Time Progression

Stockholm 2002 1/7/2002 3:30:00
Zurich 2003 1/5/2003 3:01:09
Berlin 2004 1/8/2004 3:00:00
Rotterdam 2005 1/4/0205 2:44:44
Zurich 2006 1/5/2006 3:02:20
Dublin 2006 31/10/2006 2:56:38
Cork 2007 1/6/2007 3:00:00
Dublin 2008 31/10/2008 3:52:53
Dublin 2009 31/10/2009 2:57:05
Dublin 2011 31/10/2011 2:43:02