Levure App Collaboration Framework

Levure is a framework that takes the pain out of working in teams and organising your code

Community Community Plus Indy Business

Levure is an application development framework for LiveCode. It helps you organize, develop, and package your application for distribution. It is suitable for intermediate to advanced developers who want to develop cross-platform LiveCode applications. The framework provides the underlying infrastructure you

need to create professional-grade applications on Mac, Windows, iOS, and Android platforms. It allows you to focus on making your application unique and valuable instead of spending time working on features common to many applications. Using the framework saves you time and makes you more productive.

Levure organizes your application into discrete parts using the file system

  • Each library, user interface stack, front script, and back script is an individual file in the file system. Levure gathers everything up when you open your application in the LiveCode IDE.
  • You can browse the contents of your application using your favorite file browser.
  • You can add stacks and assets to your application by adding them to your application folder.

Levure uses text-based YAML files for configuration

  • The application configuration file is written in YAML (.yml).
  • YAML files which are human readable and don’t require you to open up the LiveCode IDE to peruse and edit them.
  • Define all files that will be packaged with your application for distribution using YAML. Easy to write. Easy to read.

Levure is efficient when it comes to loading your user interface stacks

  • User interface stacks are loaded on an as-needed basis.
  • All user interface stacks can be referenced by name, no need to specify the file path.
  • Set the destroyStack of your user interface stacks to true and they will be removed from memory when closed.

Levure works with version control systems

  • Configuration files are text based.
  • Encourages you to use script only stacks for all application logic.
  • The only place that traditional LiveCode binary stack files (which are unreadable by version control) need to be used is for the visual user interface. Each user interface stack is stored individually. Once the UI is designed in a binary stack using the LiveCode development environment, the scripts for the stack and its objects are attached as behaviors.
  • Create a detailed history of changes made to your application using your favorite version control software. Every change to your code can be recorded and rolled back if necessary.
  • Never accidentally save changes made to your code while debugging. Every change is seen by your version control software.
  • Work on multiple features at the same time in isolated work areas using your version control software. Only bring the changes into your application when they are complete.
  • Have multiple developers work on your project.

Levure is extensible via Helpers

  • A helper is a folder with a configuration file, stacks, externals, modules, and assets.
  • A helper adds a specific feature to your application. Just drop the helper folder into your application folder and the new feature is available.
  • A helper can make libraries, front scripts, back scripts, externals, modules, or user interface stacks available to your application. Anything that is needed in order to implement the feature can be a part of the helper folder.

Levure is a third party open source framework, free to use, created and contributed by Trevor DeVore. Learn more about Levure on this wiki, or join the open source group on github.

Heather LaineApp Collaboration Framework: Levure