Skip to content

QuantumWeb applications from declarative pages

Database, forms, sessions and AI in the language. No build chain, no JavaScript, no front-end framework.

Welcome to Quantum ​

Quantum builds web applications from declarative XML pages β€” the same page also runs in a terminal and in a desktop window. Inspired by ColdFusion and Adobe Flex, it lets you build internal tools, dashboards and AI applications without writing JavaScript. Why Quantum?

Quick Example ​

xml
<q:component name="UserList" xmlns:q="https://quantum.lang/ns">
  <!-- Query the database -->
  <q:query name="users" datasource="mydb">
    SELECT id, name, email FROM users WHERE active = 1
  </q:query>

  <!-- Display results -->
  <q:loop query="users">
    <q:return value="User: {users.name} ({users.email})" />
  </q:loop>
</q:component>

Key Features ​

Core Language ​

  • Components - Reusable .q files with parameters and return values
  • State Management - q:set for variables with validation and type checking
  • Loops - Range, array, list, and query iterations with q:loop
  • Conditionals - Full q:if/q:elseif/q:else support
  • Functions - Define reusable logic with q:function

Screens (ui:*) ​

  • A core set - windows, boxes, panels, tables, lists, forms and fields (UI)
  • Three renderers - browser, terminal and desktop window, from the same page
  • Forms from actions - fields, rules and errors come from the action's q:param
  • Tables from queries - pagination, search as you type, sortable and editable cells

Backend Features ​

  • Database Queries - SQL with parameters, schema plans, change history, quantum check
  • Authentication - Session management and role-based access control
  • Data Import - JSON, CSV, and XML data sources
  • Files and Mail - Uploads, protected downloads and q:mail (guide)
  • AI - q:llm with sources and streaming, q:knowledge, q:agent (guide)

Philosophy ​

Simplicity over configuration

Quantum prioritizes readability and ease of use while maintaining powerful capabilities. If you know XML and SQL, you can build full applications.

Getting Started ​

bash
pip install quantum-framework
quantum start          # in an application folder; the guide builds one step by step

Read the full Getting Started guide

Quantum Framework - Simplicity over configuration