Migrate from TMS WEB Core to sgcHTML — Delphi web UI components | eSeGeCe

Migrate from TMS WEB Core to sgcHTML

TMS WEB Core is a commercial framework by TMS Software that compiles Delphi and modern Object Pascal to JavaScript, so the application runs client-side in the browser as a single-page application and talks to a backend over REST/JSON, often TMS XData. Teams that use it look at sgcHTML when they want their Pascal to stay native and compiled on the server, direct TDataSet access without building a separate API layer just to show data, and the debugging experience of classic Delphi server development instead of the browser.

What Changes Architecturally

Two honest models: code compiled to JavaScript running in the browser, or native code rendering HTML on the server.

In the TMS WEB Core model, Object Pascal is compiled to JavaScript and the resulting single-page application runs entirely in the browser. Data access goes through an HTTP API layer, typically REST/JSON such as TMS XData, which you build, deploy and secure alongside the client. Debugging happens partly in the browser. sgcHTML inverts that model: your code stays native on the server and the browser receives standard server-rendered HTML.

Native Code on the Server

Your Object Pascal or C# compiles the way it always has and runs on the server. There is no transpilation step and no JavaScript debugging, you debug native server code in your IDE.

Direct Data Access

27 of the 89 components are data-aware and bind straight to a TDataSet or DataSource in the same process. No separate REST layer is required just to put data on a page.

Server-Rendered Bootstrap 5

Pages are standard server-rendered HTML with clean Bootstrap 5 markup: SEO friendly, fast on weak devices, and styleable with any Bootstrap theme. Interactivity comes from htmx (~14 KB).

Realtime Built In

The sgcHTMX engine pushes updates over WebSockets: the server can broadcast HTML fragments (hx-swap-oob) to connected browsers without wiring a client framework.

TMS WEB Core Concepts and Their sgcHTML Equivalents

Where each part of a TMS WEB Core application lands in the sgcHTML model.

TMS WEB Core conceptsgcHTML equivalent
Forms compiled to JavaScript (pas2js)Server-rendered sgcHTML pages built from native components
SPA routing in the browserStandard URLs served by your Delphi server
REST/XData data layerDirect TDataSet binding server-side; add REST later only if you want it
Async browser callbackshtmx fragment routes returning component HTML
Debugging in the browserDelphi/IDE debugging of native server code
JavaScript library integrationsBootstrap 5 components out of the box
WebSocket client wiringsgcHTMX engine broadcast built into the component set
Static hosting plus an API backendSingle self-contained server binary

What You Keep

A migration to sgcHTML changes where the UI is produced, not how your team works.

Your Code Base and IDE

You keep working in RAD Studio with your existing Delphi or C++ Builder project. sgcHTML components are native classes compiled into your server binary, and a pure managed .NET implementation offers the same Tsgc* class names.

Your Data Modules

Your TDataSet logic, queries and data modules keep working as they are. Data-aware sgcHTML components bind to them directly, in-process.

Your Deployment Habits

Deploy as a single self-contained executable or service, with no external runtime. It runs in the sgcWebSockets server and also in WebBroker, DataSnap and RAD Server hosts.

Your Language 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

You do not need a big-bang rewrite. Four steps, screen by screen.

1

Inventory the screens

List the forms and views of your TMS WEB Core application, the data each one shows, and which ones need live updates.

2

Map each screen to components

Match every screen to sgcHTML grids, forms, charts and dashboards from the component gallery. 27 data-aware components cover the DB-bound screens.

3

Rebuild page by page

sgcHTML serves standard HTTP, so both servers 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 through the sgcHTMX engine where the application needs live data.

We Help You Migrate

You do not have to do this alone. eSeGeCe offers a migration service: tell us about your TMS WEB Core application and our team helps you plan the migration, propose a component mapping and estimate the effort. If you prefer, we rebuild the application for you through sgcCustomization HTML, one-time packages from €149, built on the components you license.

sgcHTML itself is licensed per developer (Single/Team/Site) from €299 and requires sgcWebSockets Professional or Enterprise.

See It Running

Five complete applications, all built only with sgcHTML + sgcWebSockets, live on the eSeGeCe demo server.

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

A support-ticket helpdesk with reply threads and an admin dashboard.

Open the live demo →

To be fair: if the goal is an offline-capable client-side SPA or PWA that runs without a permanent server connection, a client-side approach like TMS WEB Core remains a reasonable fit. If you are still weighing the options, our neutral comparison page puts sgcHTML, uniGUI, TMS WEB Core, IntraWeb, Elevate Web Builder and D2Bridge in a side-by-side matrix with sources. Other starting points are covered on the migration hub.

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

Ready to Try the Server-Rendered Model?

Download the free trial with all 89 components and rebuild your first TMS WEB Core screen as a server-rendered Bootstrap 5 page.