105 lines
1.8 KiB
Markdown
105 lines
1.8 KiB
Markdown
|
|
# Patterns
|
||
|
|
|
||
|
|
This directory contains canonical frontend patterns.
|
||
|
|
|
||
|
|
Each pattern should conform to `canon/PatternSchema.md`.
|
||
|
|
|
||
|
|
## Initial families
|
||
|
|
|
||
|
|
- `authority/`
|
||
|
|
- `address/`
|
||
|
|
- `projection/`
|
||
|
|
- `affordance/`
|
||
|
|
- `mutation/`
|
||
|
|
- `synchronization/`
|
||
|
|
- `composition/`
|
||
|
|
- `execution/`
|
||
|
|
- `quality/`
|
||
|
|
|
||
|
|
## Candidate seed patterns
|
||
|
|
|
||
|
|
### Authority
|
||
|
|
|
||
|
|
- Server Authority
|
||
|
|
- Local Authority
|
||
|
|
- Replicated Authority
|
||
|
|
- Event-Log Authority
|
||
|
|
- Single Writer
|
||
|
|
- Derived State
|
||
|
|
|
||
|
|
### Address
|
||
|
|
|
||
|
|
- URL as Application State
|
||
|
|
- Resource Address
|
||
|
|
- Hierarchical Route
|
||
|
|
- Progressive Navigation
|
||
|
|
|
||
|
|
### Projection
|
||
|
|
|
||
|
|
- Static Projection
|
||
|
|
- Server Projection
|
||
|
|
- Client Projection
|
||
|
|
- Hybrid Projection
|
||
|
|
- Streaming Projection
|
||
|
|
- Islands of Interactivity
|
||
|
|
- Server Components
|
||
|
|
- Progressive Hydration
|
||
|
|
- Resumable UI
|
||
|
|
|
||
|
|
### Affordance
|
||
|
|
|
||
|
|
- Local Interaction State
|
||
|
|
- Immediate Feedback
|
||
|
|
- Pending State
|
||
|
|
- Optimistic Overlay
|
||
|
|
- Undoable Intent
|
||
|
|
- Speculative Interaction
|
||
|
|
|
||
|
|
### Mutation & Synchronization
|
||
|
|
|
||
|
|
- Command Mutation
|
||
|
|
- Form Mutation
|
||
|
|
- Idempotent Mutation
|
||
|
|
- Invalidate and Reproject
|
||
|
|
- Pull Synchronization
|
||
|
|
- Push Synchronization
|
||
|
|
- Persistent Subscription
|
||
|
|
- Conflict-Free Merge
|
||
|
|
- Explicit Conflict
|
||
|
|
|
||
|
|
### Composition
|
||
|
|
|
||
|
|
- Presentation / Domain Separation
|
||
|
|
- Presentation Model
|
||
|
|
- Vertical Feature Slice
|
||
|
|
- Public Module Surface
|
||
|
|
- Independent Feature Boundary
|
||
|
|
- Microfrontend
|
||
|
|
- Backend for Frontend
|
||
|
|
- Design System
|
||
|
|
|
||
|
|
### Execution
|
||
|
|
|
||
|
|
- Build-Time Execution
|
||
|
|
- Server Execution
|
||
|
|
- Edge Execution
|
||
|
|
- Client Execution
|
||
|
|
- Deferred Execution
|
||
|
|
- Code Split
|
||
|
|
- Lazy Load
|
||
|
|
- Independent Deployment
|
||
|
|
|
||
|
|
### Quality
|
||
|
|
|
||
|
|
- Progressive Enhancement
|
||
|
|
- Accessible by Construction
|
||
|
|
- Failure Boundary
|
||
|
|
- Async Boundary
|
||
|
|
- Security Boundary
|
||
|
|
- Privacy Boundary
|
||
|
|
- Performance Budget
|
||
|
|
- Observable Interaction
|
||
|
|
- Recoverable Interaction
|
||
|
|
|
||
|
|
These names are candidates. Research should consolidate, rename, split or reject them as needed.
|