diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-04-04 09:54:06 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-04-04 09:54:06 +0200 |
| commit | 50bd690ddde6a13e596adeee831ac04edf4c8262 (patch) | |
| tree | 09bf2a75938fc24b2f43f7ed76a85cb6e64fde0a /README.md | |
| parent | ad7793f7a8c70b0d5600242c9fac69af6c8137b7 (diff) | |
Add component diagram explanation to README
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -20,7 +20,16 @@ The main application allows the user to construct and simulate a datacenter. To ### Components Under the hood, this looks as follows: -[TODO] + + +#### Entry Scripts +The entry scripts are the first entities triggered on page load of the respective pages. They are responsible for instantiating the corresponding view and controller. + +#### Controllers +In the main web-application, the controllers handle user input and state. They also initiate re-renders of views when a part of their managed state changes. There are different classes of controllers; some concerning themselves with the API connection, others with the different modes of interaction, and others with simulation-specific actions. This all is orchestrated by a central class called the `MapController`. + +#### Views +The views are responsible for drawing content to the canvas. They are split up into different layers, corresponding to the way they are rendered. ## Setup for Local Development |
