Skip to content

Investigate improving data flow through the application #49

Description

@kjkm

Currently, Forge modules cannot easily pass data back and forth. This forces modules to either be strongly coupled to each other or for the developer who is using Forge as a library to build some sort of connection between modules (see controller.js). An example of this is the drawBuffer and how it is shared between the render context and input context objects.

It would be useful if we had some way to more easily pass information between modules. Some ideas include an event manager module to allow modules to register callbacks with other modules or some sort of publisher-subscriber inter-thread communication message-passing layer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions