Home ProjectsThe Computus Engine Some thoughts on application architecture

Some thoughts on application architecture

by John

Although I’m not entirely sure how this project will turn out I have some pretty grand ideas. It should be a temporal plaything. An inspirational tool for the exploration of time that uses interactive visualisation to promote fresh ideas and understanding. If you strip it right back though, it’s a visual representation of time: I’m building a clock.

The application architecture in patterns
The structure of the application is incredibly simple. Considered in terms of MVC there will be a single centralised Timekeeper class (the Model) and any number of visual representations (Views) of that data source. Updates to the Model are broadcast to the Views via the Observer pattern.

This architecture is simple and infinitely extensible. Each view takes care of redrawing itself to represent the current state of the model. An Observer style event dispatcher is already baked into the AS3 programming language. This is easily inherited by extending EventDispatcher or any of the base UI classes.

You may also like

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.