source: Dev/trunk/docs/DESIGN.txt @ 529

Last change on this file since 529 was 443, checked in by hendrikvanantwerpen, 12 years ago

Reorganized for Node --- the SVN gods hate us all!

Lost all historical info on moved files, because SVN is a f *.

Also we have Node now, serving both the static content and forwarding
database requests.

File size: 1.3 KB
RevLine 
[443]1QED Design
2==========
3
4QED consists of a one-page web app (using Dojo) talking directly to a
5CouchDB server.
6
7Client
8------
9
10A small app framework to handle URL parsing, navigation and
11notifications is implemented in app/.
12
13All code that deals with persisted objects is located in the model/
14folder. This is split into modules that handle data access and widgets
15that can display these objects. The data access includes field access,
16(de)serialization, schema's for checking.
17
18Issues
19------
20
21 * UI is clunky.  Place where model schema is checked, data is
22   serialized (dates) database is accessed is not very clear.
23
24 * Question has too little structure now. Header can be last, no
25   inputs or several. It should have a more fixed structure. Also
26   maybe we want to be able to Include section headers and text in a
27   survey? Double questions still an issue. If questions can be asked
28   multiple times, it might be usefull to include scope? A block in
29   the survey can have scope (e.g. about team red, or team green), the
30   session of a survey can contain scope, date of the question etc.
31
32Server
33------
34
35Currently this is a bare CouchDB server. In the future we will
36probably introduce a small REST interface in Node in between, to
37handle and abstract authentication and maybe search.
Note: See TracBrowser for help on using the repository browser.