Book Image

JavaScript Domain-Driven Design

Book Image

JavaScript Domain-Driven Design

Overview of this book

Table of Contents (15 chapters)
JavaScript Domain-Driven Design
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The different ways to manage contexts


So far, the main purpose of the context in our application has been to separate different modules and make the complexity of the whole application more manageable by abstracting out APIs. The other important benefits of separate contexts are the fact that we can start to explore different ways of managing application development in those decoupled parts.

The way applications are developed evolves as the industry around software evolves at a rapid pace. Development principles that were state of the art just a couple years ago are being frowned upon now and developers want to move to new ways of making them more productive while promising bug-free, easier to manage applications. Of course, switching out the development principles is not free, and more often than not new ways don't necessarily match the way complete organizations can, or want, to work. By separating out the contexts of the application, we can start exploring those new ways alongside the...