re-bind is the face of your domain object and every object that implements the IBusinessObject
interface.
Key Features
Each data type has its favorable control. Think of a domain object Person. A person has a name, birthday, height, etc. Repectively, the first and last name would be entered in a text box, the birthday in a date time picker, etc.
Data is loaded from the domain objects with re-store. The loaded data is displayed in the controls. Once you have changed the data and clicked on save, the data is commited to the database.
All this implementation details
will be done by re-bind.
You are not bound to this controls. Depending on your configuration, re-bind could display a Boolean
property as radio buttons, drop box or checkbox, for example.
re-bind queries the implementation of the IBusinessObject
interface of the object to be displayed. Depending on the class attributes and the markup configuration in your markup files (ascx and aspx), the content of the web page will be rendered.
So re-bind is not restricted to domain objects that will be persisted with re-store. Every object that implements the IBusinessObject
interface are eligible for rendering in a browser by re-bind. Good examples for non domain objects are "search objects", which will never be stored in a database, but must be displayed.