• Plugin Architecture

    General Questions
    2
    0 Votes
    2 Posts
    211 Views
    Christoph HartC

    @oskarsh Just be aware that there is a sweet spot how how much "architecture" your plugin requires. You can easily overcomplicate the development with a concept that tries to generalize every single aspect.

    As for software paradigms, the one that I found most useful in plugin development is the broadcaster / listener paradigm (aka. observer pattern). model (check the broadcaster system for a inbuilt system that enforces this paradigm). you basically define event sources and attach stuff that reacts to it in a separate step. This removes much of the logic from the actual coding and the scripts become more declarative in nature.

  • 6 Votes
    20 Posts
    746 Views
    A

    @d-healey Okay, thanks. Will probably be using lots of those then. :)