Meteor is built on top of Node.js, adding reactive templates (Blaze), a publish/subscribe mechanism (via WebSockets and the Distributed Data Protocol, and a fully integrated client-server MongoDB making it easy to create reactive data elements in the UI.
The OHIF Framework is built as a set of small Meteor packages which can be included as necessary in the final application. Since the logic and templates are largely pushed into packages, the actual application-specific code for each Viewer is relatively short.
In brief, to create a new Viewer application, you need to:
- Define the existing pages and the routes which will lead to them
- Define the overall application layout
- Include child templates from the OHIF Packages into your application layout
- Specify desired template options as necessary (e.g. which tools should appear in the toolbar)