OHDSI/ArachneUI

Name: ArachneUI

Owner: Observational Health Data Sciences and Informatics

Description: Network infrastructure for collaborative studies across disparate data nodes and researches

Created: 2017-04-06 13:23:46.0

Updated: 2018-01-05 15:09:41.0

Pushed: 2018-01-15 16:42:21.0

Homepage: null

Size: 13342

Language: CSS

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Arachne

Network infrastructure for collaborative studies across disparate data nodes and researches

Init

After initiating project copy community code into community-src folder:

clone https://bitbucket.org/Odysseus/arachnefront.git community-src

Development guide

Module structure
Contracts
Container

Implements ConnectedComponentBuilder.ts:

rface ConnectedComponentBuilder {
pStateToProps: Function;
pDispatchToProps: Function;
rgeProps: Function;
tFetchers: Function;
ild: Function;

Selectors

Implements ISelectorsBuilder:

rface ISelectorsBuilder {
ild: () => Map<string, Selector<Object, any>>;

Separate functions for retrieving data from state, converting data (accept dependencies as function parameters), and for creation of selectors. E.g.:

s DataCatalogListTableSelectorsBuilder {

tSearchStr(state) {
return get(state, 'routing.locationBeforeTransitions.search', '');


tSearchQuery(searchStr) {
...
return someData;


ildSelectorForGetSearchQuery() {
return createSelector([this.getSearchStr], this.getSearchQuery);


ild() {
return {
  getSearchQuery: this.buildSelectorForGetSearchQuery(),
};



This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.