- 35 -
Figure 2.11:
Current database-to-Web solutions.
This solution is extremely involved, and there are many ways of doing it. Unfortunately,
very few
of those ways are reproducible, and all tax the server intensively. The key is in
the gateway. The gateway has to be able to do the following:
1.
Convert the request from the client (usually posted in HTML or plain text) into a SQL
query.
2.
Send the query to the database and wait for the results.
3.
Receive the results and transform them into an HTML page.
4.
Send the HTML page to the client.
The client’s browser gets a result from the server that is human viewable but cannot be
used to generate further information without taxing the server further.
To put it plainly,
you receive dumbed-down data that you can see and that’s it (the bad part of the
WYSIWYG concept is that what you see is
all
you get). You can’t take the information
and do anything else with it,
such as sorting, regrouping, calculating, rendering. Also, the
power of your host machine (that is, your PC) is pretty much being wasted. Even though
you have a Pentium III
with an infinite amount of RAM, it doesn’t help you a lick if the
server is bogged down by traffic. Table 2.1 lists the limitations of getting HTML pages
served up to you from a database.