The Definitive Guide to Grails 2 (Paperback)
暫譯: Grails 2 完全指南 (平裝本)

Jeff Scott Brown, Graeme Rocher

  • 出版商: Apress
  • 出版日期: 2012-12-21
  • 售價: $1,900
  • 貴賓價: 9.5$1,805
  • 語言: 英文
  • 頁數: 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 建立嚴肅網頁應用程式的任務。Grails 中的概念,如攔截器、標籤庫和 Groovy Server Pages (GSP),讓 Java 社群的開發者感到如魚得水。

Grails 的基礎建立在穩固的開源技術上,如 Spring、Hibernate 和 SiteMesh,這使其在 Java 領域中擁有更大的潛力:Spring 提供強大的控制反轉和 MVC,Hibernate 則帶來穩定、成熟的物件關聯映射技術,並能與舊有系統整合,而 SiteMesh 處理靈活的佈局控制和頁面裝飾。

Grails 還補充了其他功能,利用約定優於配置的編碼範式,如動態標籤庫、Grails 物件關聯映射、Groovy Server Pages 和腳手架。

Graeme Rocher,Grails 的首席和創始人,以及 Jeff Brown,將透過他們權威且全面的 Grails 2 框架指南,讓你完全了解最新的資訊。你將了解所有核心功能、服務和透過插件擴展的 Grails,並理解 Groovy 和 Grails 在不斷變化的網路中所扮演的角色。

你將學到什麼



  • 發現網路如何變化,以及 Groovy 語言和其 Grails 框架所扮演的角色

  • 了解 Grails 專案及其領域、服務、過濾器、控制器、視圖、測試和插件

  • 體驗針對 Rich Client 和 Ajax、網路服務、性能/工具、排程、安全性、功能,甚至持久性等的插件可用性

  • 了解 Grails 如何與其他框架如 Spring、Wicket、Hibernate 等協同工作

  • 在 Grails 中創建自定義插件

本書適合誰


本書適合所有尋求更靈活的網頁開發方法,並使用動態腳本語言如 Groovy 的人。這包括大量被 Ruby on Rails、JRuby on Rails 等框架所吸引的 Java 開發者。網路及其環境非常適合易於適應且簡潔的語言,如 Groovy 和 Ruby,開發者社群對於採用這些語言的興趣也非常高。

目錄



  1. Grails 的本質

  2. 開始使用 Grails 2

  3. 理解領域類別

  4. 理解控制器

  5. 理解視圖

  6. 映射 URL

  7. 國際化

  8. Ajax

  9. GORM

  10. 服務

  11. 依賴管理

  12. 插件