Influences to keep close

Object-orientation is not the only influence on application development we have seen throughout the book. Many different techniques can be useful to model domain concepts and influence how applications are developed. JavaScript itself is a very flexible language and can be used, and sometimes to abused, to do very interesting things.

Depending on the situation, different ideas can be good to keep at hand when modeling certain aspects or solving certain problems as they occur when building the model.

Aspect-oriented programming

At its core, most ideas of software development revolve around how it is possible to encapsulate logic and state it so it is easily accessible and has a common interface that is understandable as well ...

Get JavaScript Domain-Driven Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.