|
Sponsored Links
Resources
.NET Research Library
Get .NET related white papers, case studies and webcasts
|
News
News
News
|
Messages: 0
Messages: 0
Messages: 0
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
What not to model - a tale of DSLs
Microsoft infrastructure architect Jack Greenfield recently took a look at common drawbacks encountered in applying Domain-Specific Languages (DSLs). People are using DSLs to solve problems not suited to modeling, or they are using a single DSL to model too many diverse things. Greenfield’s article, Bare Naked Languages or What Not to Model, appears in the January issue of The Architecture Journal.
It seems on its face we may have returned to the very issue the DSL was meant to solve. How do we know which are the right cases in which to apply specific solutions or general solutions? The view of the best fit can vary from person to person.
Writes Greenfield: We see people using DSLs to solve problems that are not well suited to modeling, such as problems that can be solved more easily with other tools, or problems in poorly understood or rapidly-evolving domains, where reusable patterns and practices have not yet emerged or stabilized.
We also see people who are confused about what to model. This confusion is usually manifested by scoping problems. The two most common scoping problems are using a single DSL to capture information about too many different kinds of things, or to capture too many different kinds of information about the same thing, and factoring concepts poorly among multiple DSLs.
Greenfield, who previously served with Rational Software and who worked on Web objects at NeXT Computer, repeated the adage that tangling many different concerns in a single piece of code creates problems, and he noted that this notion applies to models as well as to code. Further, the gap between requirements and design, he indicated, must be spanned in different ways for different types of applications.
Are there best practices that can help you avoid these problems? That actually is the crux of Greenfield’s article, linked-to below.
http://www.architecturejournal.net/2006/issue9/F1_Bare
What do you think? A lot of ink and electrons have been used up on the topic of DSLs. How successful will DSLs be or not be? Do you have any tips or lessons learned?
For more on the topic of DSLs
Tech Talk: Jack Greenfield on software factories and DSLs 3/15/06
Himalia DSL targets interface builders 12/18/06
Why MS thinks MDA and UML are too general 3/28/06
Interview with “Domain-Driven Design” author Jimmy Nilsson 9/11/06
|
|
 |
| |
|
New content on TheServerSide.NETNew content on TheServerSide.NETNew content on TheServerSide.NET |
 |
 |
Language "mashups" will become more prominent, and developers will become polyglots, one programmer suggests.
SearchWinDevelopment.com offers an introduction to the language, performance, testing and data management improvements in VS 2008.
VBCode.com code snippets cover all aspects of application development, from data binding to security to the user interface.
Get up to date on XAML best practices with a variety of articles, tutorials and webcasts. [SearchWinDevelopment.com]
One team's experience with the VSTS DB edition suggests that it can improve workflow for dev teams. It also enhanced Agile efforts.
(June 24, Article)
Microsoft has begun to include DSL tools in the VSTS kit. A new book by Steve Cook and other VSTS team members helps set the stage.
(June 24, Article)
Cartoon: Be it ever so humble there is no place like your home after you get a Microsoft Home Server .
(June 18, Cartoon)
Microsoft's Thom Robbins says new technology to highlight in NET 3.5 includes AJAX, LINQ for both C# and VB, as well as tooling enhancements intended to ease the task of building WPF, WF and WCF apps.
(June 29, Podcast)
Venkat Subramaniam discusses AJAX bottlenecks, the tenets of Agile development and more. He spoke at the Ajax Experience.
(June 25, Tech Talk)
In the second of a two-part series, Michele Leroux Bustamente discusses design decisions related to the claims-based security model. Read the story and walk through the process for creating a set of claims-based utilities to encapsulate claims authorization at the service tier.
(May 24, Article)
Understanding why the Entity Framework exists and learning where it can fit into your projects can get you prepared for the eventual release early next year.
(May 10, Article)
Resource: This learning guide gives you quick access to useful links on Windows Communication Foundation security information.
(April 24, Article)
TSS.NET's Jack Vaughan spoke recently spoke with Microsoft's Brad Abrams to find out what he is seeing in the field and what the chefs in Redmond are cooking. Along the way he discusses patterns of AJAX frameworks.
(April 11, Article)
In a two-part series, Michele Leroux Bustamente explains how claims-based security is supported by WCF, and how you can implement a claims-based security model for your services.
(March 29, Article)
Windows Workflow Foundation is a new technology that many developers will need to get their heads around. In a brief excerpt adapted from Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#, K.Scott Allen considers aspects of workflow definition.
(March 22, Chapter Excerpt)
|
|