msg00618.html

2000Q1/msg00618.html · 7.7 KB

From the archive 2000Q1.zip

Download the archive   « Back to the archive contents

<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] javascript -->
<!--X-From-R13: Znhery Tna <ys25+Nnaqerj.pzh.rqh> -->
<!--X-Date: Wed, 15 Mar 2000 18:15:43 &#45;0800 -->
<!--X-Message-Id: osnyhg600UwH0xcbM0#andrew,cmu.edu -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 38CF873E.2863B8D3#ifi,uio.no -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] javascript</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:lf25+@andrew.cmu.edu">
</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="msg00617.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00619.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00614.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00622.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00618">Author</A>
&nbsp;|&nbsp;<A HREF="#00618">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00618">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] javascript</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] javascript</LI>
<LI><em>From</em>: Laurel Fan &lt;<A HREF="mailto:lf25%2B#andrew,cmu.edu">lf25+@andrew.cmu.edu</A>&gt;</LI>
<LI><em>Date</em>: Wed, 15 Mar 2000 14:58:36 -0500 (EST)</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>
Excerpts from muddev: 15-Mar-100 Re: [MUD-Dev] javascript by
=?iso-8859-1?Q?Gr=F#ifi, 
&gt; The real challenge is to come up with something very simple and powerful
&gt; that 50-90% of the web population can load and use.

Doing something entirely in Javascript is probably not the best way to
do this.  Javascript isn't usually thought of as powerful, and the more
'powerful' features you use, the less simple it gets.  You're also
not guaranteed that it'll work the same way or even work at all on
two different browsers (and it'll have to work in both IE and Netscape
to get a large majority of people).

If want to allow playing your mud from a web browser, consider doing
something on the (web) server side.  There are plenty of html-only
(with none or minimal javascript) chat/irc type applications.  The
basic principle of these is usually:

1. Have two frames, 1 for input, 1 for output.
2. Keep a connection to the mud.
3. Have the output frame refresh every 10 seconds or so.  The mud dumps
   its output into a file, and your script sends the tail of the file
   every time it's loaded.
4. The input frame is a form, containing a text field that submits to
   the script.  The script sends the contents of the text field as
   input to the mud.

(Alternatively, you could have only 1 frame, and only refresh
on a submit, which is easier and probably preferable if people will
be entering commands quickly more than they'll be sitting there
watching things scroll past)

To me this sounds easier, since I know more cgi scripting than I do
javascript, and you also have the advantage that if it's done right,
it'll work in any browser, but YMMV.




_______________________________________________
MUD-Dev mailing list
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>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00631" HREF="msg00631.html">Re: [MUD-Dev] javascript</A></strong>
<ul compact><li><em>From:</em> Ola Fosheim Grøstad &lt;olag#ifi,uio.no&gt;</li></ul>
<li><strong><A NAME="00622" HREF="msg00622.html">[MUD-Dev] HTML as a MUD client . . .  was RE: [MUD-Dev] javascript</A></strong>
<ul compact><li><em>From:</em> "John Bertoglio" &lt;jb#pulsepoll,com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00614" HREF="msg00614.html">Re: [MUD-Dev] javascript</A></STRONG>
<UL><LI><EM>From:</EM> Ola Fosheim Grøstad &lt;olag#ifi,uio.no&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00617.html">RE: [MUD-Dev] MUD timeline</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00619.html">Re: [MUD-Dev] CGDC dinner</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00614.html">Re: [MUD-Dev] javascript</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00622.html">[MUD-Dev] HTML as a MUD client . . .  was RE: [MUD-Dev] javascript</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00618"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00618"><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] javascript</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00595" HREF="msg00595.html">Re: [MUD-Dev] javascript</A></strong>, 
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Mon 13 Mar 2000, 21:32 GMT
<UL>
<LI><strong><A NAME="00600" HREF="msg00600.html">Re: [MUD-Dev] javascript</A></strong>, 
Bruce <a href="mailto:bruce#cubik,org">bruce#cubik,org</a>, Tue 14 Mar 2000, 20:56 GMT
</LI>
</UL>
</LI>
</ul>
<LI><strong><A NAME="00591" HREF="msg00591.html">Re: [MUD-Dev] javascript</A></strong>, 
cg <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 13 Mar 2000, 17:24 GMT
</LI>
<LI><strong><A NAME="00614" HREF="msg00614.html">Re: [MUD-Dev] javascript</A></strong>, 
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Wed 15 Mar 2000, 16:34 GMT
<UL>
<LI><strong><A NAME="00618" HREF="msg00618.html">Re: [MUD-Dev] javascript</A></strong>, 
Laurel Fan <a href="mailto:lf25+@andrew.cmu.edu">lf25+@andrew.cmu.edu</a>, Thu 16 Mar 2000, 02:15 GMT
<UL>
<LI><strong><A NAME="00622" HREF="msg00622.html">[MUD-Dev] HTML as a MUD client . . .  was RE: [MUD-Dev] javascript</A></strong>, 
John Bertoglio <a href="mailto:jb#pulsepoll,com">jb#pulsepoll,com</a>, Thu 16 Mar 2000, 05:42 GMT
</LI>
<LI><strong><A NAME="00631" HREF="msg00631.html">Re: [MUD-Dev] javascript</A></strong>, 
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Thu 16 Mar 2000, 18:21 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00579" HREF="msg00579.html">[MUD-Dev] Admin:  Corrections, data loss, and interruptions in service.</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Mon 13 Mar 2000, 06:32 GMT
<LI><strong><A NAME="00578" HREF="msg00578.html">[MUD-Dev] ADMIN: Posting delays</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Sat 11 Mar 2000, 19:28 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>

Site Stats

Snippets: 1791
Codebases: 571