The Definitive Guide to Grails 2 (Paperback)

Jeff Scott Brown, Graeme Rocher

  • 出版商: Apress
  • 出版日期: 2012-12-21
  • 售價: $1,870
  • 貴賓價: 9.5$1,777
  • 語言: 英文
  • 頁數: 360
  • 裝訂: Paperback
  • ISBN: 1430243775
  • ISBN-13: 9781430243779
  • 相關分類: Ruby
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Grails is a full stack framework which aims to greatly simplify the task of building serious web applications for the JVM. The concepts within Grails, like interceptors, tag libs, and Groovy Server Pages (GSP), make those in the Java community feel right at home.

Grails’ foundation is on solid open source technologies such as Spring, Hibernate, and SiteMesh, which gives it even more potential in the Java space: Spring provides powerful inversion of control and MVC, Hibernate brings a stable, mature object relational mapping technology with the ability to integrate with legacy systems, and SiteMesh handles flexible layout control and page decoration.

Grails complements these with additional features that take advantage of the coding–by–convention paradigm such as dynamic tag libraries, Grails object relational mapping, Groovy Server Pages, and scaffolding.

Graeme Rocher, Grails lead and founder, and Jeff Brown bring you completely up–to–date with their authoritative and fully comprehensive guide to the Grails 2 framework. You’ll get to know all the core features, services, and Grails extensions via plug–ins, and understand the roles that Groovy and Grails are playing in the changing Web.

What you’ll learn

  • Discover how the Web is changing and the role the Groovy language and its Grails framework play
  • Get to know the Grails Project and its domains, services, filters, controllers, views, testing, and plug–ins
  • Experience the availability of plug–ins for Rich Client and Ajax, web services, performance/utilities, scheduling, security, functionality, and even Persistence
  • See how Grails works with other frameworks like Spring, Wicket, Hibernate, and more
  • Create custom plug–ins in Grails

Who this book is for

This book is for everyone who is looking for a more agile approach to web development with a dynamic scripting language such as Groovy. This includes a large number of Java developers who have been enticed by the productivity gains seen with frameworks such as Ruby on Rails, JRuby on Rails, etc. The Web and its environment is a perfect fit for easily adaptable and concise languages such as Groovy and Ruby, and there is huge interest from the developer community in general to embrace these languages.

Table of Contents

  1. The Essence of Grails
  2. Getting Started with Grails 2
  3. Understanding Domain Classes
  4. Understanding Controllers
  5. Understanding Views
  6. Mapping URLs
  7. Internationalization
  8. Ajax
  9. GORM
  10. Services
  11. Dependency Management
  12. Plugins

商品描述(中文翻譯)

Grails是一個全棧框架,旨在大大簡化在JVM上構建嚴肅Web應用程序的任務。Grails中的概念,如攔截器、標籤庫和Groovy Server Pages(GSP),使Java社區的開發者感到非常熟悉。

Grails的基礎建立在堅實的開源技術上,如Spring、Hibernate和SiteMesh,這使它在Java領域具有更大的潛力:Spring提供了強大的控制反轉和MVC,Hibernate帶來了穩定、成熟的對象關係映射技術,能夠與遺留系統集成,而SiteMesh則處理靈活的佈局控制和頁面裝飾。

Grails通過額外的功能來補充這些特點,這些功能利用了按照約定編碼的範式,如動態標籤庫、Grails對象關係映射、Groovy Server Pages和腳手架。

Grails的領導者和創始人Graeme Rocher以及Jeff Brown通過他們權威且全面的Grails 2框架指南,將您完全帶入最新的情況。您將了解所有核心功能、服務和通過插件擴展的Grails擴展,並了解Groovy和Grails在不斷變化的Web中所扮演的角色。

您將學到什麼:
- 了解Web的變化以及Groovy語言及其Grails框架的角色
- 瞭解Grails項目及其領域、服務、過濾器、控制器、視圖、測試和插件
- 了解豐富客戶端和Ajax、Web服務、性能/實用工具、調度、安全性、功能甚至持久性的插件的可用性
- 看看Grails如何與其他框架(如Spring、Wicket、Hibernate等)配合使用
- 在Grails中創建自定義插件

這本書適合尋求以動態腳本語言(如Groovy)進行Web開發的敏捷方法的所有人,包括許多Java開發者,他們被Ruby on Rails、JRuby on Rails等框架帶來的生產力提升所吸引。Web及其環境非常適合適應性強、簡潔的語言,如Groovy和Ruby,開發者社區普遍對這些語言表示濃厚興趣。

目錄:
1. Grails的本質
2. 開始使用Grails 2
3. 瞭解領域類
4. 瞭解控制器
5. 瞭解視圖
6. 映射URL
7. 國際化
8. Ajax
9. GORM
10. 服務
11. 依賴管理
12. 插件