---
title: "DBPower: automatic code generation from data structures"
description: "Model-driven generative tool for automatic recognition of data structures and generation of database code and web interfaces."
url: "https://www.noze.it/en/insights/dbpower/"
lang: "en"
alternate: "https://www.noze.it/insights/dbpower/"
published: "2000-12-15"
author: "noze S.r.l."
keywords: "noze, AI, R&D, DBPower, Code Generation, Model-Driven, Database"
---

# DBPower: automatic code generation from data structures

Model-driven generative tool for automatic recognition of data structures and generation of database code and web interfaces.

15 December 2000

## The concept

**DBPower** is an internal tool developed by noze that adopts a **rule-based generative model-driven** approach to automate code production. The system analyses existing data structures and automatically generates both the **database code** and the corresponding **web interface code**.

## How it works

At the heart of DBPower is an engine for **automatic recognition of data structures**. Starting from a schema — tables, relationships, constraints, types — the system applies a set of **transformation rules** to produce:

- **Database code**: queries, stored procedures, migration scripts
- **Web view code**: display interfaces, input and edit forms, paginated lists

The approach is **rule-based**: each rule maps a structural pattern to a code template. By modifying the rules, the generated code changes without manual intervention on each individual view or query.

## Internal use

DBPower is created as an **internal tool** to accelerate the development of noze projects. Instead of manually writing the data access layer and CRUD interfaces for each new project, the team uses DBPower to generate a functional base in reduced time, then focuses effort on project-specific business logic.

The model-driven approach anticipates concepts that will only become widespread years later in the development tools landscape, positioning noze in an area of **applied research** at the intersection of automation and software development.
