Vai al contenuto principale della pagina

The definitive guide to Grails 2 / / Jeff Scott Brown, Graeme Rocher



(Visualizza in formato marc)    (Visualizza in BIBFRAME)

Autore: Brown Jeff Scott Visualizza persona
Titolo: The definitive guide to Grails 2 / / Jeff Scott Brown, Graeme Rocher Visualizza cluster
Pubblicazione: [New York], : Apress, : Distributed to the book trade worldwide by Springer Science+Business Media New York, c2013
Edizione: 1st ed. 2013.
Descrizione fisica: 1 online resource (350 p.)
Disciplina: 006.78
Soggetto topico: Web site development
Groovy (Computer program language)
Application software - Development
Altri autori: RocherGraeme Keith  
Note generali: Includes index.
Nota di contenuto: Title Page; Copyright Page; Dedication Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; CHAPTER 1 The Essence of Grails; Simplicity and Power; Grails, the Platform; Living in the Java Ecosystem; Installing and Configuring Grails; Creating Your First Application; Step 1: Creating the Application; Step 2: Creating a Controller; Step 3: Printing a Message; Step 4: Testing the Code; Step 5: Running the Tests; Step 6: Running the Application; Grails Interactive Mode; Summary; CHAPTER 2 Getting Started with Grails; What Is Scaffolding?
Creating a DomainIntroducing Dynamic Scaffolding; The Create Operation; The Read Operation; The Update Operation; The Delete Operation; Static Scaffolding; Generating a Controller; Generating the Views; Being Environmentally Friendly; Configuring Data Sources; The DataSource.groovy File; Configuring a MySQL Database; Configuring a JNDI Data Source; Supported Databases; Deploying the Application; Deployment with run-war; Deployment with a WAR file; Summary; CHAPTER 3 Understanding Domain Classes; Persisting Fields to the Database; Validating Domain Classes; Using Custom Validators
Understanding Transient PropertiesCustomizing Your Database Mapping; Building Relationships; Extending Classes with Inheritance; Embedding Objects; Testing Domain Classes; Summary; CHAPTER 4 Understanding Controllers; Defining Controllers; Setting the Default Action; Logging; Logging Exceptions; Accessing Request Attributes; Using Controller Scopes; Understanding Flash Scope; Accessing Request Parameters; Request Parameter Type Conversions; Rendering Text; Redirecting a Request; Creating a Model; Rendering a View; Finding the Default View; Selecting a Custom View; Rendering Templates
Performing Data BindingValidating Incoming Data; The Errors API and Controllers; Data Binding to Multiple Domain Objects; Data Binding with the bindData Method; Data Binding and Associations; The Bindable Constraint; Working with Command Objects; Defining Command Objects; Using Command Objects; Imposing HTTP Method Restrictions; Implementing an Imperative Solution; Taking Advantage of a Declarative Syntax; Controller IO; Handling File Uploads; Working with Multipart Requests; Uploads and Data Binding; Reading the Request InputStream; Writing a Binary Response; Using Simple Interceptors
Before AdviceAfter Advice; Testing Controllers; Controllers in Action; Creating the gTunes Home Page; Adding the User Domain Class; Adding a Login Form; Implementing Registration; Testing the Registration Code; Allowing Users to Log In; Testing the Login Process; Summary; CHAPTER 5 Understanding Views; The Basics; Understanding the Model; Page Directives; Groovy Scriptlets; GSP As GStrings; Built-in Grails Tags; Setting Variables with Tags; Logical Tags; Iterative Tags; Filtering and Iteration; The collect Tag; The findAll Tag; Grails Dynamic Tags; Linking Tags; The Link Tag
The createLink and resource Tags
Sommario/riassunto: 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.
Altri titoli varianti: Grails two
Titolo autorizzato: The definitive guide to Grails 2  Visualizza cluster
ISBN: 9781430243786
1430243783
Formato: Materiale a stampa
Livello bibliografico Monografia
Lingua di pubblicazione: Inglese
Record Nr.: 9910438101503321
Lo trovi qui: Univ. Federico II
Opac: Controlla la disponibilità qui
Serie: Expert's voice in Web development.