Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Thus a bindable domain object has two useful traits:

  • re-store can persist it
  • re-bindform can automatically render controls for each
    of the domain object's properties

...

The BindableDomainObject class

re-bindform's BindableDomainObject class exposes an IBusinessObject interface and is based on DomainObject. You will probably use this class a lot. However, it should be noted, that you could write your own implementation for the IBusinessObject interface and mix YOUR IBusinessObject interface with DomainObject to arrive at a class MyBindableDomainObject. You don't depend on re-bind's BindableDomainObject. The method of re-motion mixins are explained in Fabian Schmied's blog.