The Future!

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

MICROVOLUTION
Posts: 141
Joined: Sat May 30, 2015 5:15 am
Been thanked: 3 times

Re: The Future!

Post by MICROVOLUTION »

apais wrote:
Wed Jan 13, 2021 11:22 am

The beta that was posted until yesterday, had more than 1000 downloads.
However, the feedback has been little or none.
onde encontro essa "VERSÃO BETA" para baixar e testar algum exemplo?

MICROVOLUTION
Posts: 141
Joined: Sat May 30, 2015 5:15 am
Been thanked: 3 times

Post by MICROVOLUTION »

bpd2000 wrote:
Thu Jan 21, 2021 4:13 pm

Today I had downloaded HBTron, Thank you HBTron demo
It is working excellent
Demo time is very short
AFINAL, ONDE TEM ESSE "DEMONSTRATIVO" PARA A GENTE BAIXAR E TESTAR?

User avatar
apais
Posts: 425
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 96 times
Been thanked: 87 times
Contact:

Post by apais »

have you ever read my signature?
Angel Pais
Web Apps consultant/architect/developper.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com

MICROVOLUTION
Posts: 141
Joined: Sat May 30, 2015 5:15 am
Been thanked: 3 times

Post by MICROVOLUTION »

apais wrote:
Fri Jan 22, 2021 7:38 pm
have you ever read my signature?
yes
baixei aqui 2 vídeos... e um demonstrativo já executável. mas, como faço para alterar para me interagir e tentar aprender?
como faço para testar no meu celular este exemplo sem conectar à internet apenas usando a intranet?

User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 291 times
Been thanked: 167 times

Post by bpd2000 »

apais wrote:
Fri Jan 22, 2021 12:44 pm
127.0.0.1 is needed for all local comms

The inital URL can be changed to an external one doing a redirection

1st step: create a page in htdocs called eg: myroute.html

2nd: paste this:
<script>
window.location.replace( 'http://www.google.com');
</script>

3rd: change this line in your .ini file
STARTPRG = myroute.html

that's it!
Ok working fine, now I can access from mobile in LAN/WAN environment
BPD
Convert Dream into Reality through HMG

MICROVOLUTION
Posts: 141
Joined: Sat May 30, 2015 5:15 am
Been thanked: 3 times

Post by MICROVOLUTION »

bpd2000 wrote:
Sat Jan 23, 2021 4:23 am
apais wrote:
Fri Jan 22, 2021 12:44 pm
127.0.0.1 is needed for all local comms

The inital URL can be changed to an external one doing a redirection

1st step: create a page in htdocs called eg: myroute.html

2nd: paste this:
<script>
window.location.replace( 'http://www.google.com');
</script>

3rd: change this line in your .ini file
STARTPRG = myroute.html

that's it!
Ok working fine, now I can access from mobile in LAN/WAN environment
obrigado por responder tão rapidamente.
mas, como sou leigo e bem leigo em WEB, esses passos podem ser até simples para quem já conhece, mas, para mim...
1. - altero o ip da minha máquina para 127.0.0.1? e como fica a minha navegação com a internet que usa o IP vindo do MODEM/ROTEADOR através do tal DHCP?
2.1 - onde acho e o que é HTDOCS?
2.2 - coloco esse código <script... /script> onde?
3 - esse .INI FILE está onde?

e o que mais a fazer?
no celular faço o quê?

User avatar
apais
Posts: 425
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 96 times
Been thanked: 87 times
Contact:

Post by apais »

The demo is a WINDOWS executable. Can't be launched on a mobile phone.
The aim of the product is to convert any modharbour or hw_apache already operational, into a windows/linux/mac desktop application.
So, first, you need to have your web app ready. By copying it into HBTron from Apache, then you have a portable and multiplatform program.
Questions 1, 2.1, and, 3 show me to haven't looked at the demo at all.
Everything is on the .rar file.
Just unrar it to your windows desktop, execute and see the result.
Then, look at the folder and you can easily deduct how it works.
Angel Pais
Web Apps consultant/architect/developper.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com

User avatar
apais
Posts: 425
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 96 times
Been thanked: 87 times
Contact:

Post by apais »

Ok working fine, now I can access from mobile in LAN/WAN environment
BPD: mobile?
How can you execute a windows .exe file from a mobile ?
I don't understand.
Angel Pais
Web Apps consultant/architect/developper.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com

