Page 5 of 7

Re: Harbour ChangeLog - Relevant for HMG interest

Posted: Mon Dec 05, 2016 2:50 pm
by srvet_claudio
IMHO the best option is the GNU C compilers family that is very portable. I'm writing a http local server in C, the code runs almost without any change in Windows and Android. The idea is to have access to the resources of the system through JavaScript.

Re: Harbour ChangeLog - Relevant for HMG interest

Posted: Mon Dec 05, 2016 9:54 pm
by Roberto Lopez
srvet_claudio wrote:IMHO the best option is the GNU C compilers family that is very portable. I'm writing a http local server in C, the code runs almost without any change in Windows and Android. The idea is to have access to the resources of the system through JavaScript.
That is a great idea.

You are developing this server with some specific goal in mind?

Re: Harbour ChangeLog - Relevant for HMG interest

Posted: Tue Dec 06, 2016 1:20 am
by srvet_claudio
Roberto Lopez wrote:
srvet_claudio wrote:IMHO the best option is the GNU C compilers family that is very portable. I'm writing a http local server in C, the code runs almost without any change in Windows and Android. The idea is to have access to the resources of the system through JavaScript.
That is a great idea.

You are developing this server with some specific goal in mind?
Yes, my goal has name, is called JMG :D

Re: Harbour ChangeLog - Relevant for HMG interest

Posted: Tue Dec 06, 2016 5:57 am
by bpd2000
srvet_claudio wrote:IMHO the best option is the GNU C compilers family that is very portable. I'm writing a http local server in C, the code runs almost without any change in Windows and Android. The idea is to have access to the resources of the system through JavaScript.
Great news

Re: Harbour ChangeLog - Relevant for HMG interest

Posted: Tue Dec 06, 2016 6:49 pm
by Roberto Lopez
srvet_claudio wrote:Yes, my goal has name, is called JMG :D
Good!

I'll refine my question... :)

Since you could use an standard AMP server to handle data (even dbf via Harbour CGI) I guess that you want to make something different than merely data access...

It appears to be very interesting...

So... ?

Re: Harbour ChangeLog - Relevant for HMG interest

Posted: Tue Dec 06, 2016 7:49 pm
by srvet_claudio
Roberto Lopez wrote:
srvet_claudio wrote:Yes, my goal has name, is called JMG :D
Good!

I'll refine my question... :)

Since you could use an standard AMP server to handle data (even dbf via Harbour CGI) I guess that you want to make something different than merely data access...

It appears to be very interesting...

So... ?
Yes, I have some ideas in mind:
1) do not rely on Harbour on mobile devices, pure C code is small, faster and consume less memory.
2) create a custom server for JMG (beyond the standard access to cgi, html, img, etc.) Which acts as a mini operating system, with the basic functions of input and output, access to directories, access to external processes, etc. In other words try to overcome Javascript security measures.

Re: Harbour ChangeLog - Relevant for HMG interest

Posted: Tue Dec 06, 2016 11:16 pm
by Roberto Lopez
srvet_claudio wrote:
Roberto Lopez wrote:
srvet_claudio wrote:Yes, my goal has name, is called JMG :D
Good!

I'll refine my question... :)

Since you could use an standard AMP server to handle data (even dbf via Harbour CGI) I guess that you want to make something different than merely data access...

It appears to be very interesting...

So... ?
Yes, I have some ideas in mind:
1) do not rely on Harbour on mobile devices, pure C code is small, faster and consume less memory.
2) create a custom server for JMG (beyond the standard access to cgi, html, img, etc.) Which acts as a mini operating system, with the basic functions of input and output, access to directories, access to external processes, etc. In other words try to overcome Javascript security measures.
WOW!

Then... according to '1': are you thinking in an Android (local server) to access all device hardware, including (ie) sensors?

Re: Harbour ChangeLog - Relevant for HMG interest

Posted: Tue Dec 06, 2016 11:45 pm
by danielmaximiliano
Claudio : con tus trabajos ya nada me sorprende !!!

:mrgreen: :mrgreen: :mrgreen:

Re: Harbour ChangeLog - Relevant for HMG interest

Posted: Wed Dec 07, 2016 1:30 am
by srvet_claudio
Roberto Lopez wrote:
srvet_claudio wrote:
Roberto Lopez wrote:
Good!

I'll refine my question... :)

Since you could use an standard AMP server to handle data (even dbf via Harbour CGI) I guess that you want to make something different than merely data access...

It appears to be very interesting...

So... ?
Yes, I have some ideas in mind:
1) do not rely on Harbour on mobile devices, pure C code is small, faster and consume less memory.
2) create a custom server for JMG (beyond the standard access to cgi, html, img, etc.) Which acts as a mini operating system, with the basic functions of input and output, access to directories, access to external processes, etc. In other words try to overcome Javascript security measures.
WOW!

Then... according to '1': are you thinking in an Android (local server) to access all device hardware, including (ie) sensors?
Yes, the idea is to have a local server that run in the same device that JMG.

Re: Harbour ChangeLog - Relevant for HMG interest

Posted: Wed Dec 07, 2016 7:58 am
by serge_girard
Sounds great, Claudio !

Serge