Creating an application from zero to done: Day 4
Today I had to do a lot other stuff than on this project. I actually did some of my normal work for a change, went to school to attend to a lecture and went to see some stand-up in the evening. I could only squeeze in work on this project between 12:00-15:00 and 22:00-02:00. It wasn’t really enough. I finished some basic views for all three main objects (players, tracks, rounds) but then I noticed a showstopper bug in my software regarding db4o. To add a new round, I create a round object, fetch the players and a track and set these to the round, fill in all the scores and tell db4o to store the round. Every time I stored a round, db4o also stored a new copy out of the players and round into the database. I ended up pretty fast with hundreds of copies of the same objects, which pretty much made the whole software useless. I have now spent a couple of hours trying to figure it out, but in vain. The view pages are somewhat limited, and I still have my home screen completely undone and it can’t really be done before the db4o problem is solved. I guess I can squeeze an extra hour to this before the deadline 12:00 tomorrow, but it’s 2am now and I want some sleep!