Chapter 2. The model in depth

 

This chapter covers

  • Guidance for designing the model
  • Exploring a real-world domain model
  • Using a presentation
  • Tips for working with model objects

Without a model, software is not interesting. A model in the English language is just like a model in software: a representation of the real thing. In software, we represent the real world by using objects that are named after concepts we deal with every day. These objects have attributes and behaviors similar to those found in the real world. In this chapter, we’ll explore a model for a system that helps to manage a small conference, like a Code Camp. The model enables the application to provide an interesting service. Without the model, the application provides no value. We place great importance on creating a rich model with which our controllers can work.

2.1. Understanding the basics of domain-driven design

2.2. Domain model for this book

2.3. Presentation model

2.4. Working with the model

2.5. Summary