MICROVOLUTION
Posts: 141
Joined: Sat May 30, 2015 5:15 am
Been thanked: 3 times

Post by MICROVOLUTION »

apais wrote:
Sat Jan 23, 2021 9:26 am
Ok working fine, now I can access from mobile in LAN/WAN environment
How can you execute a windows .exe file from a mobile ?
Espera aí... quer dizer que o seu https://HBTRON.COM é para fazer com que algo que já rode na web passe a ser um .EXE do windows?
Pensava que era o contrário, como alguns dizem que o MOD_HARBOUR, nós os programdores, com o conhecimento que temos em xBASE(.PRG) poderíamos desenvolver APP que rodasse em navegadores web e inclusive celulares android/iOS.
Então não é isso?
Veja(m) bem, eu que sou leigo no assunto de web e android, preciso pelo menos modernizar uma parte do meu sistema desktop.
Como todo sistema de gerenciamento comercial, temos, diversas opções nos menus. Exemplo:

Code: Select all

- cadastro de clientes
- cadastro de produtos
- estoque
- extrato
- [b]VENDAS[/b]
- etc
No meu caso, pra começar a entender esse mundo novo e sem precisar aprender JAVA, DELPHI EMBARCADERO, REACT NACTIVE, PHYTON, C++, etc...

preciso apenas criar um APP para celular android/ios que faça o módulo VENDAS do sistema (claro um módulo à parte), em que o funcionário do meu cliente, tenha nas mãos dele o mesmo que tem no computador, com relação ao menu VENDAS.

No meu caso, está configurado assim atualmente:
- o meu SISTEMA.EXE está instalado em todas as máquinas da rede;
- o banco de dados está centralizado num servidor Windows Server 2003;
- o banco de dados ainda está em DBF/NTX;
- o sistema clipper original foi recompilado usando a HMG 3.5 com 90% das telas em modo CONSOLE usando recursos da lib GTWVG que faz parte do harbour e está integrada também à HMG;
- Somente as telas de splash (window sem ser a main), login (window sem ser main) e menu principal (window main) que estão em modo GUI / GRÁFICO.

Então, preciso de algo que eu consiga executar do celular (não quero no navegador senão é trocar seis por meia dúzia) e que acesse esse mesmo BANCO DE DADOS dbf/ntx, sem estar conectado à internet, somente internamente no meu cliente final. Nada de acesso à rede mundial.
Se o HBTRON não é isso, seria então o mod_harbour ou qual outro meio de se fazer isso, sem precisar aprender algo novo?
Mesmo se tiver que aprender, qual linguagem disponibiliza recursos para abrir no celular o DBF/NTX e sem estar conectado à internet e que tenha uma curva de aprendizagem fácil?

User avatar
apais
Posts: 425
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 96 times
Been thanked: 87 times
Contact:

Post by apais »

Harbour is anything else but a big super library on top of C.
The weak point of your actual development stack is not harbour.
It's a thing called the WIN32 GUI subsystem.
It only runs on WINDOWS and not even MICROSOFT wants to support it anymore.
They only do it for legacy reasons. For now.
You can keep almost all your data management logic, and business logic by keeping harbour on your stack.
But sooner or later you will have to bite the bullet and learn a new GUI.
Among the actual options on the market ( qt, gtk, windows forms, ) the most universal UI that runs everywhere is the stack HTML/CSS/JS.
So you can learn HTML side by side with your existing apps and reuse part of your 20 years of experience.
Roberto López showed you the way in 2012 when he presented HMGWEG CGI solution for the web.
The shortest path to your HTML app, given your actual technical status, is CGI/HBTRON or else hw_apache/HBTRON.
Being HBTron optional if you don't want your web apps to be run locally on your pc.
Or you can change 100% your platform and start fresh and new from zero with a new shiny hipped stack.
Or you languish till death.

The ball is on your court pal.
If you don't want to learn anything new these days, you have 3 options:
a) become an entrepreneur and PAY someone else to migrate your app.
b) start a political career (grin).
c) retire.

PD: I don't know any combo that will allow you to use your dbf/ntx tables on android or IOS with no connection.
Angel Pais
Web Apps consultant/architect/developper.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com

Post Reply