msg00848.html

1997Q3/msg00848.html · 12.1 KB

From the archive 1997Q3.zip

Download the archive   « Back to the archive contents

<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  MUD Design Fundamentals  (Was: Looking for -->
<!--X-From-R13: Xrss Yrffryzna <wrssxNgrargjbex.pbz> -->
<!--X-Date: Fri, 29 Aug 1997 21:46:42 +0000 -->
<!--X-Message-Id: 3.0.2.32.19970829144833.00b87b60#mail,tenetwork.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199708291908.3287000#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:jeffk#tenetwork,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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00847.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00849.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00846.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01104.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00848">Author</A>
&nbsp;|&nbsp;<A HREF="#00848">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00848">Thread</A>
&nbsp;]

<!--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>: Jeff Kesselman &lt;<A HREF="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</A>&gt;</LI>
<LI><em>Date</em>: Fri, 29 Aug 1997 14:48:33 -0700</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
At 02:26 PM 8/29/97 PST8PDT, you wrote:
&gt;Hello all,
&gt;I'm new to this list so I'll include a short intro in this followup.  
&gt;I'm a 35 yr old computer technician/circuit designer turned programmer 

A side note.  The difference between your practical approach based on what
you've seen rdbms' do, and my theore5ical approach based o nthe
underpinning rdbms theory may be a differnece in training. My engineering
trainginw as software and so I've got a good deal of softare tehory to fall
back on.  I approach circuit design by looking at what I can clearly see
and comprehend and then modify from tehre (my facvorite boosk in this
regard are the "engineers Notebooks' from Radi Shack).  I ma not an
engineer, so while the underlying theory of what I'm lookign at may be much
more flexible, i don't knwo how.

To me this is the differnece between a programmer and a software engineer.

Jeff kesselman
&gt;who's had an interest in wargames and rpgs since the age of 16 or so.  As 
&gt;I have had a non-formal education, I may at times present concepts  in
&gt;unfamiliar ways.  (the following will no doubt be an example of this)
&gt;
&gt;A persistance system is used to take a 'snapshot' of a system or 
&gt;sub-system state at a particular point in time.  The persistance 
&gt;mechanism can then restore the system or sub-system to that earlier 
&gt;state.  It consists of basically three layers; the system or 
&gt;sub-system to be 'persisted', a system to encode/decode the run-time 
&gt;state of the persistant system to a storage mechanism, and a storage 
&gt;mechanism to store that state info.  
&gt;
&gt;A relational db corresponds to the store layer in a persistance model 
&gt;with one major difference, the store layer in a typical OO 
&gt;persistance model is unaware of the structure and type of stored 
&gt;data.  A relational db can well be used as the store layer for a 
&gt;persistance model but you lose the structure and type ignorance.  
&gt;
&gt;Thus if you change the type of a class data member you must make a 
&gt;corresponding change in the relational db structure.  Although this 
&gt;violates some OO design goals (ability to isolate/encapsulate 
&gt;changes), it has the advantage that the store layer can be 
&gt;manipulated outside of the program that implements persistance.
&gt;Another advantage is that the store layer incorporates functionality 
&gt;that you will not need to implement in the app.
&gt;
&gt;If your app is implemented in a langauge that supports runtime-binding, 
&gt;(Smalltalk, LPC?, etc) the dumb store would be more appropriate since 
&gt;you are more apt to need to make changes at only one place.  However 
&gt;you may need to implement more sophisticated knowledge extraction 
&gt;mechanisms.   If you find yourself in need of the ability to query 
&gt;the data, do updates, perform transactions you must provide those 
&gt;capabilities in your code.
&gt;
&gt;On the other hand, if you are implementing your app in an 
&gt;early-binding language (C,C++, etc) you might well consider using an 
&gt;rdbms as your persistance store.  Primarily because you will need to 
&gt;write less code to achieve the same ends (data import/export, 
&gt;external data manipulation, queries, updates, transactios, etc.).  
&gt;The drawback is, of course, that you must keep your object model and 
&gt;your db model in sync.  
&gt;
&gt;If your chosen rdbms supports meta-functions, you could perhaps 
&gt;design a persistance system that automatically updates 
&gt;the underlying db for changes in the object model.  I'm not sure of 
&gt;the practical use of this, but it is quite possible to have a new 
&gt;class implementation check the db upon first instance creation and 
&gt;update its fields/tables as required.  This would restore the 
&gt;encapsulation of changes feature of the dumb store at the expense of 
&gt;an increase in complexity of implementation.
&gt;
&gt;In closing, the persistance vs. rdbms argument is not necessarily an 
&gt;either-or question.  In some situations it may prove profitable to 
&gt;combine the two approaches.  I hope this helps to clarify the picture 
&gt;a bit.
&gt;
&gt;&gt; At 03:47 AM 8/29/97 PST8PDT, Ola Fosheim Groestad wrote:
&gt;&gt; &gt;Jeff Kesselman wrote:
&gt;&gt; &gt;&gt; engine ala Cold or Smalltalk.  This is akign to the 'realtional databes"
&gt;&gt; &gt;&gt; oidea where everythitgn is stored as tables, ebven the sturucture of the
&gt;&gt; &gt;&gt; data itself.
&gt;&gt; &gt;
&gt;&gt; &gt;I don't think of this as persistence. By persitence I mean something
&gt;&gt; &gt;like handing a reference to an object and tell the persistence system to
&gt;&gt; &gt;save the object and everything that object refers to unless something
&gt;&gt; &gt;else is specified. A database is something else, I may be wrong..
&gt;&gt; 
&gt;&gt; A relational database really is jsuta way of organizing data on the disk
&gt;&gt; drive.  The inetrface coudl be what you describe or a standard table-type
&gt;&gt; generic inetrface.  In iether case a dataabse coudl be living under neath
&gt;&gt; to ragnize the data.
&gt;&gt; 
&gt;&gt; An "object orinted database" is a lot mreo like what yo udescribe BUT the
&gt;&gt; problem qwith your descriptionj is that it make sa concious act of storing
&gt;&gt; and retrieving necessary. Many "inhearently p[ersistant" systems (such as
&gt;&gt; cold or Smalltalk) do NOT require such an active effort.  In genral the
&gt;&gt; difference is in tehcnase of cold or Smalltalk the persistance is built
&gt;&gt; into the system, in the case of a C++ persistance library it is an add on.
&gt;&gt; 
&gt;&gt; But ANY system that can store the values of obejcts and recreate them from
&gt;&gt; a secondary storage device ghas the quality of "persistance". Lieterally
&gt;&gt; persistance comes from the english verb "to persist" or to continue to
exist.
&gt;&gt; 
&gt;
&gt;Brian Price aka Delver &lt;blprice#bedford,net&gt;
&gt;
&gt;
Jeff Kesselman
Snr. Game Integration Engineer
TEN -- The Total Entertainment Network -- www.ten.net

-----BEGIN GEEK CODE BLOCK-----
     Version: 3.1
     GCS/CC/E/IT/MC d+(++)@ s: a C++++$ ULSC+++(++++)$ P++(+++)$ L++ 
     E--- W++$ N++$ o+ K--? w++(+++)$@&gt;--- O+(++)&gt;$ M+&gt;$ !V PS++ PE+ 
     Y+ PGP- t+ 5+ X- R+(++)$&gt;+++* tv+ b+&gt;++ DI+++ !D G e++ h r+++ y+++
------END GEEK CODE BLOCK------ 

Speak Geek!
<A  HREF="http://krypton.mankato.msus.edu/~hayden/geek.html">http://krypton.mankato.msus.edu/~hayden/geek.html</A>

</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="00846" HREF="msg00846.html">Re: [MUD-Dev]  MUD Design Fundamentals  (Was: Looking for</A></STRONG>
<UL><LI><EM>From:</EM> "Brian Price" &lt;blprice#bedford,net&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00847.html">Re: [MUD-Dev]  MUD Design Fundamentals  (Was: Looking for</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00849.html">Re: [MUD-Dev]  Re: Character evolution</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00846.html">Re: [MUD-Dev]  MUD Design Fundamentals  (Was: Looking for</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg01104.html">Re: [MUD-Dev]  MUD Design Fundamentals  (Was: Looking for</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00848"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00848"><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><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>&lt;Possible follow-up(s)&gt;<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
<UL>
<LI><strong><A NAME="00858" HREF="msg00858.html">Re: [MUD-Dev] MUD Design Fundamentals  (Was: Looking for books...)</A></strong>, 
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Sat 30 Aug 1997, 16:14 GMT
<UL>
<LI><strong><A NAME="00956" HREF="msg00956.html">Re: [MUD-Dev] MUD Design Fundamentals  (Was: Looking for books...)</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Mon 01 Sep 1997, 18:27 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>

Site Stats

Snippets: 1791
Codebases: 571