1998Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: Databases: was Re: skill system -->
<!--X-From-R13: wnpbo ynatgubea <wynatgubeaNgbjregrpuvap.pbz> -->
<!--X-Date: Wed, 24 Jun 1998 07:21:12 &#45;0700 -->
<!--X-Message-Id: 9193945826E7D0118BB4080009DBF8F61221A0@TTECH -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: Databases: was Re: skill system</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jlangthorn#towertechinc,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="msg01191.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01193.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg01191.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01014.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#01192">Author</A>
&nbsp;|&nbsp;<A HREF="#01192">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#01192">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: Databases: was Re: skill system</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] Re: Databases: was Re: skill system</LI>
<LI><em>From</em>: jacob langthorn &lt;<A HREF="mailto:jlangthorn#towertechinc,com">jlangthorn#towertechinc,com</A>&gt;</LI>
<LI><em>Date</em>: Wed, 24 Jun 1998 09:18:29 -0500</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
&gt; On Sat, 20 Jun 1998, Jon A. Lambert wrote:
&gt; 
&gt; &gt; On 16 Jun 98, s001gmu#nova,wright.edu wrote:
&gt; &gt; &gt; On Thu, 11 Jun 1998, T. Alexander Popiel wrote:
&gt; &gt; &gt; 
&gt; &gt; &gt; &gt; In message:  &lt;<A HREF="msg00971.html">9193945826E7D0118BB4080009DBF8F611737D@TTECH</A>&gt;
&gt; &gt; &gt; &gt;              jacob langthorn &lt;jlangthorn#towertechinc,com&gt;
&gt; writes:
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt;	Has any one tried using Orical or SQL to manage the data
&gt; base
&gt; &gt; &gt; &gt; &gt;for the mud? If so what sorta luck did you have?
&gt; &gt; &gt; &gt; 
&gt; 
	[jacob langthorn]  Deleted.......  
&gt; &gt; RDBs are ideal for mapping objects with static runtime attributes.
&gt; 
&gt; Bingo.  Not all of us are on the 'fully programable' band wagon.  In
&gt; fact,
&gt; I think we are not even on the 'completely levelless' band wagon
&gt; either.
&gt; 
&gt; &gt; In order to succesfully map an object with dynamic runtime
&gt; attributes 
&gt; &gt; to an RDB, the object must be reflective.  That is it must be at
&gt; &gt; all times self-aware of it's attributes.  In addition the RDB
&gt; ideally
&gt; &gt; is designed in such a way as to implement object reflectivity
&gt; instead
&gt; &gt; of the object directly.  This requires an interface or translator 
&gt; &gt; module.  One can certainly map an object directly to an RDB 
&gt; &gt; using what static properties are known to all objects and putting
&gt; the
&gt; &gt; dynamic properties into a binary blob.  
&gt; 
&gt; Let me attempt to restate the above, to test my understanding.  Please
&gt; correct if I mess anything up.  :)
&gt; 
&gt; There are 2 kinds of objects (to generalize).
&gt; 1) Objects whose properties are compiled in. (A rock is a rock is a
&gt; rock)
&gt; 2) Objects who can change their properties at run time. (a rock can
&gt; become
&gt; an intelligent rock on the fly)
&gt; 
&gt; 1 maps nicely to a RDB because each of the objects compiled in simply
&gt; gets
&gt; its own table, with one column for each property.  2 does not map well
&gt; because the setup listed for 1 (one table per object, one column per
&gt; property) will just not work as the properties themselves change and
&gt; changing a table's layout in SQL is ... expensive ... to say the
&gt; least.
&gt; 
&gt; One suggested solution to mapping 2 into a RDB is to map out the basic
&gt; objects/properties as in 1, and then cram all the changeable ones into
&gt; a
&gt; Blob field.  The problem is that the blob field then needs to be
&gt; interpreted at run time, essentially recreating a large portion of the
&gt; DB
&gt; layer in code (storing not only data, but how the data is used).
&gt; This, in
&gt; essence, defeats the purpose of using a RDB to begin with.
&gt; 
	[jacob langthorn]  I think you are confusing tables with records
or I am.
	I was thinking of building a table with all the atributes of
objects, another 
	for Characters, and areas and so on. My hope is to have the
server track
	the relations, ie a character record points to the object
record's that the 
	character has picked up, as well as which area s/he is in. When
a character 
	picks up a new object his record simply gains a pointer to the
objects record
	record.Along this vein all objects have the abilaty to take on
all of the posible
	properties properties in the system, ie your rock would just
gain a flag in the
	colum for flying. the same would aply for characters and areas.
I appologieze
	if this seems a litle scrambled, it was writen on the fly so to
speak.

	Deleted.....

	Jacob Langthorn
&gt;  


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg01191.html">[MUD-Dev] Re: Databases: was Re: skill system</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg01193.html">[MUD-Dev] Re: Analysis and specification - the dirty words of mud development?</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg01191.html">[MUD-Dev] Re: Databases: was Re: skill system</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg01014.html">[MUD-Dev] META: The web is a live again!</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#01192"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#01192"><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>[MUD-Dev] Re: OT: Announcement</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="01048" HREF="msg01048.html">[MUD-Dev] Re: OT: Announcement</A></strong>, 
Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Mon 15 Jun 1998, 18:17 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="01019" HREF="msg01019.html">[MUD-Dev] Re: Databases: was Re: skill system</A></strong>, 
John Bertoglio <a href="mailto:alexb#internetcds,com">alexb#internetcds,com</a>, Sun 14 Jun 1998, 04:53 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="01094" HREF="msg01094.html">[MUD-Dev] Re: Databases: was Re: skill system</A></strong>, 
John Bertoglio <a href="mailto:alexb#internetcds,com">alexb#internetcds,com</a>, Wed 17 Jun 1998, 02:49 GMT
</LI>
<LI><strong><A NAME="01191" HREF="msg01191.html">[MUD-Dev] Re: Databases: was Re: skill system</A></strong>, 
##Make Nylander <a href="mailto:thenewt#use,usit.net">thenewt#use,usit.net</a>, Wed 24 Jun 1998, 13:31 GMT
</LI>
<LI><strong><A NAME="01192" HREF="msg01192.html">[MUD-Dev] Re: Databases: was Re: skill system</A></strong>, 
jacob langthorn <a href="mailto:jlangthorn#towertechinc,com">jlangthorn#towertechinc,com</a>, Wed 24 Jun 1998, 14:21 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="01014" HREF="msg01014.html">[MUD-Dev] META: The web is a live again!</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Sat 13 Jun 1998, 02:36 GMT
<LI><strong><A NAME="01006" HREF="msg01006.html">[MUD-Dev] Away on a trip</A></strong>, 
Bryce <a href="mailto:S006JBH#nova,wright.edu">S006JBH#nova,wright.edu</a>, Fri 12 Jun 1998, 20:56 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="01011" HREF="msg01011.html">[MUD-Dev] Away on a trip</A></strong>, 
Bryce <a href="mailto:S006JBH#nova,wright.edu">S006JBH#nova,wright.edu</a>, Fri 12 Jun 1998, 23:47 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00989" HREF="msg00989.html">[MUD-Dev] Re: Off topic! ...</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Fri 12 Jun 1998, 00:37 GMT
</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>