Groovy Recipes: Greasing the Wheels of Java (Paperback) (Groovy 食譜:潤滑 Java 的輪子)
Scott Davis
- 出版商: Pragmatic Bookshelf
- 出版日期: 2008-03-11
- 售價: $1,225
- 貴賓價: 9.5 折 $1,164
- 語言: 英文
- 頁數: 250
- 裝訂: Paperback
- ISBN: 0978739299
- ISBN-13: 9780978739294
-
相關分類:
JVM 語言、Java 程式語言
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$500$450 -
$2,010$1,910 -
$280$266 -
$1,400$1,330 -
$1,870$1,777 -
$550$435 -
$350$298 -
$1,280RFID+: CompTIA RFID+ Study Guide and Practice Exam (RF0-001)
-
$290$226 -
$1,560$1,482 -
$580$493 -
$1,560$1,482 -
$380$300 -
$650$553 -
$545Presentation Zen: Simple Ideas on Presentation Design and Delivery
-
$1,180$1,003 -
$680$537 -
$300$285 -
$620$490 -
$520$411 -
$620$490 -
$950$741 -
$750$638 -
$399Hadoop: The Definitive Guide, 2/e (Paperback)
-
$580$493
相關主題
商品描述
Description
Groovy and Grails give you the power of the Java platform together with the flexibility and dynamism of a scripting language. Pick one of the many example projects in this book: at first you'll scratch your head and ask, "where's all the code?" Then you'll smile as you realize that Groovy allows you to write code the way you always thought you should. You will never look at Java the same way again.Groovy Recipes is targeted at the busy Java professional who needs quick solutions to everyday problems. Each recipe shows a concise code example right away. If you need more information, each recipe is explained in plain English.
Nearly every aspect of the development process can be sped up using Groovy. Groovy makes mundane file management tasks like copying and renaming files trivial. Reading and writing XML has never been easier with XmlParsers and XmlBuilders. JDBC gets a fresh makeover. Breathe new life into Arrays, Maps, and Lists with a number of convenience methods. Even Ant gets turbo-charged. You can mix Groovy right into your build.xml, or replace it completely with code from an AntBuilder.
As an added bonus, this book also covers Grails. You'll be amazed at how quickly you can have a first-class web application up and running from ground zero. Grails includes everything you need in a single zip file, a web server (Jetty), a database (HSQLDB), Spring, Hibernate, Sitemesh, even Ant. If you're looking for Ajax support, Grails ships with leading libraries like Prototype, script.aculo.us, Yahoo UI, and Dojo. We cover everything from getting a basic application up and running to advanced features such as deploying to other webservers and databases, adding a Captcha, integrating with legacy EJB applications, and even adding a Google Map.
商品描述(中文翻譯)
描述
Groovy和Grails結合了Java平台的強大功能和腳本語言的靈活性和動態性。在這本書中,您可以選擇其中一個示例項目:一開始您可能會疑惑,'代碼在哪裡?'然後您會微笑,因為您會意識到Groovy允許您以您一直以為應該的方式編寫代碼。您再也不會以相同的方式看待Java了。
《Groovy Recipes》針對忙碌的Java專業人士,提供快速解決日常問題的解決方案。每個示例都立即展示了簡潔的代碼示例。如果您需要更多信息,每個示例都以簡單易懂的英語進行解釋。
使用Groovy可以加快開發過程的幾乎每個方面。Groovy使得像複製和重命名文件這樣的乏味文件管理任務變得簡單。使用XmlParsers和XmlBuilders讀寫XML變得更加容易。JDBC獲得了全新的改造。通過一些便利方法,為數組、映射和列表注入新的生命力。甚至Ant也得到了加速。您可以將Groovy直接混入您的build.xml中,或者完全用AntBuilder中的代碼替換它。
作為額外的獎勵,本書還涵蓋了Grails。您會驚訝地發現,從零開始,您可以迅速擁有一個一流的Web應用程序。Grails包含在一個單一的zip文件中,其中包括Web服務器(Jetty)、數據庫(HSQLDB)、Spring、Hibernate、Sitemesh,甚至Ant。如果您需要Ajax支持,Grails附帶了領先的庫,如Prototype、script.aculo.us、Yahoo UI和Dojo。我們涵蓋了從啟動基本應用程序到高級功能的所有內容,例如部署到其他Web服務器和數據庫,添加Captcha,與遺留的EJB應用程序集成,甚至添加Google地圖。