Grails 1.1 Web Application Development
Credits
About the author
Acknowledgement
About the reviewers
Preface
Getting Started with Grails
Why Grails?
Installing Grails
Build a team communication portal
Summary
Managing Users with Scaffolding
What is scaffolding?
Create the domain classes
Creating controllers to enable scaffolding
Control through constraints
Meeting the relations
Bootstrapping demo data
Posting Messages
Message domain class
Rendering a form
Handling user input
Create a home page
Styles and navigation
Tidying up
Introduction to Groovy
What is Groovy?
Why Groovy?
Running Groovy
Groovy features
Authentication with JSecurity Plug-in
Where to find plug-ins
Installing a plug-in
Configuring JSecurity plug-in
Add the missing pieces
JSecurity tags
Who posted that?
Testing
Writing unit tests
JUnit refresher
Unit tests in Grails
Integration testing
Integration tests in Grails
Functional testing
Functional testing In Grails
Testing guidance
File Sharing
File domain object
FileController
File Upload GSP
Saving the file
Viewing files
Modeling for efficiency
Downloading files
More GORM and Criteria
More GORM relationships
Querying with criteria
Updating FileController
Render file versions
Fix file download
Services
Introducing services
Implementing FileService
Managing Content through Tagging
Add basic tagging
Customize the home page
All Messages and Files
AJAX and RIA Frameworks
Edit tags inline
Auto-complete tags
Introducing tag clouds
Searching, RSS, and REST Services
Searching
RSS
REST services
Build your own Plug-in
The tagger plug-in
Using plug-in events
Deployment and the Real World
Set up the environment
Configure Grails
Hosting options
Next steps