買這商品的人也買了...
-
$880$695 -
$450$383 -
$2,370$2,252 -
$520$442 -
$520$442 -
$980$833 -
$1,190$1,166 -
$520$442 -
$820$697 -
$620$484 -
$650$514 -
$690$621 -
$490$387 -
$750$675 -
$620$527 -
$390$257 -
$249$212 -
$580$493 -
$249$194 -
$790$624 -
$580$493 -
$620$409 -
$590$502 -
$220$187 -
$740The Well-Grounded Rubyist, 2/e (Paperback)
相關主題
商品描述
Your success—and sanity—are closer at hand when you work at a higher level of abstraction, allowing your attention to be on the business problem rather than the details of the programming platform. Domain Specific Languages -- “little languages” implemented on top of conventional programming languages -- give you a way to do this because they model the domain of your business problem.
DSLs in Action introduces the concepts and definitions a developer needs to build high-quality domain specific languages. It provides a solid foundation to the usage as well as implementation aspects of a DSL, focusing on the necessity of applications speaking the language of the domain. After reading this book, a programmer will be able to design APIs that make better domain models. For experienced developers, the book addresses the intricacies of domain language design without the pain of writing parsers by hand.
The book discusses DSL usage and implementations in the real world based on a suite of JVM languages like Java, Ruby, Scala, and Groovy. It contains code snippets that implement real world DSL designs and discusses the pros and cons of each implementation.
What’s Inside
Tested, real-world examples
How to find the right level of abstraction
Using language features to build internal DSLs
Designing parser/combinator-based little languages
商品描述(中文翻譯)
您的成功與理智在您以更高的抽象層次工作時會更近,這樣可以讓您將注意力集中在業務問題上,而不是編程平台的細節上。領域特定語言(Domain Specific Languages,簡稱 DSL)是建立在傳統編程語言之上的「小語言」,它們為您提供了一種方法來做到這一點,因為它們對您的業務問題進行建模。
《DSLs in Action》介紹了開發者構建高品質領域特定語言所需的概念和定義。它為 DSL 的使用和實現方面提供了堅實的基礎,重點在於應用程序必須使用領域的語言。在閱讀完這本書後,程序員將能夠設計出更好的領域模型 API。對於經驗豐富的開發者,本書探討了領域語言設計的複雜性,而無需手動編寫解析器的痛苦。
本書基於一系列 JVM 語言(如 Java、Ruby、Scala 和 Groovy)討論了 DSL 的使用和實現。它包含實現現實世界 DSL 設計的代碼片段,並討論每種實現的優缺點。
書中內容包括:
經過測試的現實世界範例
如何找到合適的抽象層次
使用語言特性來構建內部 DSL
設計基於解析器/組合器的小語言