Book description
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
- Title
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Chapter 1: The Essence of Grails
- Chapter 2: Getting Started with Grails
- Chapter 3: Understanding Domain Classes
- Chapter 4: Understanding Controllers
- Chapter 5: Understanding Views
-
Chapter 6: Mapping URLs
- Understanding the Default URL Mapping
- Including Static Text in a URL Mapping
- Removing the Controller and Action Names from the URL
- Embedding Parameters in a Mapping
- Specifying Additional Parameters
- Mapping to a View
- Applying Constraints to URL Mappings
- Mapping to HTTP Request Methods
- Mapping HTTP Response Codes
- Taking Advantage of Reverse URL Mapping
- Named URL Mappings
- Defining Multiple URL Mappings Classes
- Testing URL Mappings
- Summary
- Chapter 7: Internationalization
- Chapter 8: Ajax
- Chapter 9: GORM
- Chapter 10: Services
- Chapter 11: Integration and Dependency Management
- Chapter 12: Plug-ins
- Index
Product information
- Title: The Definitive Guide to Grails 2
- Author(s):
- Release date: January 2013
- Publisher(s): Apress
- ISBN: 9781430243779
You might also like
book
The Definitive Guide to Grails, Second Edition
The rise of Ruby on Rails has signified a huge shift in how we build web …
video
Learning Grails
In this Learning Grails training course, expert author Mike Kelly shows you how to create dynamic, …
book
Grails 2: A Quick-Start Guide
Grails is a full-stack web development framework that enables you to build complete web applications in …
video
Berglund and McCullough on Mastering Grails 101
Grails is a high-productivity, convention-over-configuration web framework for the Groovy language. This brief video course begins …