Come Funziona

Una piattaforma metadata-driven a tre livelli: Designer, Server, Client. Un diagramma, tutto il quadro.

GTmeta
Architettura a blocchi

Piattaforma enterprise metadata‑driven a tre livelli: Designer, Server, Client.

3 tier
Designer · Server · Client
Separazione
struttura ⁄ esecuzione
DESIGN-TIMEsulla workstation dello sviluppatore
GTS Designer
GTSL · Lazarus/FPC · Windows e Linux · macOS in test
editor metadati visualemeta-circolare
File metadati SQLite (locale)
1 file = 1 applicazione · GTS_<CODE>.db
43 tabelle metadatiSQL · form · azioni · toolbarispezionabile · zero lock-in
RUNTIMEi componenti interpretano i metadati: nessun codice specifico per applicazione
GTmeta Client
Angular + Ionic · motore di rendering da metadati (SPA)
Web
GtsDataService · cache metadatiAG GridAngular MaterialjsPDF · ExcelJSiOS · Android (Capacitor): previsti
nginx (reverse proxy / edge)
serve il build Angular statico e instrada le API
serve dist/ (statici)proxy /api → :3000TLS · Let's Encryptgzip
GTmeta Server
Node.js (LTS) · Express (ES Modules .mjs) · REST API
import metadati SQLite → Mongoauth JWT + 2FA (TOTP)proxy dati · esecuzione azioniconnection poolingorchestrazione AI
Portale di gestione GTSW: il portale amministrativo di GTmeta è a sua volta un progetto metadata-driven, costruito con la stessa tecnologia di tutti i progetti GTmeta. Accessibile ad amministratori e developer.
MongoDB
store metadati runtime · 4 database · Atlas o on-premise
GTSauth
utenti · ruoli · connessioni DB · config progetto
GTSdata
metadati (pages/sql/menu) · config & sessioni AI · cache utente
GTSlogs
audit: auth · query DB · report
GTSmeta
copia 1:1 delle tabelle SQLite · ri‑scaricabile identica
Business DB
dati applicativi · pool per connessione
OraclePostgreSQLSQL ServerMongoDB
Connessioni multiple simultanee, instradate per CONN_CODE.
Multi-azienda: un CONN_CODE per società (es. GTR teleriscaldamento).
Credenziali AES-256.
Provider AI
chat & generazione report
Claudealtri provider a richiesta
Componenti gts-ai-chat e gts-ai-analyzer.
System prompt e contesto configurati per progetto in GTSdata.
Report AI: Handlebars + Puppeteer (PDF).
flusso runtime, REST / HTTPupload / import, una tantum (design-time)
Docker · nginx + Node + MongoDB + PGCloud · nginx + Node · MongoDB Atlas · TLS

Frontend

Angular

Latest Angular, built entirely with standalone components.

Ionic

The client is written with Ionic: one codebase for the web, ready to be packaged for iOS and Android.

AG Grid

Industry-leading data grid with virtual scrolling handling millions of rows.

Angular Material

The form fields, dialogs, menus and trees of every page. Built by the Angular team and released together with Angular.

Backend

Node.js

High-performance JavaScript runtime with ES Modules and native async/await.

MongoDB

Flexible document database for metadata, data and configuration storage.

Express.js

Minimal, robust web framework powering the REST API layer.

Claude AI

Anthropic's Claude integration for intelligent form assistance and data analysis.

DevOps

Docker

Containerized deployment for consistent environments across development and production.

Capacitor

The bridge that turns the Ionic client into a native iOS or Android app, with access to device APIs, when a project needs one.