PrismDevRelOpen the app
Case studies: Architecture walkthrough

Overview

Case studies

UORust

How UORust was modeledArchitecture walkthroughDesign views in OPM and UMLFeatures and journeysSecurity and threat modelQuality model (ISO/IEC 25010)Behavior and proofsSystem and releaseExtension facetsCommand referenceSlides and video scriptRecord explorerllms.txt and Markdown twins

Prism-DevRel

How Prism-DevRel was modeledArchitecture walkthroughDesign views in OPM and UMLFeatures and journeysSecurity and threat modelQuality model (ISO/IEC 25010)Behavior and proofsExtension facetsSlides and video scriptRecord explorerllms.txt and Markdown twins

Rule 30

How Rule 30 was modeledArchitecture walkthroughSecurity and threat modelQuality model (ISO/IEC 25010)Behavior and proofsSlides and video scriptRecord explorerllms.txt and Markdown twins

Verdant Resonance

How Verdant Resonance was modeledBehavior and proofsExtension facetsSlides and video scriptRecord explorerllms.txt and Markdown twins

Foundry

How Foundry was modeledBehavior and proofsSlides and video scriptRecord explorerllms.txt and Markdown twins

// case study · Rule 30

Architecture walkthrough

Who Rule 30 is for, what they care about, its parts and how they connect.

Subject: Rule 30 at commit e3be477fded2, 2180 facet records, source digest c4584388f052fc09.

Architecture records by kindComponent: 9 records; Concern: 3 records; Edge: 18 records; Stakeholder: 1 records; View: 3 records; Viewpoint: 3 recordsComponent9Concern3Edge18Stakeholder1View3Viewpoint3
Architecture records by kind. The 37 records this page teaches, one bar for each kind. Each kind has its own section below.
The data in this figure
records
Component9
Concern3
Edge18
Stakeholder1
View3
Viewpoint3

The architecture facet is an ISO/IEC/IEEE 42010 architecture description. It says who the system is for (stakeholders) and what they worry about (concerns). It names the parts (components) and how data and control move between them (edges). Viewpoints and views answer each concern. Each record is a definition whose result is a Foundation.Arch record, numbered by its identifier. The rules are in PrismPM SPEC section 2. How to write them is in Write the model.

Architecture facet explains the facet for every Prism model, with the counts of every case study.

Components and edges

Components and edgescontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowcontrolFlowfactoryhostinspectionjournalkernellibraryportfoliopublicationrecovery
Components and edges. Boxes are parts, arrows are the links between them, drawn from the model's own records.
The data in this figure

9 elements: factory, host, inspection, journal, kernel, library, portfolio, publication, recovery. factory to kernel (controlFlow). factory to library (controlFlow). inspection to host (controlFlow). inspection to kernel (controlFlow). inspection to library (controlFlow). journal to host (controlFlow). journal to library (controlFlow). kernel to host (controlFlow). library to host (controlFlow). portfolio to factory (controlFlow). portfolio to inspection (controlFlow). portfolio to publication (controlFlow). portfolio to recovery (controlFlow). publication to journal (controlFlow). publication to kernel (controlFlow). publication to library (controlFlow). recovery to host (controlFlow). recovery to journal (controlFlow).

Every record

Every record 37 rows
IndexRecordKindName
541ResearchArchitecture::evidenceConcernevidence
542ResearchArchitecture::evidenceViewViewevidenceView
543ResearchArchitecture::evidenceViewpointViewpointevidenceViewpoint
544ResearchArchitecture::factoryComponentfactory
545ResearchArchitecture::factoryRequiresKernelEdgefactoryRequiresKernel
546ResearchArchitecture::factoryRequiresLibraryEdgefactoryRequiresLibrary
549ResearchArchitecture::hostComponenthost
551ResearchArchitecture::inspectionComponentinspection
552ResearchArchitecture::inspectionRequiresHostEdgeinspectionRequiresHost
553ResearchArchitecture::inspectionRequiresKernelEdgeinspectionRequiresKernel
554ResearchArchitecture::inspectionRequiresLibraryEdgeinspectionRequiresLibrary
555ResearchArchitecture::journalComponentjournal
556ResearchArchitecture::journalRequiresHostEdgejournalRequiresHost
557ResearchArchitecture::journalRequiresLibraryEdgejournalRequiresLibrary
558ResearchArchitecture::kernelComponentkernel
561ResearchArchitecture::kernelRequiresHostEdgekernelRequiresHost
562ResearchArchitecture::libraryComponentlibrary
564ResearchArchitecture::libraryRequiresHostEdgelibraryRequiresHost
566ResearchArchitecture::maintainerStakeholdermaintainer
572ResearchArchitecture::ownershipConcernownership
573ResearchArchitecture::ownershipViewViewownershipView
574ResearchArchitecture::ownershipViewpointViewpointownershipViewpoint
575ResearchArchitecture::portfolioComponentportfolio
576ResearchArchitecture::portfolioRequiresFactoryEdgeportfolioRequiresFactory
577ResearchArchitecture::portfolioRequiresInspectionEdgeportfolioRequiresInspection
578ResearchArchitecture::portfolioRequiresPublicationEdgeportfolioRequiresPublication
579ResearchArchitecture::portfolioRequiresRecoveryEdgeportfolioRequiresRecovery
580ResearchArchitecture::publicationComponentpublication
581ResearchArchitecture::publicationRequiresJournalEdgepublicationRequiresJournal
582ResearchArchitecture::publicationRequiresKernelEdgepublicationRequiresKernel
583ResearchArchitecture::publicationRequiresLibraryEdgepublicationRequiresLibrary
586ResearchArchitecture::recoveryComponentrecovery
587ResearchArchitecture::recoveryRequiresHostEdgerecoveryRequiresHost
588ResearchArchitecture::recoveryRequiresJournalEdgerecoveryRequiresJournal
595ResearchArchitecture::velocityConcernvelocity
596ResearchArchitecture::velocityViewViewvelocityView
597ResearchArchitecture::velocityViewpointViewpointvelocityViewpoint

