Core Concepts

You build in RUAL by connecting blocks into flows on a blueprint. Flows render pages, answer APIs and react to events, documents live in built-in storage, and saving a blueprint publishes it.

RUAL is a no-code platform you manage from one studio

RUAL is a no-code platform for building ERP/CRM systems, apps and websites. You build all backend logic by placing blocks on a visual canvas; there is no custom backend code. Pages are built the same way, with Web Pages: a template rendered on the server by a flow.

You manage your system in RUAL Studio, the web application at rual.at. From there you manage blueprints, traffic, queue, translations, templates and base settings for your cluster.

A blueprint is a canvas for one component

A blueprint is a large canvas where you design workflows. You place blocks on it and connect them to create flows. Each blueprint is typically dedicated to a specific component: a page, an API or a set of functions, similar to assigning a single class to a file in traditional coding.

Multiple users can work on the same blueprint at the same time. Team members can add comments, group blocks with titles and copy blocks between blueprints. RUAL logs all blueprint modifications automatically, like git commits but with real-time collaboration.

Blueprint Introduction Learn more about navigating blueprints, context menus and saving changes.

Blocks do the work, and their pins say what connects

Blocks are the building units of every flow. There are over 2,000 available, from array and date operations to HTTP requests and Discord integrations. Each block has input pins (in-pins) and output pins (out-pins) that define what data goes in and what comes out.

Pins have types, and only compatible types connect

The most common ones:

  • flow: controls the execution order between blocks, determining when a block runs.
  • value: a string value, such as a name, email or identifier.
  • object: a JSON object with key-value pairs.
Browse All Blocks Explore the full block library, organized by group.

A flow's starting block decides what it does

A flow is a group of connected blocks within a blueprint. Each flow has a starting block that determines its type and purpose. A single blueprint can contain multiple flows of different types.

These are the flow types and their starting blocks

Flow type Starting block Purpose
Page web_page Renders a page on the server from a template. Pages are reached through URLs and can be public or restricted with scopes.
Web action web_action Runs when a button or form on a page of the same blueprint calls it, and answers with only the parts of the page that changed.
Function trigger_custom_function Creates a reusable function that can be called from other flows or blueprints. Functions are private by default.
API on_startup_register_uri_{method} Registers an API endpoint (GET, POST, PUT, PATCH, DELETE or file upload) that can be called by external services or your frontend.
Storage Event storage_event Executes when a document is created, updated or removed in a specific storage.
Repeating Event schedule_repeating_event Executes at a recurring interval, similar to setInterval() or crontab.
Existing pages may start at state_page Older pages start at state_page, and older modals at state_flow_modal. They still run, but state pages and UI components are deprecated: new pages use Web Pages. The migration guide shows which web block replaces what.

Flows work together around your data

In a typical app:

  1. A page renders a form

    A Page flow answers the URL with a server-rendered template.

  2. A web action handles the submit

    It validates the input, creates a document in storage and answers with the one row that changed.

  3. A storage event reacts to the write

    It picks up the new document and sends a confirmation email in the background.

  4. An API serves other systems

    External services query the same data through an endpoint.

  5. A repeating event keeps statistics

    Every hour it generates statistics and caches them in Redis.

Functions can be called from any flow type using the function_custom_execute block. Public functions can be called across blueprints, while private functions are only accessible within their own blueprint.

Storage is schema-less JSON, updated through mutations

RUAL includes a built-in, enterprise-scale storage system with full-text search. Storage is JSON-based and schema-less, so you don't need to predefine structures. It does not support relationships between entities, so include all necessary data within each document (denormalization).

Documents are updated using mutations, a transaction-based system that processes updates sequentially. This makes counters and array operations safe to use without race conditions.

Storage Learn how to create documents, build search queries, model data and manage document lifecycles.

Activate turns a blueprint on, Save makes changes live

All elements of a blueprint are inactive by default. Before its pages, APIs or events respond, activate the blueprint with the switch in the top bar, which reads Inactive until you click it.

Your edits stay unsaved until you press Save. Saving publishes them: on a current core there is no separate deploy step. To try a change first, simulate your unsaved edits; a simulation writes nothing. See How to Deploy, also for clusters on an older core.

Getting Started Tip If you are new to RUAL, start with the Quickstart, then read the Blueprint Introduction to learn how to navigate and work with blueprints, and the Tips & Tricks for productivity shortcuts.

Next steps

Build Your First CRUD App Put these concepts together: a page, web actions and storage. Block Execution Learn how blocks execute, including parallel flows, dataflow and error handling. Cluster APIs More than 240 built-in REST operations for managing your cluster.

Frequently asked

What is the difference between a blueprint and a block in RUAL?

A blueprint is the canvas that holds one piece of logic, such as a page, an API endpoint or a scheduled job. A block is a single step inside it. You build a flow by connecting blocks on the blueprint.

What is the difference between activating and saving in RUAL?

Activating turns a blueprint on, so its pages, APIs and events respond at all, and you do it once. Saving publishes your edits. A current core has no separate deploy step; only cores from version 14 and earlier deploy separately.