Tuesday 3 February 2009

Comp update

The biggest problem I have been having with the competition code is how to handle prizes and their relationship with competitions. Do the admin users create the prizes as they create the competition? Do they create prizes in a completely separate prize and then add it to the competition? So much choice!

I guess the lesson learned here was the value of a pencil and piece of paper. I drew out roughly what I was after and whilst the answer didn't come to me straight away it was much easier to visualise. So I've decided to let the admin user create the comp and then on completion of that process add the prizes in the next step. I think this will work so now its time to think about the views. At last progress is being made...

No comments: