One logic layer to rule them all.
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
FAQs
Develop. Deploy. Stay Productive.
Xuda is the platform for frontend developers, providing the speed and reliability innovators need to create at the moment of inspiration.