[Documentation] Diagram service infrastructure

MissionControl/vista#21
This commit is contained in:
Victor Woeltjen 2015-08-04 17:10:04 -07:00
parent 3c325b8870
commit 96f738b6b6

View File

@ -40,20 +40,38 @@ which are initiated from templated DOM elements. AngularJS acts as
an intermediary between the web page as the user sees it, and the an intermediary between the web page as the user sees it, and the
presentation layer implemented as Open MCT Web extensions. presentation layer implemented as Open MCT Web extensions.
```nomnoml
[Presentation Layer|
[Angular built-ins|
[routes]
[controllers]
[directives]
]
[Domain object representation|
[views]
[representations]
[representers]
[gestures]
]
]
```
# Information Model # Information Model
```nomnoml ```nomnoml
#direction: right #direction: right
[DomainObject| [Information Model|
getId() : string [DomainObject|
getModel() : object getId() : string
getCapability(key : string) : Capability getModel() : object
hasCapability(key : string) : boolean getCapability(key : string) : Capability
useCapability(key : string, args...) : * hasCapability(key : string) : boolean
useCapability(key : string, args...) : *
]
[DomainObject] 1 +- 1 [Model]
[DomainObject] 1 o- * [Capability]
] ]
[DomainObject] 1 +- 1 [Model]
[DomainObject] 1 o- * [Capability]
``` ```
Domain objects are the most fundamental component of Open MCT Web's Domain objects are the most fundamental component of Open MCT Web's
@ -137,6 +155,28 @@ worrying about the details of composite services or implementing a new
remains useful when the expressive power of individual extensions is remains useful when the expressive power of individual extensions is
insufficient. insufficient.
```nomnoml
[ Service Infrastructure |
[ObjectService]->[ModelService]
[ModelService]->[PersistenceService]
[ObjectService]->[CapabilityService]
[CapabilityService]->[capabilities]
[capabilities]->[TelemetryService]
[capabilities]->[PersistenceService]
[capabilities]->[TypeService]
[capabilities]->[ActionService]
[capabilities]->[ViewService]
[PersistenceService]->[<database> Document store]
[TelemetryService]->[<input> Data source]
[ActionService]->[actions]
[ActionService]->[PolicyService]
[ViewService]->[PolicyService]
[ViewService]->[views]
[PolicyService]->[policies]
[TypeService]->[types]
]
```
## Object Service ## Object Service
```nomnoml ```nomnoml