artofsequence / aos-designer

Digital Story Editor
Other
4 stars 3 forks source link

Back-end/Front-end isolation #1

Closed Klaim closed 11 years ago

Klaim commented 11 years ago

The 'core' part of the code should be totally isolated from the 'view' part:

One way to do this is to m,ake core and view as separate libraries. Then core should have some way to communicate with whatever system is used for visualization, but should act as a black box, relying on it's own thread-safe internal system. Core would expose a function to receive events, which should be used by the visualization system as frequently as possible to modify output according to changes quickly. All changes would go through requests (as functions) that should not be assumed to be synchronous.

This change a lot how the current code is orgniazed but should be benefic on the long term.

Klaim commented 11 years ago

Work on this is happening in this branch: https://github.com/artofsequence/aos-designer/tree/feature/back-front-ends-separation

I'll merge it with develop branch sometimes because it's a big architectural change.

Klaim commented 11 years ago

Work on this is now in the develop branch.

Klaim commented 11 years ago

The isolation is done but the code is not stable yet. Will close this issue once it is.

Klaim commented 11 years ago

The front-end is not stable yet but it's still isolated enough that I will close this issue.