Can a C++ program support a web appicaiton

Hi there guys. I need to know if it is possible to have a C++ program support a web application (i.e. an application that runs in a web browser). I want my C++ program to sit in my hosting server and then act as an engine to my web application. IS THIS POSSIBLE?
IS THIS POSSIBLE?
Yes, all you have to do is to process http requests and provide the proper answer (i.e. HTML)

There are several libraries which supports it:

http://pocoproject.org/docs/
http://www.webtoolkit.eu/wt
@coder777 Okay let me understand this better. Does this mean with these libs I can now create a C++ powered website. I guess what I am asking is that "Can I now do away with languages like PHP, Ruby, Python etc and just use C++ with one of these libraries"
just use C++
Yes. You can do that even without the libraries. They bring in some convenience.

Like I said before. The browser generates a standardized HTTP/Text request and your response needs to meet the requirements as well.
The libraries just help to simplify that task.

An alternate way is IIS:

http://www.iis.net/

for which you may write a dll.


Another alternative is: you can write your own extensions for PHP and thus combine both.

So you have loads of options
Topic archived. No new replies allowed.