1) if its a serious thing do the feasibilities and analysis first
2) plan the structure and algos where necessay (use charts)
3) start coding a documenting

of corse these apllies to a lrage scale application
[btw i've never completed these steps correctly in making mines ]