O'Reilly logo

JavaScript Domain-Driven Design by Philipp Fehre

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Domain-specific languages

Using specific keywords to describe parts of the domain is one of the main goals we set out to achieve in building a system using domain-driven design. Especially the LISP community, which has been an influence on JavaScript (http://readwrite.com/2011/07/22/javascript-was-no-accident), there is a strong tendency to meld the language to the problem. This naturally leads to further trying to make the language fit the domain, with the ultimate goal of having a language that is perfect for solving the specific problem the domain has.

This kind of development is referred to as using Domain-specific Languages, or DSL for short. In day-to-day work, there are lots of very DSLs we come across, be it CSS to describe the style of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required