Domain-Specific Languages (Hardcover)

Martin Fowler

  • 出版商: Addison Wesley
  • 出版日期: 2010-09-23
  • 售價: $2,100
  • 貴賓價: 9.5$1,995
  • 語言: 英文
  • 頁數: 640
  • 裝訂: Hardcover
  • ISBN: 0321712943
  • ISBN-13: 9780321712943
  • 相關分類: C#Java 程式語言
  • 相關翻譯: 領域特定語言 (簡中版)
  • 立即出貨

買這商品的人也買了...

商品描述

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

商品描述(中文翻譯)

當精心選擇和使用時,特定領域語言(Domain-Specific Languages,DSLs)可以簡化複雜的程式碼,促進與客戶的有效溝通,提高生產力,並消除開發瓶頸。在《特定領域語言》一書中,著名軟體開發專家Martin Fowler首先提供了軟體專業人員在決定何時使用DSLs時所需的資訊。然後,在適合使用DSLs的情況下,Fowler介紹了建立DSLs的有效技巧,並指導軟體工程師選擇適合其應用程式的方法。

本書的技巧可應用於大多數現代物件導向語言;作者提供了許多Java和C#的範例,以及選定的Ruby範例。在可能的情況下,章節被組織成獨立的單元,大部分參考主題以熟悉的模式格式呈現。

憑藉這本涵蓋廣泛的書籍,開發人員將獲得他們在DSLs方面做出重要決策所需的知識,並在適當的情況下獲得它們所提供的重要技術和商業利益。

本書涵蓋的主題包括:
- DSLs與框架和函式庫的比較,以及何時選擇這些替代方案
- 使用解析器和解析器生成器,以及解析外部DSLs
- 理解、比較和選擇DSL語言結構
- 確定是否使用程式碼生成,並比較程式碼生成策略
- 預覽用於創建DSLs的新語言工作台工具