One logic layer to rule them all.
The Globals is a logic unit in the Xuda platform serves as a centralized layer for defining shared constants, variables, and functions accessible across all programs and components. It consists of two main parts: a dataset for global fields and an event block for reusable logic such as lifecycle workflow and utility functions. This unit promotes consistency, reduces redundancy, and ensures maintainable, system-wide logic throughout the application.

The Globals is logic unit in the Xuda platform functions as a universal context layer for the entire application. It serves as a centralized mechanism for defining constants, shared variables, and reusable functions that can be referenced by any program, component, or workflow within the system. This unified design promotes consistency in application logic, minimizes code duplication, and ensures that commonly used values and utilities are maintained in a single, authoritative location. Architecturally, the Global logic unit is composed of two primary sections. The first is the dataset definition, which includes globally scoped fields such as constants, configuration parameters, and system-level flags. These fields can be injected into or referenced by multiple programs, enabling interoperability between components and simplifying the management of shared parameters across complex workflows. The second section is the event block, which contains globally accessible programmatic logic. This includes lifecycle workflow (e.g., on_load), utility functions (e.g., date formatting, unique ID generation), and event-driven actions that respond to user interaction or system events. Since this logic is decoupled from any single program or component, it provides a flexible and maintainable way to define behaviors that apply universally throughout the application. In summary, the global logic unit enhances modularity, reusability, and architectural integrity. By allowing all parts of the application to reference shared logic and centralized values, it empowers developers to build consistent, scalable, and maintainable solutions with reduced overhead and increased alignment across the entire application ecosystem.
Available in plans
- free
- pro
- team
- agency
- enterprise

Frequently asked questions
Data unit: Table

Data unit: Table

Logic unit: Component

Logic unit: Get Data

Logic unit: Set Data
Develop.Deploy.Stay Productive.
Build apps, sites and AI agents on one platform, and deploy them on managed infrastructure.