Table of Content:
1 Forming an HTTP request
2 Object-Oriented Host Language
Interactions with a database would require some form of interface with users. Normally, the interface is built by means of so-called Host Programming Language (such as C, Java, COBOL, Pascal, etc.) through the database schema and using the DML.
Host language is a tool of the technical experts and skilled programmers who use it to develop specialised software or database applications.
Very often, the user interface is built using Internet technology. In this case we speak about Internet-based information systems.
Generally, functionality of an Internet-based information system can be described as follows:
-
Client generates an HTTP request, and sends it to an HTTP server.
-
Server-side application processes the request, and generates HTTP response.
-
Client gets the response, and visualizes it.
Thus, in order to build an Internet-based Information system, we need to implement the following tasks:
-
generating an HTTP request on the client side.
-
processing request and generating response on the server side.
Forming an HTTP request
Generally, a server-side application in invoked by an HTTP request looking as follows:
http://[Uniform Resource Locator of the application] ? [parameters]
Values are assigned to environment variables by the server before the application begins execution and, thus, are available to it when it begins.
For example:
http://coronet.iicm.edu/servlets/getMail ? Name=Nick&City=Graz
Parameters="Name=Nick&City=Graz"
Parameters are typically sent as a result of processing a so-called HTML FORM.
It often represent a query string, such as a query to a database, depending on the function of the FORM. You can, of course, manually enter parameters directly in the URL.
for example:
Click here to run it
A form is introduced by the tag . The attributes of the
Share with your friends: |