[Prev] [Next] [Top] [Bottom] [Contents] (2 out of 17)

The Client API

Sapphire/Web provides an API of over 100 Function Calls. These calls are designed to complement the framework and visual programming capabilities of Sapphire/Web to facilitate Web application development. The API provides the following functionality:

The Sapphire/Web API is a portable. If you develop a CGI using Sapphire, not only is your CGI portable to a variety of Unix platforms, but soon to a Windows NT platform. To gain access to the Sapphire/Web API, include the file, SaRnHtml.h, that can be found in the include directory of the Sapphire/Web distribution. This include file will also include all the other headers which come with the distribution.

The client library is C based but works in C++ development because of the extern "C" usage in the headers (see Table Components). There a number of reasons for using this C-based approach. The primary reason being to reach the widest possible audience.

The Sapphire/Web API is also extensible since it is written in C. Therefore, you can add functionality, as well as using existing code (see Table Component). In fact, a lot of your existing code can be added and used. This extensibility is a very powerful feature of Sapphire/Web and is a result of Bluestone's design philosophy. Therefore the tool is customizable.

The following areas describe the functionality and designs of using the Sapphire/Web API.


[Prev] [Next] [Top] [Bottom] [Contents] (2 out of 17)