Putting it all together
There is no architecture which fits every problem and no architecture is perfect. Architectural decisions always involve tradeoffs and one has to decide and choose one over the other. For example, the tradeoff could be between performance and security or performance and usability etc. An architect has to carefully weigh multiple options and choose the right solution which resolves the problem at hand.
The next section describes a sample usecase and explains how an architect would go about building a solution, by using the various concepts which are covered in this book. The concepts which are covered in this book are represented in bold. I will not attempt to provide a solution, but emphasize on the thought process which is used to derive a solution.