Projects Library

On a users local system they will at any time have many project folders containing multiple project stacks. To solve the problem of locating and integrating these projects into an environment we use a Library Of Projects, which we provide access to via the model_LibraryProjects stack.

The Livecode development environment must now about where these projects are so that it can find stacks on disk, and load the necessary metadata into memory. To do this we use a global array that we store in a standard location in the users preference folder.

# Library | Project | Model

The library project array is stored on disk, and loaded into memory when we start the Livecode World environment. To do this the LCW stack contains a model that wraps access to this array in a number of handlers.

This enables us to future proof access to this data which we may seek to store online, in a database, or a decentralised file system in the future.

Livecode World is designed to scale simply to many hundreds of stacks organised into multiple projects.

# Library | Model | Files * library_ArrayFile * library_ArrayFolder