-
An image representing a flowchart design of the application is shown on the right. Click on the image or here to get the full file in SmartDraw format. The application structure consists of two parts. A C++ program is
the main part. It is essentially a server-side application, implemented
via Sockets (Sockets are used for communication between remote locations
via a standard protocol, in this case a client and a server via the TCP/IP
protocol). It establishes connection with the remote server, sends a package
of data via a standard HTTP request, and then waits for a response. Once
response is received, the data collected is stored in a temporary file
and connection with server is closed. Control is then transferred to an
Active Server Page(ASP), which performs certain operations on the data
received from the remote server and stores it in another file. (The image on the right is in SmartDraw format. You will not be able to view it, unless you have a SmartDraw viewer installed. You can download a free SmartDraw viewer by clicking here).
- The Active Server Page is the second part of the structure. Its primary function is to start the C++ executable file, process the output, and display it to the user.
An HTML file serves as a portal to the application, i.e. user login is servised through it, and another HTML file functions as a warning when incorrect password and/or username is entered.
- Click here to view the source code of the C++ file (this particular one is for use with the FirstSearch libray data vendor) mentioned above (in TXT format).
Click here to view the source code of the ASP file (this particular one is for use with the FirstSearch libray data vendor) mentioned above (in TXT format).