aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPjotr Prins2016-06-26 07:39:36 +0000
committerPjotr Prins2016-06-26 07:39:36 +0000
commiteb68b396be51c98e9e9a9027f8b1bb9b05e692c0 (patch)
treeeaea5f0b045801467439e88e2b6a61f7a2dfe764 /doc
parentea06bc0a8d20c6f5fac55dc652fa7ca8e976bd84 (diff)
downloadgenenetwork2-eb68b396be51c98e9e9a9027f8b1bb9b05e692c0.tar.gz
Doc: info on JS wiring of tables
Diffstat (limited to 'doc')
-rw-r--r--doc/Architecture.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/Architecture.org b/doc/Architecture.org
index b9e8e355..ed19889c 100644
--- a/doc/Architecture.org
+++ b/doc/Architecture.org
@@ -36,6 +36,14 @@ receiving template lives at [[https://github.com/genenetwork/genenetwork2/blob/m
For what happens at the database level see [[database.org]].
+A view consists of an HTML template with JS libraries for managing
+menus, tables etc. For example, for the search results see the
+[[https://github.com/genenetwork/genenetwork2/blob/master/wqflask/wqflask/templates/search_result_page.html][search_result_page.html]] which is a Flask template. The first section
+puts the search in plain English, e.g. 'We searched Hippocampus
+Consortium M430v2 (Jun06) PDNN to find all records with MEAN between
+15 and 16 and with LRS between 23 and 46.'. Then the results are added
+to a table which is displayed using a JS [[https://datatables.net/][DataTable container]].
+
** GnServer (REST)
The [[https://github.com/genenetwork/gn_server][GnServer REST API]] is built on high performance [[http://elixir-lang.org/][Elixir]] with [[https://github.com/falood/maru][Maru]].