--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/21354a5a-a87d-4db2-a013-ef2e0c496284n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/bd327ce3-14c1-4ff6-ab38-b64c89544c3cn%40googlegroups.com.
This is experience of UT newbie. I have started to use UT before eleven months.
I am one-man orchestra. I have desktop Harbour applications (text mode) that reliably worked in the small business area for several years (accounting and inventory management), on Windows machines. I was aware that I must enter into www. To begin I wanted to do pilot porting one of my existing applications to a web environment.
Before UT I tried to do it with Java, PHP and Node, but with no significant success. That was problematic and frustrating for me. First, I had to learn these tools from ground zero. That required me to put aside my current jobs with existing desktop applications and completely dive into the new tools ocean. But I did not have that time.
Anyhow, periodically from time to time I continued to learn say PHP, CSS, HTML, Javascript, Apache, MySql, etc. But everyday duties forced me to leave it for longer periods. Then when I again came back to new tools, almost all knowledge was gone, and I mentally started again from the beginning. That was very frustrating and time-consuming. One step forward, two steps backward.
If I made some progress, then I was faced with the fact that I must reprogram all my PRG functions, using new programming language (with PHP so-so, but with Java or Node it was much, much harder). Also, I could not use DBF but had to migrate to MySql tables. I did not want to make a new application; I wanted to port my existing application to a web environment.
Then, one year ago, I discovered UT project and started to learn it.
Today after first phase, I can say that have same desktop application ported in web environment. With test data which are close to a real environment, for *every* process and processing I do in the desktop application I get the same results in the web application, including reports in PDF or Excel. *My forms are not fancy but are fully functional as in desktop app*. With other web development tools I have never reached this far as I did using UT.
How I did that ?
Thanks to the fact that almost the same core part of every old PRG I could use in the web application as is, with small or no changes (the core part is all processing code without the GET-READ part). It was a huge gain. I did not spend time thinking how to recode functions, test to see whether they would work like the old functions, etc.
The main effort for me was to make new web input forms from GET-READ forms in Harbour. Thanks to the GET constructs in UT I relatively easily made new web input forms without extensive knowledge of HTML and CSS. *In this step, I did not spend time on the look and feel of my forms but on their functioning*.
The second, less hard part was to port my desktop reports. Using Haru PDF I ported my old reports to PDF printing. And in this part I used almost all existing PRG code in the new reports ! I only needed to change GET-READ part to the new form controls. Much help in this job was Haru PDF library. I found ZE_PDF - GERACAO DE PDF on this link https://www.fivetechsoft.com/forums/viewtopic.php?t=31280 and use it for making reports.
My experience is that UT is almost best choice for every Clipper and Harbour developer to enter in the web development. With other web development tools I have never reached this far. In my opinion I made web app using UT, not fancy but *fully functional*. All procedures and reports from my desktop application works with same results in new web application.
My sources of knowledge are on page https://carles9000.github.io/ , examples on https://github.com/carles9000/uhttpd2.tweb , Discord forum on https://discord.com/channels/1059352197919428618/1059352198514999358 , and forum members.
In next steps I will work on web forms look and feel, better input data formatting on client side, and eventually replacing DBF database replacing with MySql or MariaDb.
It is not easy but it is not too complicated. It is worth to try.It seems to be Windows compliant. Not for Linux ?
A+
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/21354a5a-a87d-4db2-a013-ef2e0c496284n%40googlegroups.com.
Hi.
While waiting answer from someone who better knows UT project, I can only say that my developing environment was Windows 10 64 bit, compiler MSVC 64 bit and Harbour 3.2 compiled from sources with MSVC 64 bit.
As far as I am familiar with UT project I think that now you can not have development environment on LInux. But as UT project sources are (or soon will be) available ("It is now open for anyone who wants to contribute, modify, recompile, or improve it..."), the door is open to make development environment for Linux.
Regards,
Simo
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/a0a02d24-4cf9-43a5-8e04-e0f8b2100b23n%40googlegroups.com.