msg00860.html
1997Q3/msg00860.html · 8.8 KB
From the archive 1997Q3.zip
Download the archive « Back to the archive contents
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for -->
<!--X-From-R13: "Xba O. Znzoreg" <wyflfvapNvk.argpbz.pbz> -->
<!--X-Date: Sat, 30 Aug 1997 19:06:48 +0000 -->
<!--X-Message-Id: 199708301906.OAA20534@dfw-ix2.ix.netcom.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199708291908.3286800#bedford,net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jlsysinc#ix,netcom.com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">
<font size="+4" color="#804040">
<strong><em>MUD-Dev<br>mailing list archive</em></strong>
</font>
<br>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
Date:
[ <a href="msg00859.html">Previous</a>
| <a href="msg00861.html">Next</a>
]
Thread:
[ <a href="msg00847.html">Previous</a>
| <a href="msg00846.html">Next</a>
]
Index:
[ <A HREF="author.html#00860">Author</A>
| <A HREF="#00860">Date</A>
| <A HREF="thread.html#00860">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</LI>
<LI><em>From</em>: "Jon A. Lambert" <<A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A>></LI>
<LI><em>Date</em>: Sat, 30 Aug 1997 15:07:27 -4</LI>
<LI><em>Comments</em>: Authenticated sender is <jlsysinc#popd,ix.netcom.com></LI>
<LI><em>Reply-to</em>: <A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On 29 Aug 97 at 14:25, Brian Price wrote:
> Hello all,
> I'm new to this list so I'll include a short intro in this followup.
> I'm a 35 yr old computer technician/circuit designer turned programmer
> who's had an interest in wargames and rpgs since the age of 16 or so. As
> I have had a non-formal education, I may at times present concepts in
> unfamiliar ways. (the following will no doubt be an example of this)
Hi Brian. I have similar interests in wargames and RPGs.
> A persistance system is used to take a 'snapshot' of a system or
> sub-system state at a particular point in time. The persistance
> mechanism can then restore the system or sub-system to that earlier
> state.
Yep. The granularity and nature of the persistence can vary widely.
> It consists of basically three layers; the system or
> sub-system to be 'persisted', a system to encode/decode the run-time
> state of the persistant system to a storage mechanism, and a storage
> mechanism to store that state info.
>
The model I'm attempting is not dissimilar, perhaps only in
terminology.
1) Object manager subsystem - consists of several subsystems
a) transaction manager
b) cache manager
c) database manager
The database manager acts as a translator of a generic OO model into
a relational model. It translates inheritance, associations, user
data types into their relational counterparts. Late bound DML and
DDL are used frequently.
A few general guidelines I've used in my approach:
1) Each class maps to one or more tables. An object instance maps
to a row.
2) Aggregate classes map to one or more tables.
3) Many to many associations map to a distinct table.
4) One to many and one to one relationships are implemented using
foreign keys.
5) A Superclass and each subclass map to a table.
Note: I am using single inheritance OO model much like Java's.
> A relational db can well be used as the store layer for a
> persistance model but you lose the structure and type ignorance.
>
Yes for external programs, unless they access your store through an
object broker, see above.
> Thus if you change the type of a class data member you must make a
> corresponding change in the relational db structure. Although this
> violates some OO design goals (ability to isolate/encapsulate
> changes), it has the advantage that the store layer can be
> manipulated outside of the program that implements persistance.
> Another advantage is that the store layer incorporates functionality
> that you will not need to implement in the app.
>
True but these changes can be encapsulated as well, if you attempt
a generic object to relational translation rather than a literal
one.
Jon A. Lambert
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00845" HREF="msg00845.html">Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</A></STRONG>
<UL><LI><EM>From:</EM> "Brian Price" <blprice#bedford,net></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00859.html">Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00861.html">Users want sexy muds, not rape... (Re: [MUD-Dev] Re:)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00847.html">Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00846.html">Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00860"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00860"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00901" HREF="msg00901.html">Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 31 Aug 1997, 19:16 GMT
<UL>
<LI><strong><A NAME="00948" HREF="msg00948.html">Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</A></strong>,
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Mon 01 Sep 1997, 15:15 GMT
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00845" HREF="msg00845.html">Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</A></strong>,
Brian Price <a href="mailto:blprice#bedford,net">blprice#bedford,net</a>, Fri 29 Aug 1997, 21:24 GMT
<UL>
<LI><strong><A NAME="00847" HREF="msg00847.html">Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</A></strong>,
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Fri 29 Aug 1997, 21:44 GMT
</LI>
<LI><strong><A NAME="00860" HREF="msg00860.html">Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</A></strong>,
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sat 30 Aug 1997, 19:06 GMT
</LI>
</UL>
<UL>
<li><Possible follow-up(s)><br>
<LI><strong><A NAME="00846" HREF="msg00846.html">Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</A></strong>,
Brian Price <a href="mailto:blprice#bedford,net">blprice#bedford,net</a>, Fri 29 Aug 1997, 21:24 GMT
<UL>
<LI><strong><A NAME="00848" HREF="msg00848.html">Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</A></strong>,
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Fri 29 Aug 1997, 21:46 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="01104" HREF="msg01104.html">Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for</A></strong>,
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Fri 05 Sep 1997, 05:01 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00841" HREF="msg00841.html">Re: [MUD-Dev] MUD Design Fundamentals (Was: Looking for books...)</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 29 Aug 1997, 14:46 GMT
</LI>
</UL></BLOCKQUOTE>
</ul>
<hr>
<center>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
</center>
<hr>
</body>
</html>