Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
re-bind - the faces of your domain objects

re-bind is the face of your domain object and every object that implements the IBusinessObject interface.

...

  • Data binding
  • Generate your pages from your domain source code
Illustration

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.

...

  • mapping from domain objects and their properties to user controls for display
  • mapping from the controls' user input to the corresponding updates of properties

will be done by re-bind.

Default Mapping
  • date -> date picker
  • number -> text entry field with a check if the entered string can be parsed as a number
  • boolean -> check box
  • enumeration -> drop box

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.

Implementation Details

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.

...