Data Binding

jeffbrown edited this page Nov 28, 2012 · 10 revisions

Overview

Grails 2.3 will include a new and improved data binding mechanism to replace the current implementation. This page is a placeholder for relevant discussion/planning.

High Level Goals For The New Data Binding System

  • Support A Super-Set Of The Binding Capabilities Of The Current System
  • Be Backward Compatible From The Application/Plugin Code Point Of View
  • Be Performant
  • Provide Improved Flexibility And Configurability
  • Be A Simpler And Cleaner Implementation
  • Native support for binding JSON and XML which does not require a Map intermediary
  • Binding event system

Some Relevant JIRAs

Wish List

  • Data binding for domain objects with assignable ids. (Replacing of ID should work. Deletion of ID should return an error.)