Designing your data
Before you write any code, work out what data the product holds and how the pieces fit together. Ten minutes with a pencil here saves hours of rewriting later, because the shape of the data decides the shape of the whole program. This page shows how to go from a client's problem to a set of tables ready to build, using the same student example as the database tutorial. The diagram you produce here is the kind that...