Databoard is the core engine of ANTSAND. It is a visual website compiler that transforms structured JSON configuration into deployed full-stack websites, complete with controllers, views, routing, access control, styles, and assets.
A page is not hand-coded first. It starts as structured data, then H/B/F templates render it into consistent HTML.
Real content lives under module data such as databoard.menu, notes, forms, ecommerce, media, or groups.
Each section maps source content into api_data. The first mapping path is the destination; the second path is the source.
The section chooses a renderer such as service_3_modern. The renderer does not invent content; it renders the mapped data.
Section, header, body, data item, and footer classes come from the Databoard CSS contract and Sass v2.
The shape is intentionally explicit: pages, datalists, data sources, mappings, CSS slots, Sass, HMVC, ACL, forms, and deployment metadata.
{
"group_id": 34,
"list": [
{
"listname": "Databoard Docs",
"page_settings": {
"General": { "url_slug": "/docs/databoard" },
"hmvc": { "module": "docs", "controller": "index", "action": "databoard" }
},
"datalist": [
{
"section_id": "docs-databoard-hero",
"data_mapping": {
"api_data": [
["api_data"],
["databoard", "menu", "docs_databoard_hero"]
]
},
"css": { "section": { "container": { "css_class": "stylesdoc-band" } } }
}
]
}
]
}
The page controls route and order. Each section controls one presentational chunk: header, body/data, and footer.
A page can be /docs/databoard, /components/buttons, /auth/session/login, or any semantic route. Names matter less than the route, ACL, and action contract.
Each section maps content into header, data/body, and footer so the renderer can stay predictable.
Classes attach to known paths: section.container, header.h2, data.sub_container, data.h3, data.p, footer.cta, and so on.
ANTSAND can generate static pages, but the same object also carries application behavior: controllers, actions, view variables, forms, ACL, checkout, and login.
References, utilities, and mappings are normalized before deploy. The deployed app consumes the resolved datalist and generated files.
UI or API changes data, mappings, CSS classes, Sass, pages, routes, or global references.
Global nav/footer references are expanded into concrete sections while preserving _reference metadata.
Databoard Sass and utility classes become CSS that the generated site can load.
Routes, controllers, views, ACL, api_data, and assets are written into the deployed Phalcon app.
Generated routes should return clean 200/302/JSON responses with no fatal HTML.
Classes in sass_v2/foundation/_utilities.scss, compiled into antsand-v2.css. Safe to use in any Databoard field.
p-1..p-8, px-*, py-*, m-1..m-8, mx-auto, gap-1..gap-8
block, hidden, flex, grid, inline-flex
flex-row, flex-col, flex-wrap, items-center, justify-between
text-sm..text-5xl, font-bold, font-semibold, text-center
line-clamp-1..line-clamp-5, truncate
opacity-0, opacity-25, opacity-50, opacity-75, opacity-100
aspect-video (16:9), aspect-square (1:1), aspect-photo (4:3)
object-cover, object-contain, object-center, object-top
rounded, rounded-lg, rounded-full, border, border-0
shadow-sm, shadow, shadow-md, shadow-lg, shadow-xl
transition-all, transition-colors, transition-opacity
hover:scale-105, hover:-translate-y-1, hover:shadow-lg
sm: (640px+), md: (768px+), lg: (1024px+)
animate-fade-in, animate-slide-up, animate-spin, animate-pulse
min-h-screen, max-h-[500px], h-screen, h-[50vh]
whitespace-nowrap, whitespace-pre-wrap, break-words
Semantic class first, utility class second. Every section MUST have a Tier 1 root class defining its design identity.
data.container = "pricing-grid antsand-grid"
"antsand-card shadow transition-all"
"antsand-btn antsand-btn-primary"
"aspect-video object-cover" (Tier 2 is fine for media)
"line-clamp-3 opacity-75" (Tier 2 for text control)
Let Databoard Sass scanner generate site-local rules
Sass v2 supplies reusable semantic components. Databoard Sass supplies site-specific polish. Field CSS applies classes to the exact rendered H/B/F leaf nodes.
Shared framework classes such as antsand-card, antsand-btn, antsand-nav, code previews, accordions, tabs, forms, and layout primitives.
Website-specific classes like stylesdoc-db-card, stylesdoc-btn-brand, and stylesdoc-topnav. This is where brand polish belongs.
The page decides which class goes on header.h2, data.sub_container, data.ul, footer.cta, and similar slots.
Humans can use the UI. AI can use the API. Both must respect the same contract: data first, explicit mapping, template second, classes third, deploy last.
Use the visual builder when you want to inspect pages, reorder sections, and adjust mappings.
Use patch_delta when AI needs to add pages, normalize references, change Sass, or deploy consistently.