From 8ce7c04fa30f2224483c19dc4ad89a4ec79cc90d Mon Sep 17 00:00:00 2001 From: dannyrb Date: Wed, 24 Apr 2019 22:30:35 -0400 Subject: [PATCH] Business logic --- docs/latest/advanced/architecture.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/latest/advanced/architecture.md b/docs/latest/advanced/architecture.md index 022ceb5bd..2553dbde8 100644 --- a/docs/latest/advanced/architecture.md +++ b/docs/latest/advanced/architecture.md @@ -5,6 +5,22 @@ The [`OHIF/Viewers`](https://github.com/OHIF/Viewers/tree/react) repository contains the source code for the OHIF Medical Imaging Viewer. It is effectively a React [progressive web app](https://developers.google.com/web/progressive-web-apps/) (PWA) that combines the business logic housed in [`OHIF/ohif-core`](https://github.com/OHIF/ohif-core) and the components in our React Component library [`OHIF/react-viewerbase`](https://github.com/OHIF/react-viewerbase). It provides customization for common use cases through [configuration](../essentials/configuration.md) and for adding functionality via [extensions](./extensions.md). The purpose of this documentation is to better illustrate how these pieces work together to create a Viewer and where you should direct your attention for contributions. + +### Business Logic + +Our goal is to maintain the majority of our business logic in [`OHIF/ohif-core`](https://github.com/OHIF/ohif-core). `ohif-core` offers pre-packaged solutions for features common to Web-based medical imaging viewers. For example: + +- Hotkeys +- DICOM Web +- Hanging Protocols +- Managing a study's measurements +- Managing a study's DICOM metadata +- A flexible pattern for extensions +- [And many others](https://github.com/OHIF/ohif-core/blob/master/src/index.js#L49-L69) + +It does this while remaining decoupled from any particular view library or +rendering logic. While we use it to power our React Viewer, it can be used with Vue, React, Vanilla JS, or any number of other frameworks. + ![Architecture Diagram](../assets/img/architecture-diagram.png)
architecture diagram
\ No newline at end of file