My Account Log in

3 options

Grails 1.1 web application development : reclaiming productivity for faster Java web development / Jon Dickinson.

EBSCOhost Academic eBook Collection (North America) Available online

View online

EBSCOhost eBook Community College Collection Available online

View online

Ebook Central Academic Complete Available online

View online
Format:
Book
Author/Creator:
Dickinson, Jon.
Series:
From technologies to solutions
Language:
English
Subjects (All):
Web site development.
Groovy (Computer program language).
Application software--Development.
Application software.
Physical Description:
1 online resource (328 p.)
Edition:
1st ed.
Place of Publication:
Birmingham, U.K. : Packt Pub., 2009.
Language Note:
English
Biography/History:
Dickinson Jon: Jon Dickinson is the principal consultant and founder of Accolade Consulting Ltd. (http: //www. accolade-consulting. co. uk) and can be contacted at jon@accolade-consulting. co. uk. He specializes in developing web applications on the Java platform to meet the goals of users in the simplest and least obtrusive way possible.
Summary:
Reclaiming Productivity for faster Java Web Development
Contents:
Cover; Table of Contents; Preface; Chapter 1: Getting Started with Grails; Why Grails?; Less configuration; Faster setup; Shorter develop/test cycle; Consistent development environment; Domain-specific language for web development; Fewer dependencies; Installing Grails; Build a team communication portal; Summary; Chapter 2: Managing Users with Scaffolding; What is scaffolding?; Create the domain classes; Create the User domain class; Create the Role domain class; Creating controllers to enable scaffolding; Control through constraints; Meeting the relations; Relating roles and users
Ordering fields through constraintsBootstrapping demo data; Summary; Chapter 3: Posting Messages; Message domain class; Rendering a form; Message controller; Groovy Server Pages; Create message view; Grails layouts; Show the form; Handling user input; Binding the request to the domain; Validate and save; Flash scope; Redirect; Render validation errors; Feedback to the user; Create a home page; HomeController; List all messages; Home page view; Styles and navigation; Set the default page; Update the layout; Tidying up; HTML encoding; Overriding validation error messages; Summary
Chapter 4: Introduction to GroovyWhat is Groovy?; Object-Oriented; Dynamic; Functional; Loosely typed and strongly typed; Why Groovy?; Familiar syntax; Direct integration with Java; Running Groovy; Installing Groovy; Groovy shell; Groovy console; Execute Groovy scripts; Groovy classes and scripts; Groovy Features; Semicolons; Strings; Numbers; Lists; Maps; Ranges; Truth and equality; Closures; Plain old Groovy objects; Metaprogramming; Adding dynamic behavior; The great pretender; Builders; Summary; Chapter 5: Authentication with JSecurity Plugin; Where to find plug-ins?; Installing a plug-in
Configuring JSecurity plug-inHow does JSecurity work?; More about realms; Create a simple realm; Implement authenticate; Dynamic finders; Implement hasRole; Install the authentication controller; The authentication filter; Password encryption; Add the missing pieces; Encryption of users' passwords; Permission denied page; Sign out link; Who posted that?; Relate messages to users; Making it happen; Showing the user; Hibernate lazy loading; Eager load users; Summary; Chapter 6: Testing; Writing unit tests; Why we write unit tests; Confidence in code; Improve design; Developer productivity
Document codeHow to write unit tests; Test discreet units of code; Trust your libraries; Test your production code; Descriptive test names; Test one thing at a time; JUnit refresher; SetUp and TearDown; Asserting expectations; Unit tests in Grails; Groovy test extensions; Create a grails test; Running our tests; Grails testing plug-in; Testing Metacontroller; Testing validation; Limitations of Grails in unit tests; Integration testing; External dependencies; Repeatable tests; Integration tests in Grails; BootStrap for environments; Functional testing; Environment setup; Repeatable tests
Test performance
Notes:
Includes index.
ISBN:
1-282-11197-3
9786612111976
1-84719-669-1
OCLC:
618016195

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account