1999Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] an idea..wondering if this has been done -->
<!--X-From-R13: oehprNcherzntvp.pbz -->
<!--X-Date: Mon, 19 Jul 1999 09:47:54 &#45;0700 -->
<!--X-Message-Id: 199907170547.WAA16721#portland,puremagic.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 19990716161738.A637#kitenet,net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] an idea..wondering if this has been done</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:bruce#puremagic,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="msg00930.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00932.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00929.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00901.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00931">Author</A>
&nbsp;|&nbsp;<A HREF="#00931">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00931">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] an idea..wondering if this has been done</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>: Re: [MUD-Dev] an idea..wondering if this has been done</LI>
<LI><em>From</em>: <A HREF="mailto:bruce#puremagic,com">bruce#puremagic,com</A></LI>
<LI><em>Date</em>: Fri, 16 Jul 1999 22:47:24 -0700 (PDT)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#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>
Joey Hess wrote:
&gt; Well you're welcome to look at my DTD; perlmoo is also non-commericial.
&gt; <A  HREF="http://kitenet.net/cgi-bin/cvsweb/joey-cvs/public/perlmoo/doc/dtd.xml">http://kitenet.net/cgi-bin/cvsweb/joey-cvs/public/perlmoo/doc/dtd.xml</A>
&gt; 
&gt; There are some rather old sample databases using an older version of this
&gt; DTD in <A  HREF="http://kitenet.net/cgi-bin/cvsweb/joey-cvs/public/perlmoo/db/Attic/">http://kitenet.net/cgi-bin/cvsweb/joey-cvs/public/perlmoo/db/Attic/</A>

So, I did and now I've lots of questions!

In your some of your notes, you mention having changed how flags work to
reduce space used by your DB.  Have you considered using the short form of
an empty element as well to save space?

ie: use &lt;FIELD .... /&gt; instead of &lt;FIELD ....&gt;&lt;/FIELD&gt; ?

You currently slurp in the full DB on startup from what I can tell.  Do
you plan on always doing this?  (I don't know much about perlmoo and where
you intend to take it.)

Your DTD describes your database format.  Have you considered using XML to
describe more of the your world model?  I saw some comments in your code
about not wanting to use XML for room descriptions and such.  ColdCore
uses a custom (compiled for speed) markup language in this case (and in
others) that allows for a lot of interesting things.  What types of
reasons did you have for deciding against XML?

I don't mean this to be an interrogation, so I'll try and stop now.

An interesting thing that could be done with an XML db format is to do a
web-based DB browser.  In an alternate life, I do purify work on Mozilla
(not work, just a hobby of sorts).  One of the mail/news guys at Netscape
(Alec Flett) wrote up a perl script to convert a purify log into XML and
then some CSS and JS stuff to make it browsable via Mozilla.  It is pretty
cool and can be seen at <A  HREF="http://www.mozilla.org/mailnews/purify/">http://www.mozilla.org/mailnews/purify/</A>

The ease with which that type of thing can be done with upcoming browsers
and such are what were originally driving me towards XML, among a
multitude of other reasons.

If anyone else out there would like to respond to my questions within the
context of their system (XML or not!), I'd love to hear any answers.

 - Bruce



_______________________________________________
MUD-Dev maillist  -  MUD-Dev#kanga,nu
<A  HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</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="00929" HREF="msg00929.html">Re: [MUD-Dev] an idea..wondering if this has been done</A></STRONG>
<UL><LI><EM>From:</EM> Joey Hess &lt;joey#kitenet,net&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00930.html">Re: [MUD-Dev] GM Touring Company</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00932.html">[MUD-Dev] Containing automation?</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00929.html">Re: [MUD-Dev] an idea..wondering if this has been done</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00901.html">[MUD-Dev] Technical programming question (circular buffers &amp; logging)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00931"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00931"><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] an idea..wondering if this has been done</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00918" HREF="msg00918.html">Re: [MUD-Dev] an idea..wondering if this has been done</A></strong>, 
David Bennett <a href="mailto:ddt#discworld,imaginary.com">ddt#discworld,imaginary.com</a>, Fri 16 Jul 1999, 00:43 GMT
</LI>
</ul>
</ul>
<LI><strong><A NAME="00915" HREF="msg00915.html">Re: [MUD-Dev] an idea..wondering if this has been done</A></strong>, 
Willowreed <a href="mailto:Willowreed#aol,com">Willowreed#aol,com</a>, Thu 15 Jul 1999, 22:05 GMT
</LI>
<LI><strong><A NAME="00928" HREF="msg00928.html">Re: [MUD-Dev] an idea..wondering if this has been done</A></strong>, 
Bruce Mitchener, Jr. <a href="mailto:bruce#cybersight,com">bruce#cybersight,com</a>, Fri 16 Jul 1999, 22:35 GMT
<UL>
<LI><strong><A NAME="00929" HREF="msg00929.html">Re: [MUD-Dev] an idea..wondering if this has been done</A></strong>, 
Joey Hess <a href="mailto:joey#kitenet,net">joey#kitenet,net</a>, Sat 17 Jul 1999, 02:56 GMT
<UL>
<LI><strong><A NAME="00931" HREF="msg00931.html">Re: [MUD-Dev] an idea..wondering if this has been done</A></strong>, 
bruce <a href="mailto:bruce#puremagic,com">bruce#puremagic,com</a>, Mon 19 Jul 1999, 16:47 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00901" HREF="msg00901.html">[MUD-Dev] Technical programming question (circular buffers &amp; logging)</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Thu 15 Jul 1999, 02:34 GMT
<UL>
<LI><strong><A NAME="00914" HREF="msg00914.html">Re: [MUD-Dev] Technical programming question (circular buffers &amp; logging)</A></strong>, 
Greg Miller <a href="mailto:gmiller#classic-games,com">gmiller#classic-games,com</a>, Thu 15 Jul 1999, 22:05 GMT
</LI>
</UL>
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00911" HREF="msg00911.html">Re: [MUD-Dev] Technical programming question (circular buffers &amp; logging)</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 15 Jul 1999, 18:24 GMT
<UL>
<LI><strong><A NAME="00922" HREF="msg00922.html">Re: [MUD-Dev] Technical programming question (circular buffers &amp; logging)</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 16 Jul 1999, 02:06 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>