Old Handler Model

Previously handler and script metadata was stored in folders with an attempt to separate concerns between data and metadata.

The purpose of this separation of concerns was that there were a lot of small files, and then images and help text which were not strictly needed for the code to function - the aim was to make it easy to remove the help (metadata) by keeping it al in a separate folder, while protecting the important scripts.

However this was somewhat confused in that the real data was the actual scripts - and not the individual handlers that were saved to disk for speed of precessing reasons - and the metadat itself is better represented as a structured wiki-page - ie a single json file.

Handlers, their calls and their metadata were stored in a folder that reflects the folder structure of project and object scripts:

# Scripts Scripts are stored as merge files inside the dataObject_Folder eg:

/lcw_User/ lcw_Metadata/ LCW/data/objects/ stack/ lcw_script.txt

# Handlers Handlers and calls are stored inside the dataObject_Folder:

M someCommand/lcw_handler.txt

put the dataObject_Folder of this stack => ~/Documents/My LiveCode/Plugins/lcw_User/ lcw_Metadata/Display SVG/ data/objects/stack/

- put _ConstructHandlerFolder (hKey, objectScriptFolder) into hkeyFolder

# Handler Metadata

While hander graphs and dependency arrays are stored inside the metadataObject_Folder:

handlers/M someCommand/lcw_handler.txt

put the metadataObject_Folder of this stack => ~/Documents/My LiveCode/Plugins/lcw_User/ lcw_Metadata/Display SVG/ metadata/objects/stack/

# lcw_User Project