Practical Scala DSLs: Real-World Applications Using Domain Specific Languages
暫譯: 實用 Scala DSL:使用領域特定語言的實際應用
Pierluigi Riti
- 出版商: Apress
- 出版日期: 2017-12-11
- 售價: $2,330
- 貴賓價: 9.5 折 $2,213
- 語言: 英文
- 頁數: 226
- 裝訂: Paperback
- ISBN: 1484230353
- ISBN-13: 9781484230350
-
相關分類:
Functional-programming
海外代購書籍(需單獨結帳)
相關主題
商品描述
Build domain specific languages (DSLs) using Java's most popular functional programming language: Scala. This book introduces the basics of Scala and DSLs using a series of practical examples. In Practical Scala DSLs, you’ll learn to create pragmatic and complete code examples that explain the actual use of DSLs with Scala: a web API and microservices; a custom language; a mobile app; a Forex system; a game; and cloud applications.
At the end of this unique book, you’ll be able to describe the differences between external and internal DSLs; understand when and how to apply DSLs; create DSLs using Scala; and even create a DSL using another programming language.
What You'll Learn
- Build DSLs in Scala
- Write a web API and microservices
- Create a custom language
- Apply DSLs to mobile apps development, a Forex trading system, game development, and more
- Discover the role of DSLs in cloud development
- Integrate DSLs as part of a DevOps program or structure
- Build internal and external DSLs
Who This Book Is For
Experienced Java coders with at least some prior experience with Scala. You may be new to DSLs.
建立特定領域語言(DSLs),使用 Java 最受歡迎的函數式程式語言:Scala。本書通過一系列實用範例介紹 Scala 和 DSLs 的基本概念。在《Practical Scala DSLs》中,您將學會創建務實且完整的程式碼範例,解釋使用 Scala 的 DSLs 的實際應用:一個網路 API 和微服務;一種自定義語言;一個行動應用程式;一個外匯系統;一個遊戲;以及雲端應用程式。
在這本獨特的書籍結尾,您將能夠描述外部 DSL 和內部 DSL 之間的差異;理解何時以及如何應用 DSL;使用 Scala 創建 DSL;甚至使用其他程式語言創建 DSL。
您將學到的內容:
- 在 Scala 中建立 DSL
- 撰寫網路 API 和微服務
- 創建自定義語言
- 將 DSL 應用於行動應用程式開發、外匯交易系統、遊戲開發等
- 探索 DSL 在雲端開發中的角色
- 將 DSL 整合為 DevOps 計畫或結構的一部分
- 建立內部和外部 DSL
本書適合對象:
有經驗的 Java 程式設計師,並且至少對 Scala 有一些先前的經驗。您可能對 DSL 還不熟悉。
