Author: Eddie Carle
April 5, 2018 - It's been long enough, 3.0 is now official and marked stable.
May 28, 2016 - Some good examples are now done and in the documentation. I've got said documentation hosted online now so check it out.
May 18, 2016 - The re-write is now effectively complete. What I mean by this is that the library now builds and passes some basic benchmarking tests. I'm really hoping to get as much feedback as possible so please test away. The docs are not web hosted anywhere yet so you'll have to build them yourself as described below. Note that the only example/tutorial that works so far is the helloworld one.
April 10, 2016 - Fastcgi++ is going through a dramatic rewrite now and the master branch does not work at all. If you're here hoping for a functional version scroll down to the releases section. If you'd like to read a bit more about the rewrite and fastcgi++ in general, check out [Ten years of fastcgi++].
This library is intended as a high-efficiency C++14 api for web development. It allows your applications to communicate with web servers through the FastCGI protocol, tabulates all your environment data, manages character encoding, and allows requests to effectively share CPU time. If you want any further information check the Doxygen documentation associated with the respective release, or build it yourself. Be sure to read through the examples.
Your best bet for releases and documentation is to clone the Git repository, checkout the tag you want and see the building section of either this file or the Doxygen documentation. If you're too lazy for that, however, you can take the risk and try the following links.
- [fastcgipp-3.0.tar.gz] [Documentation] [Tree]
- [fastcgi++-2.1.tar.bz2] [Documentation] [Tree]
- [fastcgi++-2.0.tar.bz2] [Documentation] [Tree]
- [fastcgi++-1.2.tar.bz2] [Documentation]
This should provide you with all the basic stuff you need to do to get fastcgi++ built and installed. The build system is CMake and the following instructions assume you are in Bash.
First we need to clone.
git clone https://github.com/eddic/fastcgipp.git fastcgi++
Then we make a build directory.
mkdir fastcgi++.build cd fastcgi++.build
Now we need run cmake.
cmake -DCMAKE_BUILD_TYPE=RELEASE ../fastcgi++
Note that that was to do a release build. That means heavily optimized and not good for debugging. If you want to do some debugging to either fastcgi++ or an application you are developing that uses fastcgi++, do a debug build.
cmake -DCMAKE_BUILD_TYPE=DEBUG ../fastcgi++
Or if you want some really hardcore debug and diagnostics info
cmake -DCMAKE_BUILD_TYPE=DEBUG -D LOG_LEVEL:INT=4 ../fastcgi++
Now let's build the library itself.
Then we can build the documentation if we so desire.
Now let's install it all (doc included if it was built).
Maybe we should build the unit tests?
And of course we should run them as well.
And hey, let's build the examples to!