Sprint Planner Helper – Session 17

When you learning something new you’ll expect some progress and the occasional setback. If you are on your own, as I am in this project, that is even more likely to be the other way around. My approach to learning this is very much like the way we played with the chemistry box when we were small – try something you believe will work and expect the whole thing to blow up, possibly with a stinging sensation to your eye… So… I guess that you see where this is going. I have to redo something. Actually it’s two. And actually I am not that worried; the whole idea of agile TDD, DDD and all this is that it should be easy to change. The first thing is not biggie; my Entities has a Guid as ID right now. It’s mega-ugly when I am passing it around on the querystring etc....
Read More

In control IV – Håkan Björkman

OK – here is one of the nicest and probably best trombone players in the world showing of his amazing technique. Follow this link to a short clip from SVT where a couple of musicians competes in playing the Flight of the Bumble Bee. In Swedish… The whole program can be found here. Amazingly Håkan plays the piece 20 beats faster than for example the violinist… And very clean. Thanks for the lesson Håkan!
Read More

Sprint Planner Helper – Session 16

I am now almost ready with the first user story of my own backlog. 1. As user I can create a product that describes the product and the product owner so that the purpose of the product is known. Each product has a product backlog that describes what is left to do. Each product backlog item requires at least an Number(1.2.1), description, initial priority. Other properties are story points (how big is this compared to other) and a document with additional business rules. The one thing that is left is to be able to create new backlog items. My GUI for editing a product right now looks like this: and as I said before I will not put to much effort into the design of the GUI, but I have noticed that the MVC-pattern opens up for GUI-design decisions to be change later on. I mean – there is a...
Read More

Mini-vacation at Hyppeln

As I wrote earlier I have been away from Stockholm for a few days. Me and Abbe (and my father in-law, of course) went on a mini vacation at (in?) Hyppeln in the Gothenburg archipelago. The weather was wonderful and we got some really nice days, with a sniff of summer-feeling…
Read More

ASP.NET MVC – Running transformation error

**[UPDATED] **This is solved. See this. I ran into this problem: I appeared when I added an Edit-view for an inline view-data class. That is; I have created a special class to hold the view data that the controller is acting upon, and that class is declared inside the controller. When the Add view-dialog (which I love by the way) of the ASP.NET MVC closes with OK – this dialog appears. I think that it’s a bug in the RC-release but I am not sure. I’ll send this to the ASP.NET MVC team and see what they have to say. I am not sure that I will have the view data class as part of the other class since that violates the Single Responsibility Principle (SRP) – but if I do I get this crash. The more reason for me to move it then! I’ll do that…
Read More

Sprint Planner Helper – Session 15

I don’t think I ever been doing system development in a nicer place – I am right now in Hyppeln in the Gothenburg archipelago. The weather is most wonderful and we have actually been sitting out for coffee and even managed to do some barbecue… OK – I am pressing on with the Edit controller action for the Product. Ran into a bug of the ASP.NET MVC framework I think. The first one I see – pretty good for a RC… I think that I have missed some part of the TDD-ing with that I haven’t been good at “testing my boundaries” (a Code Smell from Clean Code by Robert C. Martin). When I read it I didn’t fully understand it but as I am beginning to understand the TDD-ways I realized that for most cases that is to write tests for the NULL-values also. I guess that you could...
Read More

Vasakåren - new website

My corps (or church) has redone their website. Actually it’s me who has added all the content. The Salvation Army in Sweden is using some content management tool (called P3) that I not am too pleased about, but now it’s done. And I can put webmaster (or whatever it’s called nowadays) in my CV. At least for a while. Now go check out Vasakåren online
Read More

Sprint Planner Helper – Session 14

Ok – today I’ll start by making a factory for the product class. I have some issues with the factory patterns and here is my reasoning; another class is the creator and must hence have access to the NEW-method of the class to create. Since that forces at least protected-level on the constructor it means that I cannot be sure that the clients uses the factory and not the constructor. If I however place the factory method on the class I am creating – I can. But then I am violating the Single Responsibility Principle.  What to do, what to do… For now – in TDD/XP-fashion – I’ll do the simplest. A static Create-method on the class I am creating. I don’t have several different Products so it’s the same factory for all products, possible with overloads. Flame away – ye flamers… and give me some insight in how I...
Read More

Sync Issues – my contact are back

With a little help from Windows Sync Center and my own stupidity all my contacts (200+) disappeared without any possibility to undo. I actually answered Yes to the question “Are you sure” but I didn’t get the concept partnership… But what are friends for… My good friend Christer did some forensic work at my customer computer and managed to bring all the contacts back to life… Thank you Christer! I was at a loss without my contacts. Everyone was a new acquaintance.
Read More

Avega – top of the game!

Avega has the best consultants in Sweden! We of course knew that already but now its proved since the Avega team won the Swedish Championships in Business Value. More here. And here. The Avega team shattered the competition with 1365 points (about 1200 points ahead of the second place!!!). Great work guys! We are very proud of you. And I am humbled to be a part of the Avega-team. We rock! So – if you want to work with the best… You’ll know where to find us!
Read More