| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<title>Using Stag with Relational Databases</title> |
| 5 |
</head> |
| 6 |
|
| 7 |
<body> |
| 8 |
<h1>Using Stag with Relational Databases</h1> |
| 9 |
|
| 10 |
<h2>Intro</h2> |
| 11 |
|
| 12 |
In many applications, a large bulk of the code is dedicated to |
| 13 |
mapping between the relational database and some other format |
| 14 |
convenient for application programmers. This code is frequently |
| 15 |
bulky, difficult to maintain, and unnecessary. |
| 16 |
|
| 17 |
<p> |
| 18 |
|
| 19 |
One approach often taken is object-relational mapping. I feel |
| 20 |
this approach suffers from problems. Generally the object view |
| 21 |
of the world is assumed to be superior and the relational view |
| 22 |
is hidden behind the object layer. |
| 23 |
|
| 24 |
<p> |
| 25 |
|
| 26 |
Stag takes a different approach. The aim is to provide a useful |
| 27 |
utility for helping with |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
<hr> |
| 34 |
<address><a href="mailto:[email protected]">chris mungall</a></address> |
| 35 |
<!-- Created: Thu Dec 5 20:59:08 PST 2002 --> |
| 36 |
<!-- hhmts start --> |
| 37 |
Last modified: Thu Dec 5 21:22:20 PST 2002 |
| 38 |
<!-- hhmts end --> |
| 39 |
</body> |
| 40 |
</html> |