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

Insight during implementation


The concept of patterns is well established across object-oriented languages as well as other types. Many books have been written on it, and many discussions have been had that deal with encoding the knowledge of many developers in patterns to be used in enterprise, as well as other kinds of software. In the end, it comes down to using the right pattern at the right point during development, which is not only true for domain patterns but other software patterns as well.

In his book Patterns of Enterprise Application Architecture, Martin Fowler not only discusses the available options to deal with communication to a database by means of a DataMapper plugin plus domain layer, Transaction Scripts, Active Record, and so on, but also discusses when to use them. As with most things, the conclusion in the end is so that all choices have good and bad sides to them.

When working on software, there are multiple insights to gain as we move forward. A very valuable insight...