LEADER 05043nam 2200721 a 450 001 9910967289503321 005 20240516203336.0 010 $a1-282-11197-3 010 $a9786612111976 010 $a1-84719-669-1 035 $a(CKB)2400000000000900 035 $a(EBL)967828 035 $a(OCoLC)618016195 035 $a(SSID)ssj0000332207 035 $a(PQKBManifestationID)12084789 035 $a(PQKBTitleCode)TC0000332207 035 $a(PQKBWorkID)10333235 035 $a(PQKB)10097002 035 $a(Au-PeEL)EBL967828 035 $a(CaPaEBR)ebr10442967 035 $a(CaONFJC)MIL211197 035 $a(PPN)228049075 035 $a(FRCYB88852095)88852095 035 $a(DE-B1597)722229 035 $a(DE-B1597)9781847196699 035 $a(FR-PaCSA)88852095 035 $a(MiAaPQ)EBC967828 035 $a(EXLCZ)992400000000000900 100 $a20110223d2009 uy 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aGrails 1.1 web application development $ereclaiming productivity for faster Java web development /$fJon Dickinson 205 $a1st ed. 210 $aBirmingham, U.K. $cPackt Pub.$d2009 215 $a1 online resource (328 p.) 225 1 $aFrom technologies to solutions 300 $aIncludes index. 311 08$a1-84719-668-3 327 $aCover; 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 327 $aOrdering 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 327 $aChapter 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 327 $aConfiguring 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 327 $aDocument 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 327 $aTest performance 330 $aReclaiming Productivity for faster Java Web Development 606 $aWeb site development 606 $aGroovy (Computer program language) 606 $aApplication software$xDevelopment 615 0$aWeb site development. 615 0$aGroovy (Computer program language) 615 0$aApplication software$xDevelopment. 676 $a658.4/06 700 $aDickinson$b Jon$01798860 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910967289503321 996 $aGrails 1.1 web application development$94341831 997 $aUNINA