Skip to content

Commit da1a24e

Browse files
rename Entity-Workflow Model into Relational Workflow Model.
1 parent f92eb3c commit da1a24e

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

book/20-concepts/03-workflows.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# A New Paradigm
1+
# Relational Workflows
22

3-
## The Entity-Workflow Model: A New Paradigm for Relational Databases
3+
## A New Paradigm for Relational Databases
44

55
The relational data model, while powerful, offers considerable semantic flexibility that can be both a blessing and a curse. This flexibility has led to the development of distinct conceptual frameworks for understanding and applying relational principles in database design and operations. While these approaches share common underlying constructs (tables, data types, primary keys, foreign keys, etc.), they operate on fundamentally different semantics that lead to distinct approaches to database design, data manipulation, and query formation.
66

7-
This book introduces a paradigm shift in how we think about relational database design and implementation: the **Entity-Workflow Model**. This model is embodied by DataJoint and affects how we think about database design, data manipulation, and query formation.
7+
This book introduces a paradigm shift in how we think about relational database design and implementation: the **Relational Workflow Model**. This model is embodied by DataJoint and affects how we think about database design, data manipulation, and query formation.
88

9-
To understand the significance of the Entity-Workflow Model, we must first examine the two dominant paradigms that preceded it and their inherent limitations.
9+
To understand the significance of the Relational Workflow Model, we must first examine the two dominant paradigms that preceded it and their inherent limitations.
1010

1111
## The Mathematical Foundation: Codd's Predicate Calculus Approach
1212

@@ -68,6 +68,7 @@ erDiagram
6868
```
6969
Entity-relationship diagram in [Crow's Foot notation](https://mermaid.js.org/syntax/entityRelationshipDiagram.html).
7070
:::
71+
```
7172
7273
7374
### Limitations
@@ -79,9 +80,9 @@ Despite its success, ERM still suffers from fundamental gaps:
7980
- **Static Relationships**: Treats relationships as static rather than operational
8081
- **Translation Complexity**: Converting ERM designs to SQL requires mental translation between entity concepts and relational predicates
8182
82-
## The Entity-Workflow Model: A Paradigm Shift
83+
## The Relational Workflow Model: A Paradigm Shift
8384
84-
The **Entity-Workflow Model**, pioneered by DataJoint, represents a fundamental evolution that addresses the limitations of both previous approaches while building on their strengths.
85+
The **Relational Workflow Model**, pioneered by DataJoint, represents a fundamental evolution that addresses the limitations of both previous approaches while building on their strengths.
8586
8687
### Revolutionary Core Concepts
8788
@@ -99,9 +100,9 @@ The **Entity-Workflow Model**, pioneered by DataJoint, represents a fundamental
99100
100101
This principle extends entity normalization with temporal and operational dimensions, creating a unified framework for design, implementation, and querying.
101102
102-
### Why the Entity-Workflow Model Matters
103+
### Why the Relational Workflow Model Matters
103104
104-
The Entity-Workflow Model addresses the fundamental challenges that have plagued relational database practice:
105+
The Relational Workflow Model addresses the fundamental challenges that have plagued relational database practice:
105106
106107
#### 1. **Unified Design and Implementation**
107108
@@ -114,7 +115,7 @@ Unlike the ERM-SQL gap, DataJoint provides **unified diagramming, definition, an
114115
115116
#### 2. **Temporal and Operational Awareness**
116117
117-
While ERM focuses on "what entities exist," the Entity-Workflow Model asks "when and how are entities created?" This temporal dimension is crucial for:
118+
While ERM focuses on "what entities exist," the Relational Workflow Model asks "when and how are entities created?" This temporal dimension is crucial for:
118119
119120
- **Scientific Workflows**: Where data processing follows strict sequences
120121
- **Business Processes**: Where operations must occur in specific orders
@@ -144,7 +145,7 @@ DataJoint diagram showing workflow dependencies
144145

145146
## Comparing the Three Paradigms
146147

147-
| Aspect | Mathematical (Codd) | Entity-Relationship (Chen) | **Entity-Workflow (DataJoint)** |
148+
| Aspect | Mathematical (Codd) | Entity-Relationship (Chen) | **Relational Workflow (Yatsenko)** |
148149
|--------|-------------------|-------------------------|-------------------------------|
149150
| **Core Question** | "What functional dependencies exist?" | "What entity types exist?" | **"When/how are entities created?"** |
150151
| **Diagramming** | None | Comprehensive ERDs | **Integrated workflow diagrams** |
@@ -155,11 +156,11 @@ DataJoint diagram showing workflow dependencies
155156

156157
## The DataJoint Implementation: Theory Made Practical
157158

158-
DataJoint represents the practical embodiment of the Entity-Workflow Model, developed over a decade of neuroscience research [@10.48550/arXiv.1807.11104].
159+
DataJoint represents the practical embodiment of the Relational Workflow Model, developed over a decade of neuroscience research [@10.48550/arXiv.1807.11104].
159160

160161
### The Schema as Executable Specification
161162

162-
The Entity-Workflow Model has a profound implication: **the database schema itself becomes an executable specification** of your workflow.
163+
The Relational Workflow Model has a profound implication: **the database schema itself becomes an executable specification** of your workflow.
163164

164165
When you define a DataJoint schema, you simultaneously:
165166
- **Design** the conceptual model (what are the workflow steps?)
@@ -245,7 +246,7 @@ Unlike SQL's natural joins that can produce unexpected results when tables share
245246

246247
### Practical Benefits
247248

248-
The Entity-Workflow Model delivers unprecedented advantages:
249+
The Relational Workflow Model delivers unprecedented advantages:
249250

250251
- **Seamless Design-to-Implementation**: No conceptual gap between design and code
251252
- **Intuitive Query Formation**: Queries naturally express entity relationships
@@ -294,7 +295,7 @@ This makes DataJoint a **specialized dialect** of the relational model, optimize
294295

295296
## The Future of Database Design
296297

297-
The Entity-Workflow Model represents more than an incremental improvement—it's a **paradigm shift** that addresses fundamental limitations in how we think about and implement relational databases.
298+
The Relational Workflow Model represents more than an incremental improvement—it's a **paradigm shift** that addresses fundamental limitations in how we think about and implement relational databases.
298299

299300
### Why This Matters Now
300301

@@ -308,14 +309,14 @@ The Entity-Workflow Model represents more than an incremental improvement—it's
308309

309310
### The Path Forward
310311

311-
This book demonstrates how the Entity-Workflow Model, embodied in DataJoint, provides:
312+
This book demonstrates how the Relational Workflow Model, embodied in DataJoint, provides:
312313

313314
1. **A unified conceptual framework** for database design, implementation, and querying
314315
2. **Native support for temporal and operational aspects** that previous models ignored
315316
3. **Practical tools** that eliminate the traditional design-implementation gap
316317
4. **A foundation** for the next generation of database applications
317318

318-
The Entity-Workflow Model isn't just another approach to relational databases—it's the evolution that makes relational databases truly fit for modern computational workflows and collaborative data science.
319+
The Relational Workflow Model isn't just another approach to relational databases—it's the evolution that makes relational databases truly fit for modern computational workflows and collaborative data science.
319320

320321
## Exercises
321322

0 commit comments

Comments
 (0)