FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour Web-based application with UT
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Web-based application with UT
Posted: Fri Sep 19, 2025 06:37 PM
Hi,

A client of mine asked me to create a web-based application from an existing program I'd already created for them, which I'd written in FiveWin.

I've been writing xBase programs for a long time and didn't really want to use a completely different language for these web-based applications.

I started writing DOS programs in Clipper 5.2e. Then I started using Windows programs with Clipper and the excellent FiveWin 1.95a library.
Because these were 16-bit programs, a few years later I switched to (x)Harbour with FiveWin so I could use them on a 64-bit PC.

In June of this year, I asked on this forum what the easiest way to create web-based programs was, and Antonio Linares sent me a link to https://www.runnerxbase.app/.
I played around with it for a bit, and since it worked great and was written in UT, I started testing it out.

This library also comes with several demo programs, making it very easy to solve certain situations.

To my surprise, this was practically pure Harbour to program, so I didn't need to know anything about PHP, Apache, or JS.
You can simply create the pages in Harbour using the TWEB library. You don't need to install a web server, because the EXE that's generated is already a web server when you start it.
You just need to call up the IP address with the correct port in the web browser.

After much trial and error, and help from the forum on the Discord server, I was able to put my first program into production this week. So, after about three months!
Since this was a conversion of a FiveWin application, I was able to retain many of the difficult import/export and conversion functions from FiveWin. Only the interface, and also a slightly different programming method, since this communicates with the server through web pages and other means.

Since this is used on a chemical site, the site had to be secure, but that's not a problem with UT!!!

For those who are also interested, everything can be found at
https://carles9000.github.io/

I'm not saying this to take away users from FiveWin, because that's also a great library, but for people who also want to create web-based programs without having to change programming languages ​​too much.
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite

Continue the discussion