AppAlloy Documentation
Home
  • Glossary
  • 🚀Getting Started
    • Introduce AppAlloy Documentation
    • Build your first AppAlloy app
    • From sheet to app
  • 🗃️Data management
    • Learn data structure
    • Set up data source
      • Integrate with Google Sheets
      • Integrate with Microsoft Excel
      • Build Alloy table
      • Upload local file
    • Manage data type
    • Ultimate guide for data sheet
  • ⚒️Manage table views
    • Design Record View
    • Design Actions
      • Update current record
      • Delete current record
      • Delete many records
      • Create record
      • Open external URL
      • HTTP Request
      • Open phone call popup
      • Open SMS Popup
      • Open email popup
      • Send notification
    • Design Record Components
      • Plain Text
      • Phone number
      • Email
      • URL
      • Map
      • Barcode
      • Checkbox
      • Number
      • Currency
      • Rating
      • Voting
      • Date time
      • Relative date
      • Count Down / Count Up
      • Single Photo
      • Photo Gallery
      • Carousel
      • Audio Player
      • Video Player
      • Youtube Player
      • Vimeo Player
    • Design Form View
    • Design Form fields (synced tables)
      • Text (for synced tables)
      • Number (for synced tables)
      • Date time (for synced tables)
      • Checkbox (for synced table)
      • Options (for synced table)
      • Photos (for synced table)
      • Files (for synced table)
      • Table lookup (for synced table)
      • Signature (for synced table)
    • Design Form fields (Alloy tables)
      • Single line Text (for Alloy table)
      • Long Text (for Alloy table)
      • Phone number (for Alloy table)
      • Email (for Alloy table)
      • Barcode (for Alloy table)
      • Number (for Alloy table)
      • Currency (for Alloy table)
      • Checkbox (for Alloy table)
      • Date (for Alloy table)
      • Photos (for Alloy table)
      • Files (for Alloy table)
      • Single select (for Alloy table)
      • Multiple select (for Alloy table)
      • Address (for Alloy table)
      • Table lookup (for Alloy table)
  • 🎨Manage pages
    • Manage page types
    • Design 'View From' Page
    • Page Layouts
      • List Layout
      • Grid Layout
      • Card Layout
      • Map Layout
      • Checklist Layout
      • Calendar Layout
      • Kanban Layout
    • Design Canvas View Page
    • Canvas Charts
      • Line chart
      • Area Chart
      • Pie Chart
      • Donut Chart
      • Column chart vs. Stacked Column chart
      • Bar chart vs. Stacked bar chart
      • Table
    • Design Form of... Page
  • ⚙️Manage workflow
    • Introduce Workflow
    • Design a workflow
  • 🔌Manage Integration
    • Manage AppAlloy Integration
    • Manage Slack Integration
    • Manage Gmail Integration
    • Manage Google Drive Integration
    • Manage Google Calendar integration
  • 📱Manage App Settings
    • Manage app appearance
  • 🌎App distribution
    • Publish your app
    • Use app as Mobile Web app
    • Use app on AppAlloy Air
  • 🚹Account, team, and plan
    • Manage Account
    • Manage Apps
    • Manage Users
    • Manage Plans
    • Manage Teams
  • #️⃣Learn Power FX
    • Introduce Power FX
    • Operators & Identifiers
    • Formula References
      • Average
      • Concatenate
      • Date
      • DateAdd
      • DateDiff
      • DateValue
      • DateTimeValue
      • Day
      • If
      • Month
      • Now
      • Rand
      • RandBetween
      • Round
      • RoundDown
      • RoundUp
      • Sum
      • Text
      • Today
      • Weeknum
      • Weekday
      • Year
Powered by GitBook
On this page
  • Basic data structure
  • Organize data with table
  • Table Components
  • Table Features
  • Example of a table
  • Why structure data with tables
  • What's next?

Was this helpful?

  1. Data management

Learn data structure

Explore how to understand data structures through table structures with this comprehensive guide, simplifying complex concepts for practical application.

Last updated 9 months ago

Was this helpful?

Basic data structure

AppAlloy makes the app development without code possible. But before you dive into building amazing apps, there's a foundational concept to understand: data structures.

The data structure is the backbone of your app. It determines how data is organized, stored, and accessed, influencing user experience and the app's overall functionality.

In AppAlloy, we encourage non-code developers to use the table with rows and columns for the data structure.

Organize data with table

Table Components

  • Table: Think of a table as a page in a notebook where you write down related information about a particular topic, like a list of customers.

  • Rows: Each row has details about one specific item or person. For example, each row in a customer table would be about one customer.

  • Columns: Columns describe what kind of information is in each part of the row. For example, columns in a customer table might be Name, Email, and Phone Number.

  • Cells: Cells are the little boxes where a row and a column meet. Each cell holds one piece of information, like a customer’s email address.

Table Features

Primary Key

A primary key is a unique identifier for each row. It’s like a unique ID card for each entry, ensuring no two rows are the same. For example, a CustomerID.

Foreign Key

A foreign key is used to link two tables together. It’s like saying, "This order belongs to this customer."

Data Types:

Data types tell what kind of information can go in each column. For example:

  • Numbers (like ages or prices)

  • Text (like names or addresses)

  • Dates (like birthdays)

  • True/False (yes or no answers)

Example of a table

Imagine you’re building a no-code app to manage a small store. Here’s how you might set up your tables:

Customer Table

CustomerID
Name
Email
PhoneNumber

1

John Doe

john@example.com

123-456-7890

2

Jane Smith

jane@example.com

234-567-8901

3

Bob Brown

bob@example.com

345-678-9012

Orders Table

OrderID
CustomerID
Product
Quantity
OrderDate

1

1

Widget A

3

2024-06-01

2

2

Widget B

1

2024-06-02

3

1

Widget C

2

2024-06-03

  • Customer Table: Lists all customers.

  • Orders Table: Lists all orders and links to the Customer table using CustomerID as a foreign key.

In your no-code app, you can use these tables to:

  • Display a list of customers.

  • Show orders for each customer.

  • Add new customers and orders.

  • Update or delete existing entries.

By structuring your data this way, your no-code app will be organized, making it easy to build features and manage your information effectively.

Why structure data with tables

While advanced storage solutions like Firebase offer great functionality, for no-code developers building a database in AppAlloy, tables offer several advantages:

  • Tables are familiar, we've all encountered spreadsheets with rows and columns.

  • Table makes it easy to understand, and manage your data, especially when you're a newbie to the database.

  • Tables organize information in rows and columns, allowing you to quickly find, edit, and manipulate your data without requiring you to be a data engineer.

  • As your app complexity grows, tables can handle data relationships efficiently and in a beginner-friendly way

    For example, by using a "Product ID" in the "Orders" table that links back to the "Products" table, you can establish a connection between ordered items and the product catalog.

  • Tables are the cornerstone of relational databases. Understanding tables helps you with a strong foundation for learning more advanced database concepts later.


Data structures, particularly adaptable tables, are the foundation for building powerful and user-friendly apps, especially in AppAlloy.

By effectively adapting tables to handle data relationships, you'll be well on your way to building feature-rich and successful apps.

What's next?

🗃️

From table to app

Learn the idea behind the concept of how you can turn a table into an app.

Set up data source

Learn about the types of data source and how to set up the database of your app.

Data table ultimate guide

Best Practices with data tables for the effective app development with AppAlloy.