# [![](ASSETS/blue-burst-encapsule.io-icon-72x72.png "Encapsule Project Homepage")](https://encapsule.io)&nbsp;Encapsule Project

> **[Homepage](https://encapsule.io "Encapsule Project Homepage...") &bull; [GitHub](https://github.com/Encapsule "Encapsule Project GitHub...") &bull; [Discussion](https://groups.google.com/a/encapsule.io/forum/#!forum/holistic-app-platform-discussion-group "Holistic app platform discussion group...") &bull; [Twitter](https://twitter.com/Encapsule "Encapsule Project Twitter...")**

_Encapsule Project is a quest to define a universal protocol for domain-specific software models + infrastructure to support composition of distributed apps & services._

## ![](ASSETS/encapsule-holistic-24x24.png)&nbsp;[Holistic App Platform v0.4.4-colfaxpeak](../../README.md)

> **[&#9666; Holistic App Platform](../../README.md#encapsule-project "Jump to @encapsule/holistic distribution package README...") Runtime Libraries::** [d2r2](../d2r2/README.md#encapsule-project "Jump to d2r2 README...") &bull; [d2r2-components](../d2r2-components/README.md#encapsule-project "Jump to d2r2-components README...") &bull; [holarchy](../holarchy/README.md#encapsule-project "Jump to holarchy README...") &bull; ![](ASSETS/encapsule-holistic-16x16.png)&nbsp;**holarchy-cm**&nbsp;![](ASSETS/encapsule-holistic-16x16.png) &bull; [holism](../holism/README.md#encapsule-project "Jump to holism README...") &bull; [holism-metadata](../holism-metadata/README.md#encapsule-project "Jump to holism-metadata README...") &bull; [holism-services](../holism-services/README.md#encapsule-project "Jump to holism-services README...") &bull; [holistic-app-models](../holistic-app-models/README.md#encapsule-project "Jump to holistic-app-models README...") &bull; [holistic-html5-service](../holistic-html5-service/README.md#encapsule-project "Jump to holistic-html5-service README...") &bull; [holistic-nodejs-service](../holistic-nodejs-service/README.md#encapsule-project "Jump to holistic-nodejs-service README...") &bull; [holistic-service-core](../holistic-service-core/README.md#encapsule-project "Jump to holistic-service-core README...") &bull; [holodeck](../holodeck/README.md#encapsule-project "Jump to holodeck README...") &bull; [holodeck-assets](../holodeck-assets/README.md#encapsule-project "Jump to holodeck-assets README...") &bull; [hrequest](../hrequest/README.md#encapsule-project "Jump to hrequest README...")

# ![](ASSETS/encapsule-holistic-32x32.png)&nbsp;@encapsule/holarchy-cm

```
Package: @encapsule/holarchy-cm v0.4.4-colfaxpeak build ID "cOPp4PdPRXKyaPt5tQTCqQ"
Sources: @encapsule/holodev#e2ac2697de97dbe7b68722e9de19e7f6d6e282cc
Created: 2022-06-11T19:59:25.000Z // License: MIT
Purpose: library // Environment: Node.js and Browser/HTML5
```

_This package contains the Holistic App Platform's core re-usable CellModel library._

## ![](ASSETS/encapsule-holistic-24x24.png)&nbsp;Package Distribution & Use

The `@encapsule/holarchy-cm` runtime library package is included in the `@encapsule/holistic` platform package, and is 
installed and registered in every derived application service project created/maintained the [**appgen**](../../README.md#appgen-cli-tool) command line utility.

From within your application service project, any module that requires access to `@encapsule/holarchy-cm` package API can simpy require/import the module:

```
const holarchy-cm = require("@encapsule/holarchy-cm");
// holarchy-cm is a reference to an object that define the runtime library's API.
// ... your code here
```

## ![](ASSETS/encapsule-holistic-24x24.png)&nbsp;API Documentation

> [&#9652; Top](#encapsule-project "Scroll to the top of the page...")

### Background Material Links

Please read through these webpages to get a broad sense of the architectural precepts that underpin **S**ystem-**I**n-**C**ell (SiC) architecture.

- [All About Circuits - Finite State Machines](https://www.allaboutcircuits.com/textbook/digital/chpt-11/finite-state-machines/) **This is our long-established program execution model - _CellProcessor evaluation is execution_.**

- [All About Circuits - Introduction to Combinatorial Logic Functions](https://www.allaboutcircuits.com/textbook/digital/chpt-9/combinational-logic-functions/) **Basic information about logic (in hardware terms). Note that a call to `act` is a _clock signal_.**

- [ScienceDirect - Boolean Expression](https://www.sciencedirect.com/topics/computer-science/boolean-expression) **A brief look at compositional patterns that we seek to capture here as CellModel for re-use _everythere_ at all levels of system X distributed across [ A, B, C... ] service instance(s).**

- [All About Circuits - Multiplexers](https://www.allaboutcircuits.com/textbook/digital/chpt-9/multiplexers/)

- [All About Circuits - Ladder Diagrams](https://www.allaboutcircuits.com/textbook/digital/chpt-6/ladder-diagrams/) **YEA, THIS**

- [All About Circuits - Digital Logic Functions](https://www.allaboutcircuits.com/textbook/digital/chpt-6/digital-logic-functions/)

- [All About Circuits - Networks and Busses](https://www.allaboutcircuits.com/textbook/digital/chpt-14/networks-and-busses/)

- [All About Circuits - Data Flow](https://www.allaboutcircuits.com/textbook/digital/chpt-14/data-flow/)

- [All About Circuits - Finite-state Machine Architecture Applied](https://www.allaboutcircuits.com/textbook/digital/chpt-16/finite-state-machine/)

## ![](ASSETS/encapsule-holistic-24x24.png)&nbsp;Issues

> [&#9652; Top](#encapsule-project "Scroll to the top of the page...")

Please post bug reports to one of the follow issue queues depending on topic:

- @encapsule/holistic [GitHub Issues](https://github.com/Encapsule/holistic/issues) - Holistic platform RTL + appgen issues.

- @encapsule/arccore [GitHub Issues](https://github.com/Encapsule/ARCcore/issues) - Core data RTL issues.

- @encapsule/arctools [GitHub Issue](https://github.com/Encapsule/ARCtools/issues) - Core data tools and RTL issues.

## ![](ASSETS/encapsule-holistic-24x24.png)&nbsp;Discussion

> [&#9652; Top](#encapsule-project "Scroll to the top of the page...")

Join the [Holistic App Platform Discussion](https://groups.google.com/a/encapsule.io/forum/#!forum/holistic-app-platform-discussion-group "Google Group for Holistic App Platform topics...") (Google Group) -- A group for discussion of Holistic App Platform runtime libraries, tools, design patterns, service architecture, and related topics.

> [**&#9666; Holistic App Platform**](../../README.md#encapsule-project "Back to the main Holistic App Platform REAMDE...")

<hr>

[![Encapsule Project](ASSETS/blue-burst-encapsule.io-icon-72x72.png "Encapsule Project")](https://encapsule.io)

Copyright &copy; 2022 [Chris Russell](https://github.com/ChrisRus) Seattle, Washington USA

Published under [MIT](LICENSE) license by [Encapsule Project](https://encapsule.io)

Please follow [@Encapsule](https://twitter.com/encapsule) on Twitter for news and updates.