The domain of the year attribute is integer. In addition to algorithmic domains like date and integer, Bach includes the SqlTable class for domains representing the rows of a relational database table. Domains also specify default fields, forms, and reports for depicting members of the domain. Fields are widget classes that can take on any value from their assigned domain. All fields provide methods for storing, retrieving, and validating their value.
Forms are mega-widget classes containing one or more fields.
A simple form layout can be generated automatically, or an intricate layout can be specified explicitly. The Report class provides the basis for generating HTML formatted reports. Using HTML provides a natural method for browsing records in the database. HTML is used for all formatted text in EBase3, removing the need for separate code for printing or viewing a record. The HTML report formatter is an independent program implemented in C. 3.