Calling web program...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] Calling web programming people.

4 Posts
2 Users
0 Reactions
55 Views
Posts: 4954
Free Member
Topic starter
 

I am developing a program which needs a HMI. For various reasons such platform flexibility, local or remote HMI, etc a simple web interface will be used. I am an experience programmer but not in web technologies so excuse the simple Q. The system will not be running on the web, only on internal networks.

On the server a program will be running that will pass data to and from the webpage. The impression I am getting from looking at cgi script tutorials is that each time a GET, PUT, POST or whatever is sent the web server will run the *.cgi program is run. My program will be continuously running so just need to deal with requests as received. I do not want to run it on every request. Or would people just use a cgi as an go to between the running program and the web-server?

I've probably misunderstood something...


 
Posted : 07/06/2016 5:09 pm
Posts: 0
Free Member
 

Forget CGI.. host the HTTP requests in your program - effectively making your program a web server.

What language are we talking here?


 
Posted : 07/06/2016 7:09 pm
Posts: 4954
Free Member
Topic starter
 

Main server will be c++


 
Posted : 07/06/2016 7:15 pm
Posts: 4954
Free Member
Topic starter
 

I think you're right. Having just has a little look for https libs. That looks quite easy. I think it should be quicker and lighter too.


 
Posted : 07/06/2016 7:29 pm
Posts: 0
Free Member
 

if you're an internal app, do you need the encryption in https?

http would be simpler, and no need for the everlasting headache of certificates


 
Posted : 07/06/2016 7:35 pm

6 DAYS LEFT
We are currently at 95% of our target!