Sean McGrath suggests that you should implement first and design later:
A design phase, wedged between two implementation phases, makes sense if you are doing rapid prototyping.