Archive for diary

Day 3

So we only got about half a day today but completed a small spike getting the database set up correctly. I also had some interesting feedback from Jeff around static methods which I have written up here.

Our DB spike simply does a set of CRUD against mysql, so now everything is set up. To run it you will need a mysql db called cumulusdb with appropriate user, which you can see in the code, you might of course want to change the password.

The code is in the spike package org.ixcode.cumulus.spike.mysql is in svn.

So now we are ready to roll! Oh except we have to go off to some projects…. Hopefully will find some time to work on this in between.

Comments (1)

Day 2

Today we finished off with mingle and have all our stories ready.

The first thing we are going to do is play a spike to set up a mysql DB and get some basic JDBC going. We are doing this a s a spike so that we dont have to worry about the rules just yet and can just get the basic code out.

The first story is called “Store current feed” – it is basically to capture the feed from a http GET and store it in the DB, to get an end to end story, we will provide a simple web page that shows a list of all the entries captured so far.

We returned to our conversation about statics (not that we are obsessed!) we had an interesting email exchange with Jeff on the topic and I will be updating my blog entry to represent the new information.

As an offshoot of statics methods, we explored a bit factory methods, It was an interesting experience for me to try to summarise my thoughts about what factories are for and when they might be used. I will be writing this up in due course.

We wrote some code to illustrate various construction strategies which can be found at org/ixcode/cumulus/spike/staticmethods/factory

Leave a Comment

Day 1

So today we spent most of our time working out what the project is going to be about. We have set up a mingle instance and have a few stories which we have given rough sizing.

We had an interesting discussion around static methods. In the softcopy version of the rules, It says “Only use static methods for factories”. Since communicating with Jeff, we found out that the version on his site was a draft version.

However we did play with some code around when statics are appropriate for our own amusement. This can be seen in code at staticmethods

Leave a Comment