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.

Relational Databases and the World Wide Web:<br />

Automatic Generation of Hypertext based on<br />

Reverse-eng<strong>in</strong>eered Meta In<strong>format</strong>ion<br />

Richard Pönighaus, Johann Mitlöhner<br />

Vienna University of Economics/Department of Applied Computer Science<br />

A-1090 Augasse 2--6, Vienna, Austria<br />

Email: poenigh@wu-wien.ac.at, mitloehn@wu-wien.ac.at<br />

Abstract: In this work we describe an approach to the generation of HTML code based on meta <strong>in</strong><strong>format</strong>ion conta<strong>in</strong>ed<br />

<strong>in</strong> typical relational database systems. In pr<strong>in</strong>ciple reverse eng<strong>in</strong>eer<strong>in</strong>g methods can automatically produce web pages<br />

from any database without the need for additional user <strong>in</strong>put. Additional <strong>in</strong><strong>format</strong>ion can be supplied <strong>in</strong> order to<br />

improve the structure of the result<strong>in</strong>g web pages. We successfully applied our approach to several databases from<br />

different doma<strong>in</strong>s; <strong>in</strong> this paper, we use a database on classical records and its correspond<strong>in</strong>g meta model to illustrate the<br />

method and po<strong>in</strong>t out problems which arise <strong>in</strong> automatic code generation from databases.<br />

1 Motivation<br />

With the ever-grow<strong>in</strong>g popularity of the World Wide Web people become used to explor<strong>in</strong>g data <strong>in</strong> new ways.<br />

Navigat<strong>in</strong>g through hypertexts is becom<strong>in</strong>g more and more common for users <strong>in</strong> diverse doma<strong>in</strong>s of application. The<br />

presentation of data <strong>in</strong> HTML <strong>format</strong> allows for plattform-<strong>in</strong>dependence and easy access for non-technical users.<br />

Recently there has been grow<strong>in</strong>g reserach <strong>in</strong>terest <strong>in</strong> meta-data [Metadata 1996] <strong>in</strong> diverse areas. Relational databases<br />

are capable of stor<strong>in</strong>g data <strong>in</strong> a highly structured way; when attempt<strong>in</strong>g to generate hypertexts from database records, the<br />

system catalog of the database can provide <strong>in</strong><strong>format</strong>ion on relationships between database tables on the meta-level. On<br />

the <strong>in</strong>stance-level this allows for automatic creation of hypertext l<strong>in</strong>ks between documents.<br />

Among other th<strong>in</strong>gs, database systems offer the advantage of be<strong>in</strong>g able to store large amounts of data <strong>in</strong> a consistent<br />

way. Today, many database applications exist <strong>in</strong> a variety of application doma<strong>in</strong>s. Several reasons exist for mak<strong>in</strong>g data<br />

stored <strong>in</strong> these applications accessible via the web:<br />

Non-technical users typically only have restricted or no access to RDBMS (Relational Database Management<br />

System) data, s<strong>in</strong>ce the <strong>in</strong>terface provided often requires database knowledge the average user does not have.<br />

Therefore, mak<strong>in</strong>g available the huge amounts of data which exist <strong>in</strong> database applications <strong>in</strong> a way all users can<br />

<strong>in</strong>stantly grasp offers large benefits to organizations. By simplify<strong>in</strong>g the access to the data users who lack skill or<br />

time to use databases directly can still apply <strong>in</strong><strong>format</strong>ion systems <strong>in</strong> their work.<br />

Generat<strong>in</strong>g hypertext from different RDBMS allows for a unified view of <strong>in</strong><strong>format</strong>ion: material from diverse<br />

database systems can be comb<strong>in</strong>ed <strong>in</strong>to a s<strong>in</strong>gle hypertext, elim<strong>in</strong>at<strong>in</strong>g the need for users to switch between<br />

systems when access<strong>in</strong>g data.<br />

Hypertext generated from database systems which do not support multiple users can be placed on web servers<br />

and then be viewed by many users at once, result<strong>in</strong>g <strong>in</strong> effectively turn<strong>in</strong>g the application <strong>in</strong>to multi-user mode<br />

(at least for brows<strong>in</strong>g).<br />

Those po<strong>in</strong>ts are valid not only for Intranets (with<strong>in</strong> an organization), but also for Internet users distributed all over the<br />

world. In the next sections we demonstrate the process of automatic hypertext generation by us<strong>in</strong>g the example of a<br />

database of classical records.<br />

2 The Music Database<br />

In our model a piece of music is composed by exactly one composer. Several artists may take part <strong>in</strong> the record<strong>in</strong>g of a<br />

piece, optionally perform<strong>in</strong>g <strong>in</strong> a role specific to the piece (such as s<strong>in</strong>gers <strong>in</strong> opera). The record may be of a part of the

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

Saved successfully!

Ooh no, something went wrong!