Migrate from D2Bridge Framework to sgcHTML

D2Bridge Framework publishes existing Delphi VCL forms to the web, and it is popular for a good reason: it is a fast path to get a legacy application reachable from a browser with minimal code changes. Teams usually look at sgcHTML at the next stage, when the mirrored desktop screens need to become a web application in their own right, with layouts, navigation and interaction patterns designed for browser and mobile users rather than carried over from the desktop.

What Changes Architecturally

From a mirrored desktop form to a web-first, component-built page.

As described by its vendor, D2Bridge Framework is a bridge: it takes the VCL forms you already have and generates a Bootstrap-based web UI that mirrors the desktop form layout, so an existing application becomes browser-accessible with very little rework. sgcHTML starts from the other end. You compose each page from 110 server-side components that render clean Bootstrap 5 markup, so the page is designed for the browser from the first line, and the desktop form is an inventory to learn from rather than a layout to reproduce.

Web-first UI

Pages, navigation and interactions are built for web and mobile users, not derived from a desktop form. The result is standard server-rendered HTML, SEO friendly and fast on any device.

Full markup control

You control every element of the generated Bootstrap 5 markup and can restyle it with any Bootstrap theme. Light and dark theming is built in.

htmx + WebSocket realtime

Partial page updates via htmx (~14 KB) and realtime pushed over WebSockets through the sgcHTMX engine are first-class features of the component set, including hx-swap-oob fragment broadcast.

Delphi, C++ Builder and .NET

The same components are native Delphi and C++ Builder classes, plus a pure managed .NET implementation with the same Tsgc* names. Full source code included, with commercial support and the sgcWebSockets networking stack underneath.

D2Bridge Concepts, sgcHTML Equivalents

Where each piece of a bridged VCL application lands in the sgcHTML model.

In D2Bridge Framework In sgcHTML
Exported VCL form Purpose-built sgcHTML page. Start from the mirrored screen inventory you already have.
VCL controls surfaced to the web Equivalent sgcHTML components chosen for web UX: grids, forms, charts, cards and more.
DB-aware VCL controls 28 data-aware sgcHTML components bound to the same TDataSet / DataSource logic.
Form events htmx fragment routes returning component HTML.
VCL look mirrored in the browser Bootstrap 5 layout designed for browser and mobile.
Application served by the bridge runtime sgcWebSockets server executable, or a WebBroker, DataSnap or RAD Server host.
Refresh or polling for changing data WebSocket push: the server broadcasts HTML fragments to connected browsers.

The Move Is Smaller Than It Looks

Migrating the UI does not mean rewriting the application.

Your code base and IDE

You keep working in RAD Studio with Delphi or C++ Builder. sgcHTML components are native classes compiled into your server binary.

Your data layer

Data modules, queries and TDataSet logic carry over as they are. Data-aware components bind straight to the datasets your VCL screens already use.

Your deployment habits

A single self-contained executable or service, no external runtime. Deployment stays as simple as the desktop application was.

Your team's skills

You write Object Pascal or C#; sgcHTML writes the HTML, CSS and JavaScript. No JavaScript is required from the developer.

A Pragmatic Migration Path

Page by page, with both servers running side by side.

1

Inventory the screens

List the forms your bridged application exposes, the data behind each one, and which screens users actually live in. The bridge already gave you this inventory.

2

Map screens to components

Match each screen to sgcHTML components: grids, forms, charts, dashboards. Browse the component gallery to pick the web pattern each screen deserves.

3

Rebuild page by page

sgcHTML serves standard HTTP, so the old and the new server can run side by side behind the same reverse proxy while you move one page at a time.

4

Wire interactivity and push

Add htmx interactions for partial updates, and WebSocket push where the application needs live data instead of refresh or polling.

We Help You Migrate

Tell us about your D2Bridge Framework application and the eSeGeCe team helps plan the migration: which screens map to which components, what to keep, what to redesign for the web. If you prefer, we rebuild the application for you through sgcCustomization HTML, one-time packages from €149, built from a written description of your application.

See It Running

Sixteen complete applications, every one built only with sgcHTML + sgcWebSockets.

ERP

Customers, providers, products, invoices and reports.

Open the live demo →

Admin CRUD

A compact admin console with CRUD screens and live search.

Open the live demo →

Live Monitor

A realtime dashboard whose KPIs are pushed over WebSockets.

Open the live demo →

Customer Portal

