Programming Grails

Best Practices for Experienced Grails Developers

Specificaties
Paperback, 344 blz. | Engels
O'Reilly | 1e druk, 2013
ISBN13: 9781449323936
Rubricering
Hoofdrubriek : Computer en informatica
O'Reilly 1e druk, 2013 9781449323936
Verwachte levertijd ongeveer 16 werkdagen

Samenvatting

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

Specificaties

ISBN13:9781449323936
Taal:Engels
Bindwijze:paperback
Aantal pagina's:344
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:25-4-2013

Over Burt Beckwith

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 50 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/

Andere boeken door Burt Beckwith

Inhoudsopgave

Preface

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

2. Grails Internals
-Installing Grails
-The Grails Command Line
-IDE Support
-Plugins
-Conventions
-More Information

3. Persistence
-Data Mapping
-Data Validation
-Transients
-Mapping Collections
-Querying
-Saving, Updating, and Deleting
-NoSQL Support

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

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

6. Integration
-JMS
-Mail
-SOAP Web Services
-REST
-JMX

7. Configuration
-External config Files
-Splitting resources.groovy
-Modularizing Within resources.groovy
-Environment-Specific Spring Beans
-Options for BuildConfig.groovy
-Adding Additional Source Folders

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

9. Security
-OWASP
-Security Plugins
-Other Plugins and Libraries
-General Best Practices

10. The Cloud
-Cost Savings
-What You Give Up
-Cloud Foundry
-Heroku
-Other Providers
-Other Uses for Cloud Services

11. AOP
-Grails Filters
-HTTP Filters
-Groovy AOP
-Spring AOP

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

Net verschenen

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Programming Grails