Web application

503 views
Skip to first unread message

jocic...@gmail.com

unread,
Jan 24, 2024, 1:26:04 AM1/24/24
to Harbour Users

Dear friends, I want to port the existing program to the Web with the help of Harbor Minigui Extended, is there such a possibility. I want it to be a web application.

cod...@outlook.com

unread,
Jan 24, 2024, 6:06:15 AM1/24/24
to Harbour Users
Hi.

If you want to do it with Harbour, also try UT project. Please read this:

https://carles9000.github.io/      (text is in Spain but with Gogle Translate  to English you can work witout problems)

and this:

qui...@quiquesoft.com

unread,
Jan 24, 2024, 11:39:45 AM1/24/24
to Harbour Users
Translate directly it's very dificult. I made for my use a web server machine with works with fivewin programs that it can be compiled for windows and web (two diferents exe files withe the same prg files), I have an administrative program (sales, inventory, payroll, etc) compiled like this, but really needs many touches in the code for can use the same code, perhaps not in the structure, but in the places that you need indicating the program could made a pause (form, alert messages, confirm messages, etc). It coud work with xailer, minigui and oohg, because I made some little test, but I don't worked until finish it. The mine problem is all messages the program has. By example, if you have a message every time that you block a record.

function myRLock()
   local lock = rlock()
   if lock()
       alert( "No blocked")
   endIf
return lock

You could have a puse in the web if the record isn't blocked, but not if is blocked and decide if shows one or other page. More or less is the idea, then every rlock() you need touch your program.

Other big problem that I foud was ssl. I can´t until now work with ssl in my harbour servers. I need to build a bridge between php and my server. I can work without problems with http://mypages but not with https://mypages,

This is my experience with the topic.

Juan Castillo Arteaga

unread,
Jan 24, 2024, 1:16:07 PM1/24/24
to harbou...@googlegroups.com
En el tema de los Ssl, una forma que nos funcionó a nosotros es con ZeroSsl https://zerossl.com/ , tienen una opción en la que no es necesario bajar ningún programa, desde la página se generan los certificados. Saludos Cordiales.

Libre de virus.www.avast.com

--
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 on the web visit https://groups.google.com/d/msgid/harbour-users/12a09e75-e75b-4a6e-b5d5-53d7c783e5d3n%40googlegroups.com.

qui...@quiquesoft.com

unread,
Jan 24, 2024, 2:02:00 PM1/24/24
to Harbour Users
Gracias, voy a echarle un ojo

theos....@gmail.com

unread,
Jan 24, 2024, 9:48:46 PM1/24/24
to Harbour Users
Como decimos en mi país, échalo tierrita y tápalo a no ser que crees un generador que convierta códigos. La forma mas simple desde mi punto de vista es usar W2ui un marco de trabajo en JavaScript, defines las ventanas y controles en una forma simple usando la definición que brinda la notación JSON y el intercambio de datos con la misma definición. Tu lógica de negocio lo adaptas usando el concepto de CGI, para ello hay varias alternativa, te recomiendo que uses la librería HBHTTPD que esta en contrib lo adaptas para el intercambio de datos JSON.   Cheque las ventanas con de w2ui.  https://w2ui.com/web/

Eric Lendvai

unread,
Jan 29, 2024, 1:39:29 AM1/29/24
to Harbour Users
Going to a web app is a radical change from a desktop application.

If you want to see an example of a fairly large Harbour Web App, check out 

DataWharf has 54 tables using Postgresql. It is meant to be paired with https://github.com/EricLendvai/Harbour_ORM

Just recently added tools to create Postgresql migration scripts and/or directly fix the schema and foreign key constraints on any deployed instances of your data.

Also working on a new project https://wharfsystems.com/  but that will most likely not be ready for one year.

Best, Eric

Reply all
Reply to author
Forward
0 new messages