Programming Groovy 2: Dynamic Productivity for the Java Developer, 2/e (Paperback)
暫譯: Groovy 2 程式設計:為 Java 開發者提供動態生產力,第二版 (平裝本)

Venkat Subramaniam

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

商品描述

Groovy brings you the best of both worlds: a flexible, highly productive, agile, dynamic language that runs on the rich framework of the Java Platform. Groovy preserves the Java semantics and extends the JDK to give you true dynamic language capabilities. Programming Groovy 2 will help you, the experienced Java developer, learn and take advantage of the latest version of this rich dynamic language. You'll go from the basics of Groovy to the latest advances in the language, including options for type checking, tail-call and memoization optimizations, compile time metaprogramming, and fluent interfaces to create DSLs.

You don't have to leave the rich Java Platform to take advantage of Groovy. Groovy preserves Java's semantics and extends the JDK, so programming in Groovy feels like the Java language has been augmented; it's like working with a lighter, more elegant Java. If you're an experienced Java developer who wants to learn how Groovy works, you'll find exactly what you need in this book.

You'll start with the fundamentals of programming in Groovy and how it works with Java, and then you'll explore advanced concepts such as unit testing with mock objects, using Builders, working with databases and XML, and creating DSLs. You'll master Groovy's powerful yet complex run-time and compile-time metaprogramming features.

Much has evolved in the Groovy language since the publication of the first edition of Programming Groovy. Programming Groovy 2 will help you learn and apply Groovy's new features. Creating DSLs is easier now, and Groovy's already-powerful metaprogramming facilities have improved even more. You'll see how to work with closures, including tail call optimization and memoization. The book also covers Groovy's new static compilation feature.

Whether you're learning the basics of the language or interested in getting proficient with the new features, Programming Groovy 2 has you covered.

What You Need

To work on the examples in the book you need Groovy 2.0.5 and Java JDK 5 or higher.

商品描述(中文翻譯)

Groovy 結合了兩者的最佳特性:一種靈活、高度生產力、敏捷且動態的語言,運行在 Java 平台的豐富框架上。Groovy 保留了 Java 的語義並擴展了 JDK,讓你擁有真正的動態語言能力。《Programming Groovy 2》將幫助你這位經驗豐富的 Java 開發者學習並利用這種豐富的動態語言的最新版本。你將從 Groovy 的基礎知識開始,學習語言的最新進展,包括類型檢查的選項、尾調用和記憶化優化、編譯時的元編程,以及創建 DSL 的流暢介面。

你不必離開豐富的 Java 平台就能利用 Groovy。Groovy 保留了 Java 的語義並擴展了 JDK,因此在 Groovy 中編程的感覺就像是 Java 語言得到了增強;這就像是在使用一種更輕便、更優雅的 Java。如果你是一位希望了解 Groovy 工作原理的經驗豐富的 Java 開發者,你會在這本書中找到你所需的內容。

你將從 Groovy 編程的基本原理及其如何與 Java 協作開始,然後探索進階概念,例如使用模擬物件進行單元測試、使用 Builders、處理資料庫和 XML,以及創建 DSL。你將掌握 Groovy 強大但複雜的運行時和編譯時元編程特性。

自從《Programming Groovy》第一版出版以來,Groovy 語言已經發展了許多。《Programming Groovy 2》將幫助你學習和應用 Groovy 的新特性。創建 DSL 現在變得更容易,而 Groovy 已經強大的元編程功能也進一步改善。你將學會如何使用閉包,包括尾調用優化和記憶化。這本書還涵蓋了 Groovy 的新靜態編譯特性。

無論你是學習語言的基礎知識,還是對掌握新特性感興趣,《Programming Groovy 2》都能滿足你的需求。

你需要的條件

要在書中進行示例操作,你需要 Groovy 2.0.5 和 Java JDK 5 或更高版本。

最後瀏覽商品 (20)