A self-service portal with orders, profile and support.

Open the live demo →

Helpdesk

Support tickets with reply threads and an admin dashboard.

Open the live demo →

Warehouse (WMS)

Receiving, picking, packing, shipping and cycle counts, with a handheld scanner terminal.

Open the live demo →

Point of Sale

A retail till with products, promotions, customers and shift close-out.

Open the live demo →

Reports & Analytics

Sales and operations dashboards, a pivot builder and scheduled exports.

Open the live demo →

Multi-Tenant SaaS

Tenant onboarding, billing, and team and role management.

Open the live demo →

Field Service

Job dispatch, a live technician map, Gantt scheduling and assets.

Open the live demo →

AI Data Pack

Grid, pivot and forms asked in plain language.

Open the live demo →

Shop Assistant

A storefront with a grounded AI chat assistant.

Open the live demo →

MCP Apps

Delphi UI rendered inside ChatGPT, Claude or VS Code.

Open the live demo →

Instruments

A live control room with gauges and trends.

Open the live demo →

SCADA / IoT

A plant mimic driven by MQTT messages.

Open the live demo →

Right-to-Left (RTL)

A page that mirrors itself for Arabic and Hebrew.

Open the live demo →

Component Demos

Thirteen smaller demos, each one built around a few sgcHTML components and running live on the eSeGeCe demo server.

Server Events

Nine components with a server event each: Tabs, Select, Rating, TreeView, Calendar, Scheduler, Stepper, Modal and Toast. Use one in the browser and its Delphi handler answers from the server.

Open the live demo →

Form Validation

A sign-up form with validation rules and input masks. The browser checks the rules before sending, and the server checks every field as it changes and the whole form when it arrives.

Open the live demo →

Query Builder

An orders grid filtered by AND / OR groups of rules or by a question in plain English, with a card that shows the parameterized SQL WHERE clause of the same rules.

Open the live demo →

Scheduler

Meeting rooms shared by every visitor: drag or resize events in week, day, month or timeline views, with the rooms as resources and recurring meetings. Every open browser shows the change.

Open the live demo →

Workbench

Five components, one page each: chunked uploads, a rich text editor with image uploads and mentions, an editable org chart, a live map with clustering and a grid with copy, paste and import.

Open the live demo →

File Manager

A document portal with a folder tree, previews, drag and drop uploads, a toolbar that follows the role of each user, e-signatures, share links and an audit trail that updates live.

Open the live demo →

Tour & Tooltips

A SaaS console that onboards its users: a first-run product tour with a spotlight, tooltips on buttons, cards and fields, a What's new tour and an onboarding funnel pushed live.

Open the live demo →

Code Editor

An admin console with a SQL console that completes the schema and runs queries into a grid, JSON settings validated on the server, snippets in seven languages and Markdown notes.

Open the live demo →

Report Viewer

Banded PDF reports with charts, a QR code and barcodes, parameters, a live preview, Download PDF, Print and Export to Excel. A new order refreshes every open preview.

Open the live demo →

Report Designer

Reports designed in the browser with bands, subreports, rich text and a property inspector, then previewed and printed. Includes an invoice in six languages, Arabic printed right to left.

Open the live demo →

Image Cropper

Crop, zoom, rotate and straighten pictures in the browser: an avatar from a file or the camera, document scans with perspective correction and product images in fixed aspect ratios.

Open the live demo →

Form Builder

End users design their own forms in the browser from templates and publish them with validation, input masks and conditional fields. The responses arrive live in a grid and a chart.

Open the live demo →

Spreadsheet

Sheets kept on the server: a team budget shared live by every browser, a loan calculator per visitor and sales with VLOOKUP, with Excel keys and XLSX import and export.

Open the live demo →

To be fair to both approaches: if the requirement is only to expose an existing VCL screen set quickly with minimal rework, a bridge approach like D2Bridge Framework is a legitimate first step, and it solves that problem well. sgcHTML is the path when the web UI must become a first-class product. For a neutral view of how sgcHTML compares with other Delphi and .NET web frameworks, see the side-by-side matrix with sources. sgcHTML is licensed per developer from €299 with full source code, as a standalone component pack with the sgcWebSockets Core runtime bundled in.

Best value: All-AccessEvery eSeGeCe product, Premium Support included, from €1,059/year.
See All-Access pricing

Build the Web-First Version

Download the free trial with all 110 components and rebuild your first screen as a page designed for the browser.