Programming Grails - Burt Beckwith

Programming Grails

Best Practices for Experienced Grails Developers

(Autor)

Buch | Softcover
364 Seiten
2013
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-2393-6 (ISBN)
39,95 inkl. MwSt
Dig deeper into Grails architecture and discover how this application framework works its magic. Written by a core developer on the Grails team, this practical guide takes you behind the curtain to reveal the inner workings of its 2.0 feature set. You’ll learn best practices for building and deploying Grails applications, including performance, security, scaling, tuning, debugging, and monitoring.

Understand how Grails integrates with Groovy, Spring, Hibernate, and other JVM technologies, and learn how to create and use plugins to augment your application’s functionality. Once you know how Grails adds behavior by convention, you can solve problems more easily and develop applications more intuitively.
  • Write simpler, more powerful code with the Groovy language
  • Manage persistence in Grails, using Hibernate or a NoSQL datastore
  • Learn how Grails uses Spring’s functionality and optional modules
  • Discover how Hibernate handles details for storing and retrieving data
  • Integrate technologies for messaging, mail, creating web services, and other JEE technologies
  • Bypass convention and configure Grails manually
  • Learn a general approach to upgrading applications and plugins
  • Use Grails to develop and deploy IaaS and PaaS applications

Burt Beckwith has been a software developer for 15 years, most of that as a JVM developer, and for the last four years working with Grails and Groovy. He is a core developer on the Grails team at SpringSource, and has created over 35 Grails plugins. Burt is a frequent speaker at conferences and user groups where he shares his passion for Grails and other Groovy-based technologies, in particular those that are related to persistence, security, and performance. He blogs at http://burtbeckwith.com/blog/.

Chapter 1 Introduction to Groovy
Installing Groovy
Optional Typing
Collections and Maps
Properties
Closures
Groovy’s Contributions in the War Against Verbosity
Differences Between Java and Groovy
Groovy Strings
Static this
The Groovy JDK (GDK)
Metaprogramming and the MOP
Adding Methods
Operators
Overload Your Operators
def Considered Harmful
Closures Versus Methods
TypeChecked, CompileStatic, and invokedynamic
Chapter 2 Grails Internals
Installing Grails
The Grails Command Line
IDE Support
Plugins
Conventions
More Information
Chapter 3 Persistence
Data Mapping
Data Validation
Transients
Mapping Collections
Querying
Saving, Updating, and Deleting
NoSQL Support
Chapter 4 Spring
Inversion of Control and Dependency Injection
Bean Scopes
Transactional Services
Bean Life Cycles and Interfaces
Bean Postprocessors
Bean Aliases
Internationalization
Resources
Data Binding and Validation
Database Persistence
Spring MVC
Remoting
JMS
EJBs
JMX
Email
Cache Abstraction
Chapter 5 Hibernate
Mapping Domain Classes
Dialects
Hibernate Without GORM
The Session
Open Session in View
Custom User Types
Optimistic and Pessimistic Locking
Accessing the Session’s Connection
schema-export
SQL Logging
Proxies
Caching
HQL
Collections Performance
Session.createFilter()
Custom Configurations
Mapping Views and Subselect Classes
get(), load(), and read()
Performance
Chapter 6 Integration
JMS
Mail
SOAP Web Services
REST
JMX
Chapter 7 Configuration
External config Files
Splitting resources.groovy
Modularizing Within resources.groovy
Environment-Specific Spring Beans
Options for BuildConfig.groovy
Adding Additional Source Folders
Chapter 8 Plugins
Creating a Plugin
The Plugin Descriptor
Splitting Applications into Plugins
Building and Releasing
Running the Tests
Custom Plugin Repositories
Plugin Documentation
Custom Artifacts
Some Notes on Plugin Development Workflow
Chapter 9 Security
OWASP
Security Plugins
Other Plugins and Libraries
General Best Practices
Chapter 10 The Cloud
Cost Savings
What You Give Up
Cloud Foundry
Heroku
Other Providers
Other Uses for Cloud Services
Chapter 11 AOP
Grails Filters
HTTP Filters
Groovy AOP
Spring AOP
Chapter 12 Upgrading Applications and Plugins
Why Doesn’t the Upgrade Script Do More?
A General Approach to Upgrading
A Short History of Grails
Notes on Upgrading
Index
Colophon

Erscheint lt. Verlag 4.6.2013
Verlagsort Sebastopol
Sprache englisch
Maße 178 x 233 mm
Gewicht 576 g
Einbandart kartoniert
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Informatik Web / Internet Web Design / Usability
ISBN-10 1-4493-2393-6 / 1449323936
ISBN-13 978-1-4493-2393-6 / 9781449323936
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
mit über 150 Workouts in Java und Python

von Luigi Lo Iacono; Stephan Wiefling; Michael Schneider

Buch (2023)
Carl Hanser (Verlag)
29,99
Einführung, Ausbildung, Praxis

von Christian Ullenboom

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90