Introduction

mobile android

Overview

In this example, we will be building a minimal app, by doing four things in Appspotr 3:

  1. create three views,

  2. add a dataset,

  3. connect everthing as patches,

  4. test the finished app.

Views

Views make up the user interface for your app. You can think of views as pages or screens.

Views are configured to contain a number of components (buttons, lists, sliders, texts, images and so on), which gives the app user things to see and intreract with.

All created views can used as patches.

Types of view

There are two basic types of view:

View

A self-contained view allowing for information display or user interaction.

cms:editor/design/views/listview-properties/index.adoc

A view to display information from a dataset.

In this example, we will create three different views, which we then can use as patches.

Datasets

A dataset provides the app with data to use for various purposes. Typically it is a table with fields in rows and columns containing different values.

You can create datasets through the Appspotr CMS, and you can use your Appspotr app to add a new item into a dataset, update a dataset item or remove a dataset item.

In this example, we will create a very simple dataset consisting of a number of data items each with a name and description.

Patches

Patches are building blocks that connect together in Patchwork, so that you can visually create the app’s work flow.

Each patch in Appspotr’s CMS has a specific function making it easy to decide which patch to use for a particular task.

There are three types of patches:

Type Function Used for

Navigation

App menus.

Menus and submenus

Views

"Pages" displayed to the app user.

View patches have to be created before they can be used.

Logic

Processing used by the app to achieve various functions.

Login, update lists, handle variables, perform calculations and manipulate data and storage, and more.

In this example, we will only be working with view patches.