Ticket #372 (closed Enhancement: fixed)

Opened 8 years ago

Last modified 8 years ago

Load particular scripts before the plugin

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.1
Component: DeepaMehta Standard Distribution Version: 4.0.12
Keywords: Cc: dgf, Malte
Complexity: 3 Area: Application Framework / API
Module:

Description

Currently the Webclient loads all plugins and their components asynchronously. While this speeds up startup time difficult situations may occur synchronization-wise. That is when a plugin provides helper script files that must be loaded *before* the plugin itself (main file and renderers) is loaded. E.g. a plugin provides 2 renderers which rely on a common base class. The base class must be loaded (synchronously) *before* the renderers are loaded. The plugin framework should make it easy for the plugin developer to deal with that situation.

A simple generic approach: the framework regards the plugin's script/helper/ directory special. All files located there are loaded synchronously *before* the plugin is loaded, that is its main file and the renderers.

Change History

comment:1 Changed 8 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 8 years ago by Jörg Richter

Load particular scripts before the plugin (#372).

The plugin framework regards the plugin's script/helper/ directory special.
All files located there are loaded synchronously *before* the plugin is loaded.

See ticket 372.

comment:3 Changed 8 years ago by Jörg Richter

Load particular scripts before the plugin (#372).

The plugin framework regards the plugin's script/helper/ directory special.
All files located there are loaded synchronously *before* the plugin is loaded.

See ticket 372.

comment:4 Changed 8 years ago by Jörg Richter

Load particular scripts before the plugin (#372).

The plugin framework regards the plugin's script/helper/ directory special.
All files located there are loaded synchronously *before* the plugin is loaded.

See ticket 372.

comment:5 Changed 8 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.