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

Identifying the hard problem


Over the last sections, we started to gain a solid understanding of the interactions in the system. Now it is time to leverage this understanding and move on to implementing our software solution. So, what should we start with when developing the software?

Often when a project is started, we like to start with the easy part, maybe create a project from a template—for example, running a framework code generator, such as Node.js Express, in a new folder to set us up with the scaffold structure for our project. At first, this seems like a really good option as it creates a lot of the boilerplate code we would have to write to create an Express project otherwise. But, does it move use closer to solving a business problem? We now have a code base to explore but, as it is auto-generated, we don't have any domain-specific code obviously. On the other hand, we have locked ourselves in a fixed structure. For some projects, this is a good thing; it means that there are...