1 | ===
|
---|
2 | QED
|
---|
3 | ===
|
---|
4 |
|
---|
5 | Install
|
---|
6 | -------
|
---|
7 |
|
---|
8 | - Install CouchDB
|
---|
9 | - Install Node.js
|
---|
10 | -
|
---|
11 |
|
---|
12 |
|
---|
13 | File organisation
|
---|
14 | -----------------
|
---|
15 | client/
|
---|
16 | The web application for QED.
|
---|
17 | routes.js
|
---|
18 | Contains the mapping from URLs to pages.
|
---|
19 | run.js
|
---|
20 | The script for starting the web application (the researchers part).
|
---|
21 | stddeps.js
|
---|
22 | Contains many dependencies that are used declarativly in the
|
---|
23 | templates. Maybe it can be deprecated with Dojo 1.8+'s auto require
|
---|
24 | if the build scans templates as well.
|
---|
25 | store.js
|
---|
26 | Module that returns a fully configured store for the rest of the
|
---|
27 | application to use for database access. Handles caching and exposes
|
---|
28 | some common serialization functions.
|
---|
29 | view.js
|
---|
30 | Script that starts the survey part (the respondent part).
|
---|
31 | data/
|
---|
32 | Apache proxy configuration for transparant access to CouchDB.
|
---|
33 | dijit/
|
---|
34 | Dijit library (UI components)
|
---|
35 | dojo/
|
---|
36 | Dojo library (Dojo JS framework)
|
---|
37 | dojox/
|
---|
38 | DojoX library (contrib library for Dojo and Dijit)
|
---|
39 | qed/
|
---|
40 | Sourcecode of the QED application
|
---|
41 | app/
|
---|
42 | Small app framework for handling pages, content, notifications
|
---|
43 | and URL history. Our application is build on this.
|
---|
44 | css/
|
---|
45 | Contains all CSS of the application. Should be distributed better
|
---|
46 | with the widgets. The styling is based on LESS, although a copy
|
---|
47 | of the CSS is still there.
|
---|
48 | model/
|
---|
49 | Contains all code dependent on our model, that is, the concrete
|
---|
50 | representation of our database documents.
|
---|
51 | classes/
|
---|
52 | Smart classes on top of the database documents, to help with
|
---|
53 | creating and validating objects.
|
---|
54 | widgets/
|
---|
55 | All widgets that are specific for objects of our model.
|
---|
56 | pages/
|
---|
57 | The pages in the application. Are wired up to URLs in the routes.js
|
---|
58 | file.
|
---|
59 | store/
|
---|
60 | Dojo Store implementations for Couch and Elastic.
|
---|
61 | ui/
|
---|
62 | Deprecated. Used to contain all widgets, but these are now split
|
---|
63 | between general and model specific widgets. Contains a few widgets
|
---|
64 | that were not yet refactored.
|
---|
65 | widgets/
|
---|
66 | Contains general widgets that are used in our application but do
|
---|
67 | not depend on our model.
|
---|
68 | rx/
|
---|
69 | Rx.JS reactive framework for Javascript
|
---|
70 | rx.dojo.js
|
---|
71 | Custom file to integrate Rx with Dojo.
|
---|
72 | util/
|
---|
73 | Dojo utils (e.g. build infrastructure)
|
---|