Presentation: Domain Expert DSLs

by Abel Avram on Mar 19, 2009 | NOTICE: The next QCon is in London, March 6-10, 2017. Join us!

In this presentation recoded during QCon London 2008, Magnus Christerson discusses about the importance of using DSLs which allow business experts to freely express their knowledge about their domain using familiar tools. Henk Kolk presents a concrete example addressing pension fund issues and based on a DSL.

Watch: Domain Expert DSLs (1h)

In the first part of the session Christerson talks about Intentional Software Development emphasizing the need for domain experts to be able to freely express their knowledge of the domain and intentions for the product to be created by using the tools they are accustomed with. The domain experts are practically using a DSL to write the specifications. Since such specifications are not directly executable by a computer, the programmer’s job is to create a code generator translating the specs into code (Java, C#, Ruby, etc.). The result is a clear separation of concerns between business experts and programmers. The former are responsible for clearly and correctly expressing the business rules of the domain, while the later are concerned only with the automatic translation of the document written in the specified DSL into code. They work together on the language workbench which Martin Fowler defined as follows:

1. Users can freely define new domains, including languages, that are fully integrated with each other.
2. The primary source of information is a persistent abstract representation.
3. Domain designers define domains in three main parts: schemas, editors, and generators.
4. Domain users manipulate a domain through a projectional editor.
5. A domain workbench can work with incomplete and contradictory information.

In the second part of the session Kolk talks about a concrete Capgemini project that uses a DSL to create a solution for pension funds. Their program accepts business rules that pension domain experts are used with and converts them into Java or C# code.

The session concludes with Christerson and Kolk answering questions.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

General Feedback
Marketing and all content copyright © 2006-2016 C4Media Inc. hosted at Contegix, the best ISP we've ever worked with.
Privacy policy

We notice you're using an ad blocker

We understand why you use ad blockers. However to keep InfoQ free we need your support. InfoQ will not provide your data to third parties without individual opt-in consent. We only work with advertisers relevant to our readers. Please consider whitelisting us.