Patches

Overview

Patches are the building blocks used for building an app.

Patch

Patch

Application logic, views and behavior.

Patches are nodes used to construct the application workflow, created with the Patchwork tool in the app editor.

These nodes are connected to each other through inputs and outputs.

Patches can be used with connections to create a navigation.

The Main Menu patch is added by default when you create a new app. As the name implies, this patch governs the menu system in your app.
One patch always is the app’s Home Patch, the starting page if you will.

Main Types

There are a few different main types of patches in Appspotr 3. Each of these types in turn contain a number of different patches for different purposes.

View Patches

A View patch contains a view, which displays information or provides functions to the app user.

There are 3 default events for each View Patch.

  1. onPatchLoad - This event is triggered each time the patch is in focus on the app. This event can be connected to both views and logic blocks. Therefore, the onPatchLoad event can be used to structure the navigation flow.

  2. onStart - Triggers only once. Killing the app and relaunching will trigger the event again. Can only be connected to logic blocks.

  3. onFocus - Triggers every time the respective patch is on focus in the app. Can only be connected to logic blocks.

List View Patches

List Views are patches that can show content in the form of a list. A list view patch can contain lists, galleries, maps, or other information. The list content is provided by other sources, usually a dataset.

Navigation Patches

Navigation Patches are used for menus and navigating in the app.

An app always has at least one Main Menu.

Logic Patches

Logic patches are used for manipulation and other behavior in the app.

Patch access