In this episode I finally ready up the demo, setting up my CatalogController to work with my test repository, and using the DRY principle with Helpers so I don't repeat view logic.
Previously, On The MVC Storefront
- Part 1: Architectural Discussion and Overview. I cover the initial architecture here, in part 1, where I discuss the Repository Pattern with Ayende Rahien and Steve Harman. I also ask Phil Haack what's first: The Test Chicken or the Model Egg.
- Part 2: The Repository Pattern. I walk through our Repository implementation and write out the first main set of unit tests. I also structure up the initial service layer methods and interfaces.
- Part 3: Pipes and Filters: I discuss the feedback from Parts 1 and 2, and then dive into the Pipes and Filters implementation on the IQueryable repository.
- Part 4: Linq To Sql Spike. I create a "spike" - a bit of functionality to test a thought or inspiration - to make sure that Linq To Sql will work for my data access pattern.
- Part 5: Globalization. I work with Damien Guard to refactor the database to deal with test data and globalization issues.
- Part 6: Finishing The Repository, and Initial UI Work. I talk with Jon Galloway about CSS strategies and begin working in the Front end of the application
- Part 7: Routing and UI Work. I talk with Scott Hanselman about how to setup Routing, and then I implement the user interface.
It's All Code Baby
Many people have asked for more code - and you got it. There's 30 minutes of nothing but TDD, Code, and MVC UI stuff here. It's almost completely work within the website, and some refactoring along the way.
Download Part 8 Here (30 minutes, 56M).
What did you think of the demo? What do you want to see next? Your feedback is critical...