Record type
A record type is a classification describing the structure, kind, and semantic role of records within a data format or system.
Building User-Friendly DSLs
A construct representing a named record with a collection of attributes in the domain-specific language.
- How it is used
- Defines named domain data shapes that business rules reference and the Runtime can represent.
- How deep it goes
- Explains record type properties and AST projection, then extends the concept with editable business rules.
- Examples
- Uses a Rental record type with attributes and renders it through HTML, CSS, and JSX Projection code.
- What you can do after
- Build it from scratch by modeling record type settings, projecting attributes, and adding a business-rules collection.
Data-Oriented Programming: Reduce software complexity
A record type is a classification identifying the kind of entity represented by a record, such as a member or librarian.
- How it is used
- Uses record types to decide whether library data represents a member or librarian.
- How deep it goes
- Explains index-based classification and member-specific fields, rather than formal runtime type machinery.
- Examples
- Demonstrates a library UserManagement record, librarian lookup, VIP membership, and member feature fields.
- What you can do after
- Apply via map lookups and field checks to classify users without requiring an explicit type field.
Read how Data-Oriented Programming: Reduce software complexity explains record type →
Related concepts
- business rulehas part · A business rule is a domain-specific policy, condition, or constraint that governs valid data, decisions, actions, or behavior in an organization or its systems.
- attributehas part · An attribute is a named property, value, or piece of information associated with an entity, object, or program element.
- migrationconfigured by · A migration is a process of transferring or transforming data, software, or system state from a source form or environment to a target form or environment.
- indexingused by · Indexing is the organization or use of positions, keys, or lookup structures to identify and retrieve selected data or elements.
- AST objectuses · An individual structured object representing a node or element within an abstract syntax tree.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

