Develop a Blog - Part 2: TDD first Domain Models
In the previous article we made an initial design for a blog based on a list of requirements. Today we will start writing some PHP code. We will use the class diagram from previous article as a guide, but we will use Test Driven Development (TDD) to hash out the details of our design. The TDD approach will help us to make sure we keep our code easy to read, working and testable. This might lead to some different design decisions than we made in the previous article, but that is the beauty of programming. The code and our designs will keep evolving while we are writing our application.