Note that there are some explanatory texts on larger screens.

plurals
  1. PODesign Considerations - C++ Server Development
    primarykey
    data
    text
    <p>I want to convert my web application prototype (PHP server side) to a C++ solution. This has already been decided. I've been on Wikipedia, Google, and SO to determine the best way to to this.</p> <p>I've already decided on Linux and Apache (or custom server).</p> <p>What I think I've learned is that this can be done multiple ways. In order of the speed or efficiency you will get.</p> <ol> <li>Write the Server</li> <li>Write an Apache Module</li> <li>Write it to use Fast CGI</li> <li>Write it to use CGI</li> </ol> <p>I have about 1400 lines of PHP so my web app is small. I also know that CS courses in web typically have the students write a basic web server as lab. Fast CGI claims to be faster than CGI as the name implies..and I've heard that a module is fastest as it has a tighter integration with Apache. Writing your own server would probably be the fastest as it would be application specific instead of all purpose. </p> <p>I'm trying to put together a project I can finish in under a year and keep the code base under 6000 lines or so.</p> <p>What is the fastest way to do this that is reasonable?</p> <p><strong>Related SO Posts</strong></p> <ul> <li><a href="https://stackoverflow.com/questions/6912761/how-to-use-c-for-apache-server">Compiled or Interpreted</a></li> <li><a href="https://stackoverflow.com/questions/6618367/c-c-module-for-apache">Apache Modules</a></li> <li><a href="https://stackoverflow.com/questions/2067814/apache-mod-c-wanted">C++ Server Hello World</a></li> </ul> <p><strong>C++ Web Libraries</strong></p> <ul> <li><a href="http://cppcms.com/wikipp/en/page/who_uses" rel="nofollow noreferrer">CppCMS</a></li> <li><a href="http://www.webtoolkit.eu/wt" rel="nofollow noreferrer">Wt</a></li> </ul> <p><strong>Similar SO</strong></p> <ul> <li><a href="https://stackoverflow.com/questions/175507/c-c-web-server-library">C++ Web Library Needed</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload