Mobile App Architecture: Coding Standards, State Management, and APIs

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/22

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering core mobile software architecture, visual block programming standards, state management, exception handling, data persistence, and hardware sensor versus web API integration.

Last updated 11:49 PM on 10/19/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

23 Terms

1
New cards

Spaghetti Blocks

A messy tangle of unstructured visual block programming logic that becomes difficult to read, test, or debug as mobile applications scale.

2
New cards

Standardized Naming Convention

An engineering rule requiring a 3-letter component prefix (such as btn_, txt_, or lbl_) paired with a camelCase functional name for predictability and maintainability.

3
New cards

Global Scope

A variable scope that remains accessible across the entire application lifecycle and should be used sparingly to prevent accidental data overwrites.

4
New cards

Local Scope

A variable scope strictly confined within an executing block stack that releases its memory immediately upon completion of the block.

5
New cards

Guard Clause

A programming design pattern that evaluates invalid conditions first and exits early before main business logic executes, avoiding deeply nested conditional code.

6
New cards

Fail Fast Principle

The architectural practice of checking for bad or invalid user inputs at the very top of a block stack to halt execution before calculations occur.

7
New cards

DRY Principle

An acronym for 'Don't Repeat Yourself,' stating that if a visual block stack appears more than once, it must be converted into a parameterized procedure.

8
New cards

Void Procedure ('do')

An AppInventor procedure type that executes a designated series of actions without returning an output value.

9
New cards

Function Procedure ('return')

An AppInventor procedure type that executes calculations or data transformations and returns a result value.

10
New cards

Reliability

The probability that software will perform its intended function without failure for a specified duration, anticipating unexpected conditions without crashing.

11
New cards

Efficiency

The degree to which software uses device resources optimally, executing smoothly without unnecessarily consuming memory, battery, or data limits.

12
New cards

State Management

The process of preserving application status, user data, and UI conditions across lifecycle events such as pausing, screen rotation, and app switching.

13
New cards

Transient State

Temporary data (such as active search box text or scroll position) that must survive UI disruptions like screen rotations, but clears when the app is closed.

14
New cards

Persistent State

Long-term data (such as login tokens, preferences, or high scores) stored in non-volatile storage that persists even after the app or device shuts down.

15
New cards

TinyDB

An on-device, non-volatile local storage mechanism offering zero latency and 100% offline access, but whose data is permanently lost if the app is uninstalled.

16
New cards

WebDB

A cloud storage mechanism hosted on remote servers accessible via the internet that facilitates multi-user sync, but requires active connectivity and introduces network latency.

17
New cards

Hardware Sensor

A local physical device component that detects environmental changes or movement and converts them into electrical signals without requiring internet connectivity.

18
New cards

Web API

Application Programming Interface; a software intermediary functioning as a digital waiter that transmits client requests to a remote server and brings data back.

19
New cards

JSON

JavaScript Object Notation; a lightweight, standard text data format utilized by web APIs to return structured information to an application.

20
New cards

API Endpoint

The specific web address (URL) an application queries to retrieve or transmit targeted data via an API.

21
New cards

Motion Sensors

Hardware sensors—specifically the accelerometer and gyroscope—that measure physical tilt, orientation, and device shake.

22
New cards

Position Sensors

Hardware sensors—including GPS and magnetometer—that measure geographic location coordinates and compass heading.

23
New cards

Request-Response Lifecycle

The four-stage API communication flow comprising Request (calling an endpoint), Process (authorization and retrieval), Response (returning JSON), and Parse (UI decoding).