28.06.2013 Views

Papers in PDF format

Papers in PDF format

Papers in PDF format

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

available all over the world. If you like, you can restrict the access to the users you like to be<br />

able to access your data. Usually you will need only a s<strong>in</strong>gle user database license. The graphical<br />

user <strong>in</strong>terface is easy to use and well known, people do not have to deal with different<br />

platforms and keyboard codes. Last not least the WWW is develop<strong>in</strong>g very fast, new tools are<br />

announced nearly every day. These tools can be used e.g. for your database perhaps allow<strong>in</strong>g<br />

to provide „database access“ to your data without even hav<strong>in</strong>g a database.<br />

Unfortunately there are also some limitations of the WWW:<br />

• There are only few <strong>in</strong>terface elements and control of the representation is limited.<br />

• Every action you take usually will require an <strong>in</strong>teraction with the server.<br />

• A stateless protocol may have some problems for your application. However at the first<br />

WWW conference it was reported [22] that even this may be an advantage as it forces a<br />

different, very modular design.<br />

4.1 File System versus Database<br />

In the WWW traditionally the file system („server tree“) has been used to provide documents.<br />

There are, however, good reasons to use a database <strong>in</strong>stead of a file system for special applications<br />

or even for the whole server tree.<br />

A database allows comfortable ma<strong>in</strong>tenance of the data, for example:<br />

• Adm<strong>in</strong>istrative data can be easily <strong>in</strong>cluded <strong>in</strong>to documents<br />

• Unified appearance of all documents on the server can be ensured<br />

• All documents of a specific author can be retrieved<br />

• User profiles can be used to offer multiple languages<br />

• Filters can translate document types <strong>in</strong> the requested form<br />

• A database has been constructed to store data <strong>in</strong> a reliable way, that is, each database has to<br />

comply to the Atomicity, Consistency, Isolation, Durability (ACID) pr<strong>in</strong>ciple of transactions.<br />

These features are important if data <strong>in</strong> the atabase d should be changed.<br />

As advantage of the file system there are two po<strong>in</strong>ts I want to mention:<br />

• It is really easy to use, as everybody has to use it every day<br />

• There is only one system to care for. There are no problems with another, perhaps remote<br />

system, the database (-server). I th<strong>in</strong>k you all know these troubles with different operat<strong>in</strong>g<br />

systems, versions, patches, etc. :-)<br />

Us<strong>in</strong>g a file system you can offer static and dynamic connections. A static connection is one<br />

which uses only the server tree. This allows fast access, can be used by robots and the tree<br />

structure can be easily understood by the user <strong>in</strong> the most cases.<br />

We use the term dynamic connection if a Common Gateway Interface (CGI) script is <strong>in</strong>volved.<br />

These k<strong>in</strong>d of scripts will usually have names like getpage.pl and will be called with parameters<br />

<strong>in</strong>clud<strong>in</strong>g user specific. Such an URL could look like this:<br />

In this case the document doia.htm will be fetched <strong>in</strong> the language „de“ (German) consider<strong>in</strong>g<br />

the user profile of „bittorf“. This user profile may conta<strong>in</strong> <strong>in</strong><strong>format</strong>ion about the allowed IP<br />

addresses, the display resolution of the associated computers, gamma correction parameters,<br />

etc. The document may then be processed accord<strong>in</strong>g to this user profile before be<strong>in</strong>g offered to<br />

-13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!