Component (9)

inspection

ResearchArchitecture::inspection Component #551 source

index
2
kind
(ctor Foundation.Arch::ComponentKind.service)

Taught by Architecture walkthrough

portfolio

ResearchArchitecture::portfolio Component #575 source

index
6
kind
(ctor Foundation.Arch::ComponentKind.service)

Taught by Architecture walkthrough

publication

ResearchArchitecture::publication Component #580 source

index
7
kind
(ctor Foundation.Arch::ComponentKind.service)

Taught by Architecture walkthrough

Concern (3)

Edge (18)

factoryRequiresKernel

ResearchArchitecture::factoryRequiresKernel Edge #545 source

index
0
fromIndex
0
toIndex
4
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

factoryRequiresLibrary

ResearchArchitecture::factoryRequiresLibrary Edge #546 source

index
1
fromIndex
0
toIndex
5
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

inspectionRequiresHost

ResearchArchitecture::inspectionRequiresHost Edge #552 source

index
2
fromIndex
2
toIndex
1
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

inspectionRequiresKernel

ResearchArchitecture::inspectionRequiresKernel Edge #553 source

index
3
fromIndex
2
toIndex
4
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

inspectionRequiresLibrary

ResearchArchitecture::inspectionRequiresLibrary Edge #554 source

index
4
fromIndex
2
toIndex
5
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

journalRequiresHost

ResearchArchitecture::journalRequiresHost Edge #556 source

index
5
fromIndex
3
toIndex
1
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

journalRequiresLibrary

ResearchArchitecture::journalRequiresLibrary Edge #557 source

index
6
fromIndex
3
toIndex
5
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

kernelRequiresHost

ResearchArchitecture::kernelRequiresHost Edge #561 source

index
7
fromIndex
4
toIndex
1
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

libraryRequiresHost

ResearchArchitecture::libraryRequiresHost Edge #564 source

index
8
fromIndex
5
toIndex
1
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

portfolioRequiresFactory

ResearchArchitecture::portfolioRequiresFactory Edge #576 source

index
9
fromIndex
6
toIndex
0
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

portfolioRequiresInspection

ResearchArchitecture::portfolioRequiresInspection Edge #577 source

index
10
fromIndex
6
toIndex
2
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

portfolioRequiresPublication

ResearchArchitecture::portfolioRequiresPublication Edge #578 source

index
11
fromIndex
6
toIndex
7
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

portfolioRequiresRecovery

ResearchArchitecture::portfolioRequiresRecovery Edge #579 source

index
12
fromIndex
6
toIndex
8
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

publicationRequiresJournal

ResearchArchitecture::publicationRequiresJournal Edge #581 source

index
13
fromIndex
7
toIndex
3
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

publicationRequiresKernel

ResearchArchitecture::publicationRequiresKernel Edge #582 source

index
14
fromIndex
7
toIndex
4
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

publicationRequiresLibrary

ResearchArchitecture::publicationRequiresLibrary Edge #583 source

index
15
fromIndex
7
toIndex
5
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

recoveryRequiresHost

ResearchArchitecture::recoveryRequiresHost Edge #587 source

index
16
fromIndex
8
toIndex
1
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

recoveryRequiresJournal

ResearchArchitecture::recoveryRequiresJournal Edge #588 source

index
17
fromIndex
8
toIndex
3
kind
(ctor Foundation.Arch::EdgeKind.controlFlow)

Taught by Architecture walkthrough

Stakeholder (1)

View (3)

Viewpoint (3)

evidenceViewpoint

ResearchArchitecture::evidenceViewpoint Viewpoint #543 source

index
0
stakeholderIndex
0
concernIndex
0
modelKindIndex
2

Taught by Architecture walkthrough

ownershipViewpoint

ResearchArchitecture::ownershipViewpoint Viewpoint #574 source

index
1
stakeholderIndex
0
concernIndex
1
modelKindIndex
0

Taught by Architecture walkthrough

velocityViewpoint

ResearchArchitecture::velocityViewpoint Viewpoint #597 source

index
2
stakeholderIndex
0
concernIndex
2
modelKindIndex
1

Taught by Architecture walkthrough

explanationLearncase studyMarkdown

Words on this page 4
Prism model
A description of an app, written in LexLean, that covers every facet of it and that the Lean kernel checks before the app is built.
facet
One view of a model, such as its architecture, its security or its quality. Each facet holds records.
record
One entry in a facet: a component, a threat, a measure or a journey step, with the place in the source it came from.
stakeholder
A person or group with an interest in the system, as ISO/IEC/IEEE 42010 defines it.