A day in the life...

public class GeekEarth : Earth { }
posts - 26, comments - 7961, trackbacks - 0

August 2009 Entries

Government IT failures

Why is it that as soon as the word “government” is applied to a software project the cost multiplies massively and suddenly the project costs “millions”, runs over schedule, and usually doesn’t work when delivered. A few months ago my wife and I saw a local lad break into a car and steal a wallet.  A couple of weeks ago we were asked to go to the police station to do an identity parade.  When we arrived we were told that unfortunately the “new” identity system had crashed and we wouldn’t be able to take part that day.  ...

posted @ Wednesday, August 19, 2009 9:47 PM | Feedback (127) |

Tightly coupling generic types

My server application works purely on a request/response pattern, like so 1: var query = new GetCustomerQuery(customerUniqueID); 2: var response = 3: AppServer.Execute<GetCustomerQuery, GetCustomerQueryResponse>(query);   What I wanted to avoid though was the possibility that the user (me writing the client app) would do something silly like the following code and use the wrong pair combination 1: var query = new GetCustomerQuery(customerUniqueID); 2: var response = ...

posted @ Tuesday, August 18, 2009 11:44 AM | Feedback (129) |

ECO Persistence Mapper per connection

The Enterprise Core Objects Persistence Mapper is a singleton which is used by all EcoSpace instances.  It’s purpose is to load mapping information from the DB when your app starts and to cache it, improving performance. I needed a connection per client, all running within a single application.  This was a problem because once the PMP is created its connection string is tied to a single database.  So I had to come up with a new PersistenceMapperDynamicSharer component.  It is used on the EcoSpace to specify the PMapper type; additionally you can specify a connection string to use. ...

posted @ Monday, August 17, 2009 10:33 AM | Feedback (115) |

Powered by: