Exposing a rich domain model
I’m currently in the process of tying my domain model to user interfaces, but I still need to figure out what those should look and feel like. What I do know is that a fully fledged Model View Controller would be over the top so I’ll be implementing a Mediator pattern in order to loosely couple my objects. I’m currently investigating using the Façade pattern to expose functionality encapsulated in my rich domain model to user interface packages. In the past I’ve used the Façade pattern to get rid of fine grained structures cross application domain (using remoting and such) so for some reason this doesn’t feel like the correct solution… ?service layer?, but I need to factor some behavior in which isn’t exactly what you’d expect from a thin service layer.