Hi,
Please, who can tell me very simple, what minimal things I need to create simple web interface.?
I never created any web application,
I have Windows Server 2012 , where wil be run main server application. This works in automatic mode, I do not need manipulate with it , will be managed by Remote console. This application is now standard Xbase application, no SQL, no web, only user interface and managing databases and files.
On many offices will be install client application. Users work with it and write some informations to database.
After it transport this informations (from client database , now it is in classic DBF file) to central server, where is same database.
I examine it by sharing , but it is not secure. If user has mapping some directory on server , he can see and copy some files from it, but I do not wont enable users this. I want to do it in hidden mode.
For ths I want do it with web interface, without instal any client software on PC.
But number of clients must be unlimited a (or limited but for 20-100 users in one time).
I do not know, how I can create "way" to transport data from "my local PC" to server, what must running on server side (some Java application, or ?)
I got advice to use XB2NET, is some other ways ?
Thanks.
WEB interface
Re: WEB interface
What kind of web interface do you mean? Are you wanting a web server?
What do you want it to do?
What do you want it to do?
The eXpress train is coming - and it has more cars.
Re: WEB interface
Hi Roger,
I thing about two ways :
1. with two applications, one on client side, second on server side, both can be similarly, and by "internet" create comunicate"channel" between them.
By this communicate channel i need send data (one or several rows from local database , that can be crypted for security) to server . Server is not "real" server, but only application which running on server, and in some interval reading incoming "packet" write it do database and processing.
This packets is writing to database and then waiting to processing as "FIFO" first in, first out..
I do not know, how create this communicate channel, and how data can sending (crete as HTML code or ?)
I have in my program one function to generate URL, and this send to web page to control it, same as Google maps. show point in map after generate URL with GPS positions.
But URL maybe is not good way, (some limit of length od url adress ?!) I found it :
"Maximum URL length is 2,083", this can be enougth for me.
But how can I receive this URL on server side, what I need install to server ?
I think of it this way:
client application after setting, selecting data... generate URL and then send it by internet browser to page (hmm "hosting" must be on server, no any location because secure data).
On server where running some module that receive this packet, save this to file. Application on server side read packet and write it to database.
2. way can be complicated, when go by internet browser (IE, Chrome,,,) to application page, then see menu, like classic web page, and can select some function from menu, select from database tables , set parameters and run process, which will be processing on server.
I do not want you with unnecessary burdens, only if you can tell me some tips, or what I must to study
Victorio
I thing about two ways :
1. with two applications, one on client side, second on server side, both can be similarly, and by "internet" create comunicate"channel" between them.
By this communicate channel i need send data (one or several rows from local database , that can be crypted for security) to server . Server is not "real" server, but only application which running on server, and in some interval reading incoming "packet" write it do database and processing.
This packets is writing to database and then waiting to processing as "FIFO" first in, first out..
I do not know, how create this communicate channel, and how data can sending (crete as HTML code or ?)
I have in my program one function to generate URL, and this send to web page to control it, same as Google maps. show point in map after generate URL with GPS positions.
But URL maybe is not good way, (some limit of length od url adress ?!) I found it :
"Maximum URL length is 2,083", this can be enougth for me.
But how can I receive this URL on server side, what I need install to server ?
I think of it this way:
client application after setting, selecting data... generate URL and then send it by internet browser to page (hmm "hosting" must be on server, no any location because secure data).
On server where running some module that receive this packet, save this to file. Application on server side read packet and write it to database.
2. way can be complicated, when go by internet browser (IE, Chrome,,,) to application page, then see menu, like classic web page, and can select some function from menu, select from database tables , set parameters and run process, which will be processing on server.
I do not want you with unnecessary burdens, only if you can tell me some tips, or what I must to study
Victorio
Re: WEB interface
I think that Xb2Net is what you need.
You can use it to create both the server side and the client side programs.
You can look at the eXpress++ instant messenger system to see how this is done.
Of course, you can also do this with Xbase++ 2.0 (HttpEndPoint()).
\exp20\source\imclient\imclient.prg uses Xb2net.
\exp20\source\imclient\imclient20.prg uses HttpEndpoint().
\exp20\source\imserver\imserver.prg uses Xb2net.
\exp20\source\imserver\imserver20.prg uses HttpEndpoint().
Either server will also act as a web server.
You can use it to create both the server side and the client side programs.
You can look at the eXpress++ instant messenger system to see how this is done.
Of course, you can also do this with Xbase++ 2.0 (HttpEndPoint()).
\exp20\source\imclient\imclient.prg uses Xb2net.
\exp20\source\imclient\imclient20.prg uses HttpEndpoint().
\exp20\source\imserver\imserver.prg uses Xb2net.
\exp20\source\imserver\imserver20.prg uses HttpEndpoint().
Either server will also act as a web server.
The eXpress train is coming - and it has more cars.
Re: WEB interface
Hello,
I have done this with XB2NET and SOAP with encryption. For example I have sent a SQL cursor object and also complete requests from SQLEXPRESS from one server to another, I have used var2bin() and bin2var(), works fine. You find the samples in XB2NET.
regards
Rudolf
I have done this with XB2NET and SOAP with encryption. For example I have sent a SQL cursor object and also complete requests from SQLEXPRESS from one server to another, I have used var2bin() and bin2var(), works fine. You find the samples in XB2NET.
regards
Rudolf
Re: WEB interface
Roger, Rudolf, thank you for info, I will look your tips.
Re: WEB interface
Hi,
I looked for HTTPENDPOINT, but this is only for Proffesional version , and I have Foundation...
I looked for HTTPENDPOINT, but this is only for Proffesional version , and I have Foundation...
Re: WEB interface
Sorry, but it looks like you will need to spend some money to do web stuff whether you choose xb2net or the Professional.I looked for HTTPENDPOINT, but this is only for Proffesional version , and I have Foundation...
The eXpress train is coming - and it has more cars.