For each application that you create, you will have to model the objects that will hold the application's data. Representation of your objects on TipoTapp platform is done by creating
What is a Tipo?
A Tipo is similar to Class in object orientation or Table in a database. The only difference is that a Tipo contains a lot of metadata for each field, enabling it to completely render your application without requiring you to write any code
For example, in a hospital management application, you might have the following Tipos:
Department, etc. Each Tipo has fields that define its data. For example, the
Doctor Tipo might have the fields
Social Security Number,
Other than holding the object fields, Tipos can also be used to modify the layout, controls, and business logic of your application.
Where to create a Tipo?
Make sure you are in develop mode to build and manage your app. To get into develop mode, click on the spanner icon in the top right corner of the navigation bar. Then choose the
Manage Tipos option and select the plus button to the far right of the
Manage Tipos header.
Additional Configurations for a Tipo
The image below shows the tabs included in the create tipo screen. There are three tabs, the basic tab is where you start to add fields in a Tipo. Other tabs will be explained later.
To start off, give your Tipo a name and add fields by clicking on the plus button in the
Fields section. The only important fields at this stage are the sequence and field name. Sequence decides the order in which the field will appear to your users while Field name decides the name for that field.
Once a Tipo is created, it will have many fields in a certain order. Let's examine, how the result appears to your users once the Tipo creation is complete. By default, every app has
Customer tipo embedded as an example.
Customer is also added to the Home menu by default when you create a new app. How to add tipos to menu will be explained later. To understand how the platform automatically renders views and forms, click on the
Home button at the top right corner and access
Customer from the left menu.
When your user accesses a Tipo, the immediate screen you see is a
List View , where you can find list of objects for a given Tipo. In the case of customer, you'll find the list of customers in this view as shown below.
When you click on any of the customers in the list view, you'll see the following view. This is the view displayed to the user and is normally referred to as
Detail View .
When you click on the edit symbol at the far right end of the customer header, you'll enter the edit mode. Here, you can change any of the information presented to that particular customer. This view is normally referred to as
Edit View .
Create view looks very similar to the edit view. It can be accessed from the list view by clicking on the plus button at the far right end of the customer header.