GSP Objects is a library to provide jsp like object infrastructure
for c++ web programs to be run on different oses under different
servers
Radoslav Paskalev.
- Classes available :
- HttpRequest - methods to get request information
- HttpResponse - methods to set response information
- GspWriter - ostream output class
- Cookie - a cookie
- URLCoder - static methods to encode/decode strings
- OSes :
- u*nux (gcc)
- Win32 (vc6,dmc,cygwin and mingw)
- Web servers :
- Session handling
- More oses(bsd,!suggestions!)
- More protocols (nsapi,apache plugin,!suggestions!)
- More servers (!suggestions!)
- Don't know yet, you'll tell
me.
In order to use the library, you must :
- Create your project,write your gsp file with
language="c++ ext" or "c++ extended", run gsp preprocessor against it
- Set include path to include
- Set library path to lib
- Define ISAPI or CGI
- If using isapi must add to your project
lib\isapi.def
- And link with desired library
Please see the examples provided in zip file distribution.
Under windows supported compilers are:
Under linux i tested only gcc
For every compiler there is a makefile which builds both isapi and cgi libraries
so to build them you must type "<make> -f makefile.<cmp>" where:
<make> is the compiler make tool and <cmp> is the extension for this compiler
Under linux there is only one makefile called "makefile". It builds only cgi(as i know apache supports isapi only under win32).
Compiler notes:
- dmc:You have to use at least version 8.20 of the compiler and smake.exe tool which is separate downloadable
- vc: Please take a look at what thread option is used(single threaded,multithreaded...) because you have to use it next in your application
gspobjects-src-0.02.zip
Maintenance release.A lot of internal changes and optimizations,
mainly to reduce size of library.
- Now uses strstream classes instead of stringstream(can be compiled with older versions of gcc)
- Under windows added support for Digital Mars Compiler,mingw and cygwin
- Added some examples
- Fixed bug in URLDecoder::decode
gspobjects-src-0.01.zip
First release, provides classes HttpRequest, HttpResponse,
GspWriter, Cookie, URLCoder.
Compiles on Win32 (vc6) and may compile on most systems
with recent gcc (ostringstream, i.e. sstream lib, must be
available)
|
last update 01/18/2004 - 17:27 |