Last modified 31/10/08 11:44:40
Wizard Package
Package format
A wizard package will be a zip of a directory containing:
- A wizard schema instance (WSI) with the standard name "wizard.wsi" ([source:repo1/trunk/prototypes/wizards/TALL_short-course/wizard.wsi?rev=HEAD TALL Short Course example instance])
- A copy of the WCKER XML Schema ([source:repo1/trunk/prototypes/wizards/WCKER-wizard.xsd?rev=HEAD latest version in source control], documentation)
- Templates:
- A generic template (to build new pages from)
- Boilerplate content files (e.g. existing induction material)
- Template support files (CSS, images)
Rather than a .zip extension, if we use a custom extension, we could associate Reload as the defualt application and directly launch one particular wizard by double-clicking its icon.
Suggested extension: .wwz, as a contraction of WCKER Wizard. There are no obvious pre-existing uses of this extension.
Package loading
When a user selects a wizard to run, the Wcker.Wizard should:
- Load the .wwz wizard package specified as an argument by Wcker.ChooseWizard?
- Unzip the contents to a temporary directory
- Load the .wsi file from the package, and build the wizard pages.