Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

When carefully selected and used, Domain-Specific Languages (DSLs) may simplify complex code, promote effective communication with customers, improve productivity, and unclog development bottlenecks. In Domain-Specific Languages, noted software development expert Martin Fowler first provides the information software professionals need to decide if and when to utilize DSLs. Then, where DSLs prove suitable, Fowler presents effective techniques for building them, and guides software engineers in choosing the right approaches for their applications.


This book’s techniques may be utilized with most modern object-oriented languages; the author provides numerous examples in Java and C#, as well as selected examples in Ruby. Wherever possible, chapters are organized to be self-standing, and most reference topics are presented in a familiar patterns format.

Armed with this wide-ranging book, developers will have the knowledge they need to make important decisions about DSLs—and, where appropriate, gain the significant technical and business benefits they offer.

The topics covered include:

•      How DSLs compare to frameworks and libraries, and when those alternatives are sufficient

•      Using parsers and parser generators, and parsing external DSLs

•      Understanding, comparing, and choosing DSL language constructs

•      Determining whether to use code generation, and comparing code generation strategies

•      Previewing new language workbench tools for creating DSLs

Subscriber Reviews

Average Rating: 4.875 out of 5 rating Based on 8 Ratings

"Domain Specific Languages" - by prudhvi on 31-MAR-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
It is a book which clearly explained about internal and external DSL. And also ,it can be used by beginners as well as by the people who are in research.
Report as Inappropriate

"Domain specific languages" - by Nicolas on 11-MAR-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Good design, I love the idea of "duplex book", the first part is a narrative one which give a good overview and the second is a collection of patterns. It's also easy to read and understand for a non native english reader.
Report as Inappropriate

"Among the best resources on DSL" - by Tushar Goswami on 09-MAR-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
There aren't many books to learn from when you want to create Domain Specific Language.. additionally learning to create your 1st DSL can practically take you several bunch of days (if not few weeks of time). In such circumstances Martin's book is a life saver. This book is a good attempt to help programmers learn the *fundamentals* of DSL. But once you have fundamentals clear & want to get dirty (by using Workbench tools to practically create your first DSL), you may want to refer to Martin's blog. His blog comes  handy as it contains a few screenshot guided tutorials on building DSL from scratch using Jetbrains MPS (one of the Workbench tool used for creating DSLs).

Looking at his blog you will discover that Martin is recognized veteran of programming field (..like a bunch of programming tool development companies would send their new tools to Martin to gain his insightful feedback on their products). With such exposure up his sleeves, you get assured that the book imparts quite authoritative information on Domain Specific Languages. I came across this book from his blog

Leveraging a few humorous explanations to help readers make sense of the daunting field of DSL, this exhaustive book is split across these 6 parts. A quick tip to save time while reading the book could be to consume only the first 2 parts religiously, after which the remaining 4 parts of the book can be used as a reference

Report as Inappropriate

Table of Contents

 Index