Groovy Programming: An Introduction for Java Developers (Paperback)
Kenneth Barclay, John Savage
- 出版商: Morgan Kaufmann
- 出版日期: 2006-12-01
- 定價: $1,650
- 售價: 8.0 折 $1,320 (限時優惠至 2024-12-31)
- 語言: 英文
- 頁數: 496
- 裝訂: Paperback
- ISBN: 0123725070
- ISBN-13: 9780123725073
-
相關分類:
JVM 語言、Java 程式語言
立即出貨(限量) (庫存=1)
買這商品的人也買了...
-
$480$379 -
$880$695 -
$420$357 -
$750$675 -
$1,870$1,777 -
$1,590$1,511 -
$480$432 -
$650$585 -
$990$891 -
$650$553 -
$560$442 -
$620$490 -
$700$553 -
$690$587 -
$1,560$1,482 -
$750$593 -
$580$458 -
$450$356 -
$520$411 -
$650$553 -
$750$593 -
$680$537 -
$580$493 -
$890$703 -
$260$234
相關主題
商品描述
Description
Groovy Programming is an introduction to the Java-based scripting language Groovy. Groovy has much in common with popular scripting languages such as Perl, Python, and Ruby, but is written in a Java-like syntax. And, unlike these other languages, Groovy is sanctioned by the Java community for use on the Java platform. Since it is based on Java, applications written in Groovy can make full use of the Java Application Programmer Interfaces (APIs). This means Groovy can integrate seamlessly with applications written in Java, while avoiding the complexities of the full Java language. This bare-bones structure also means Groovy can be used as an introduction to Java and to programming in general. Its simpler constructions and modern origins make it ideal as a first language and for introducing principles such as object-oriented programming.
This book introduces all the major aspects of Groovy development and emphasizes Groovy's potential as a learning tool. Case studies and exercises are included, along with numerous programming examples. The book begins assuming only a general familiarity with Java programming, and progresses to discuss advanced topics such as GUI builders, Groovlets, Unit Testing, and Groovy SQL.
Table of Contents
Preface; Chapter 1: Groovy; Chapter 2: Numbers and Expressions; Chapter 3: Strings and Regular Expressions; Chapter 4: Lists, Maps and Ranges; Chapter 5: Simple Input and Output; Chapter 6: Case Study: A Library Application (Modelling); Chapter 7: Methods; Chapter 8: Flow of Control; Chapter 9: Closures; Chapter 10: Files; Chapter 11: Case Study: A Library Application (Methods); Chapter 12: Classes; Chapter 13: Case Study: A Library Application (Objects); Chapter 14: Specialization; Chapter 15: Unit Testing (JUnit); Chapter 16: Case Study: A Library Application (Specialization); Chapter 17: Persistence; Chapter 18: Case Study: A Library Application (Persistence); Chapter 19: XML Builders and Parsers; Chapter 20: GUI Builders; Chapter 21: Template Engines; Chapter 22: Case Study: A Library Application (GUI); Chapter 23: Server Side Programming; Chapter 24: Case Study: A Library Application (Web); Chapter 25: Epilogue; Bibliography; Appendix A: Software Distribution; Appendix B: Groovy; Appendix C: More on Numbers and Expressions; Appendix D: More on Strings and Regular Expressions; Appendix E: More on Lists, Maps and Ranges; Appendix F: More on Simple Input and Output; Appendix G: More on Methods; Appendix H: More on Closures; Appendix I: More on Classes; Appendix J: Advanced Closures; Appendix K: More on Builders; Appendix L: More on GUI Builders; Index
商品描述(中文翻譯)
描述
《Groovy程式設計》是一本介紹基於Java的腳本語言Groovy的入門書籍。Groovy與Perl、Python和Ruby等流行的腳本語言有很多共同之處,但它的語法類似於Java。與其他語言不同的是,Groovy獲得了Java社區的認可,可以在Java平台上使用。由於它基於Java,使用Groovy編寫的應用程序可以充分利用Java應用程序編程接口(API)。這意味著Groovy可以與使用Java編寫的應用程序無縫集成,同時避免了完整的Java語言的複雜性。這種簡潔的結構也意味著Groovy可以作為介紹Java和編程的入門語言。它簡單的構造和現代化的起源使其成為一種理想的第一語言,並且適合介紹面向對象編程等原則。本書介紹了Groovy開發的所有主要方面,並強調Groovy作為學習工具的潛力。書中包含案例研究和練習,以及大量的編程示例。本書從假設讀者只對Java編程有一般的熟悉開始,並進一步討論高級主題,如GUI構建器、Groovlets、單元測試和Groovy SQL。
目錄
前言;第1章:Groovy;第2章:數字和表達式;第3章:字符串和正則表達式;第4章:列表、映射和範圍;第5章:簡單的輸入和輸出;第6章:案例研究:圖書館應用程序(建模);第7章:方法;第8章:控制流程;第9章:閉包;第10章:文件;第11章:案例研究:圖書館應用程序(方法);第12章:類;第13章:案例研究:圖書館應用程序(對象);第14章:特殊化;第15章:單元測試(JUnit);第16章:案例研究:圖書館應用程序(特殊化);第17章:持久化;第18章:案例研究:圖書館應用程序(持久化);第19章:XML構建器和解析器;第20章:GUI構建器;第21章:模板引擎;第22章:案例研究:圖書館應用程序(GUI);第23章:服務器端編程;第24章:案例研究:圖書館應用程序(Web);第25章:結語;參考文獻;附錄A:軟件分發;附錄B:Groovy;附錄C:更多關於數字和表達式;附錄D:更多關於字符串和正則表達式;附錄E:更多關於列表、映射和範圍;附錄F:更多關於簡單的輸入和輸出;附錄G:更多關於方法;附錄H:更多關於閉包;附錄I:更多關於類;附錄J:高級閉包;附錄K:更多關於構建器;附錄L:更多關於GUI構建器;索引