Advanced Web Application Architecture
About the Book
My last book, "Object Design Style Guide", ends with a field guide to objects. The field guide sketches a picture of controllers, application services, entities, values objects, repositories, and domain events, and how all these objects work together in a layered architecture.
In this book, "Advanced Web Application Architecture", I explain how these objects are the result of a quest to decouple core application logic from infrastructural concerns. The first part of the book describes in detail the refactoring strategies you can use to decouple your code from the web, the database, and the service container. The second part continues to show how the resulting objects (reusable use cases, unit testable domain models, and delivery mechanism-specific services) find their place in a layered architecture. An additional dimension gets added to this picture by discussing hexagonal architecture. We also touch on the concept of a bounded context and how it can help divide your application into manageable parts. In the last part we discuss testing, and find out how a layered, hexagonal architecture gives you a wide variety of more efficient and more effective testing options, way beyond functional tests.
Part 1: Decoupling from infrastructure
Chapter 1: Introduction
Chapter 2: The domain model
Chapter 3: Read models
Chapter 4: Use cases
Chapter 5: Service Locators
Chapter 6: External services
Chapter 7: Time and randomness
Chapter 8: Conclusion
Part 2: Organizing principles
Chapter 9: Introduction
Chapter 10: Key design patterns
Chapter 11: Architectural layers
Chapter 12: Hexagonal architecture
Chapter 13: Contexts
Part 3: Testing
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.