duality-docs icon indicating copy to clipboard operation
duality-docs copied to clipboard

Write an Article on "Plugin Handling"

Open ilexp opened this issue 8 years ago • 0 comments

Summary

Write a wiki article that deals with how Duality handles plugins and plugin reloads in the editor. This came up in a conversion on the chat, see here:

conversation

Analysis

  • Core and editor plugins
  • How they are loaded
  • How they are re-loaded
  • In which cases is a restart required and why
    • Why both need to be re-loaded when B depends on A and only A changes.
    • Why a restart is required on dependent reloads.
    • Why a restart is required on editor plugin reloads.
  • Approaches to reducing the frequency of restarts.
    • Define a common, infrequently changed "base" plugin A, and let core plugin B and editor plugin C depend on it, but not on each other.

ilexp avatar Feb 24 '18 13:02 ilexp