Database Patterns
摘要
Most web applications of any complexity handle persistence to a greater or lesser extent. Shops must manage their products and their customer records. Games must remember their players and the state of play. Social networking sites must keep track of your 238 friends and your unaccountable liking for boy bands of the 1980s and 1990s. Whatever the application, the chances are it’s keeping score behind the scenes. In this chapter, I look at some patterns that can help.