-
Notifications
You must be signed in to change notification settings - Fork 6
Architecture
Kai Xu edited this page Oct 12, 2023
·
28 revisions
This is the bare minimal historymap (v0.1). All the other parts, such as content script and data storage, will be added later.
As everything in life, the SenseMap architecture evolves over time, too. Hopefully for the better :-)
- Added user login
- Added database
- The model/data is no longer shared between the MVCs.
The new architecture tries to follow the model-view-controller pattern
- Each view has its own controller;
- Each view has its own provenance (model);
- This way it should be easy to add new views (such as comparison support for online shopping);
- There may be similarities between the views, for example the 'history map' and the 'knowledge map'. This will allow reuse part of the code for view, controller, and provenance.
- Each top level directory in the js source code contains one set of module-view-controller, such as those for the 'browser view'.
This is the current architecture of the rebuild branch:
Missing Features for Online Study
Behaviour: Node and Edge Creation
Testing and Behaviour Driven Development (BDD)
Video: Testing with Jasmine and Sinon-Chrome
Video: overview of SenseMap code
Video: browser features in the old 'master' branch
How browserProvenance.js works
Video: create REST API for MongoDB using Node.js