From kimberlythompson@example.net Thu Aug 21 17:12:22 2003
Return-Path: <kimberlythompson@example.net>
Delivered-To: kimberlythompson@example.net
Received: (qmail 88142 invoked by uid 500); 21 Aug 2003 17:12:22 -0000
Mailing-List: contact kimberlythompson@example.net; run by ezmlm
Precedence: bulk
List-Post: <mailto:kimberlythompson@example.net>
List-Help: <mailto:kimberlythompson@example.net>
List-Unsubscribe: <mailto:kimberlythompson@example.net>
List-Subscribe: <mailto:kimberlythompson@example.net>
Delivered-To: mailing list kimberlythompson@example.net
Received: (qmail 88059 invoked from network); 21 Aug 2003 17:12:20 -0000
Received: from minotaur.apache.org (83.161.120.155)
  by daedalus.apache.org with SMTP; 21 Aug 2003 17:12:20 -0000
Received: (qmail 18243 invoked by uid 1048); 21 Aug 2003 17:05:31 -0000
Date: 21 Aug 2003 17:05:31 -0000
Message-ID: <kimberlythompson@example.net>
From: kimberlythompson@example.net
To: kimberlythompson@example.net
Subject: cvs commit: tcl-site/rivet index.rvt
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

davidw      2003/08/21 10:05:31

  Modified:    .        style.css
               presentations index.rvt
               rivet    index.rvt
  Log:
  Added some source code examples to the Rivet front page.
  
  Revision  Changes    Path
  1.10      +28 -11    tcl-site/style.css
  
  Index: style.css
  ===================================================================
  RCS file: /home/cvs/tcl-site/style.css,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- style.css	28 May 2003 09:17:21 -0000	1.9
  +++ style.css	21 Aug 2003 17:05:31 -0000	1.10
  @@ -6,7 +6,6 @@
   }
   
   p {
  -    font-size: smaller;
   }
   
   A:link { color: #cc3300 }
  @@ -48,15 +47,9 @@
        color: #006600;
   }
   
  -div.box {
  -    font-size: smaller;
  -    border-width: medium;
  -    padding: 0.3em;
  -    background-color: #dddddd;
  -}
  -
   table.main {
       width: 100%;
  +    font-size: smaller;
   }
   
   table.lists td {
  @@ -77,10 +70,8 @@
   }
   
   table.nav td {
  -//    background-color: #aaaaff;
       font-weight: bold;
       padding: .3em;
  -    font-size: smaller;
   }
   
   li {
  @@ -91,4 +82,30 @@
   blockquote {
       font-size: smaller;
       font-style: italic;
  -}
  \ No newline at end of file
  +}
  +
  +pre.code {
  +    padding: 1ex;
  +}
  +
  +td.code {
  +    background-color: black;
  +    color: white;
  +    border: solid white 1em;
  +}
  +
  +span.type {
  +    color: #4682b4;
  +} /* font-lock-type-face */
  +span.variable-name {
  +    color: #228b22;
  +} /* font-lock-variable-name-face */
  +span.comment {
  +    color: #ff7f24;
  +} /* font-lock-comment-face */
  +span.keyword {
  +    color: #00ffff;
  +} /* font-lock-keyword-face */
  +span.function-name {
  +    color: #87cefa;
  +} /* font-lock-function-name-face */
  
  
  
  1.2       +8 -6      tcl-site/presentations/index.rvt
  
  Index: index.rvt
  ===================================================================
  RCS file: /home/cvs/tcl-site/presentations/index.rvt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.rvt	28 May 2003 09:17:22 -0000	1.1
  +++ index.rvt	21 Aug 2003 17:05:31 -0000	1.2
  @@ -26,20 +26,22 @@
   	      redistribute, or otherwise do as you wish.
   	    </p>
   	    <ul>
  -	      <li>Tcl Presentation: <a href="tcl/">(live)</a> <a
  -	      href="tcl.tgz">(tarball)</a><br>
  +	      <li>Tcl Presentation: <a href="tcl/"></a><br>
   		Presentation on the Tcl programming language and the Tk toolkit.
   	      </li>
  -	      <li>mod_dtcl Presentation: <a href="dtcl/">(live)</a> <a
  -	      href="dtcl.tgz">(tarball)</a><br>
  -		mod_dtcl presentation.
  -	      </li>
   	      <li>
   		Apache Tcl Presentation: <a
   		  href="apache-tcl/">(live)</a><br>
   
   		The present and future of Apache Tcl, and why Tcl is
   		such a logical fit for doing web content.
  +	      </li>
  +	      <li>Rivet Presentation: <a href="rivet">(live)</a><br>
  +
  +		About Rivet, the successor to mod_dtcl and NeoWebScript.
  +	      </li>
  +	      <li>mod_dtcl Presentation: <a href="dtcl/">(live)</a><br>
  +		What mod_dtcl is and how it works.
   	      </li>
   	    </ul>
   	  </td>
  
  
  
  1.7       +68 -1     tcl-site/rivet/index.rvt
  
  Index: index.rvt
  ===================================================================
  RCS file: /home/cvs/tcl-site/rivet/index.rvt,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- index.rvt	14 Feb 2003 19:33:56 -0000	1.6
  +++ index.rvt	21 Aug 2003 17:05:31 -0000	1.7
  @@ -63,6 +63,73 @@
   	      it continues to improve, yet maintains its rock-solid
   	      nature.
   	    </p>
  +
  +	    <table>
  +	      <tbody>
  +		<tr>
  +		  <td colspan="2"><hr width="80%"></td>
  +		</tr>
  +		<tr>
  +		  <td align="center"><b>Rivet Templates (.rvt)</b></td>
  +		  <td align="center"><b>Tcl Scripts (.tcl)</b></td>
  +		</tr>
  +		<tr>
  +		  <td width="50%">
  +		    Templates let you add a bit of code to your HTML,
  +		    to add dynamic content to it, or speed up creation
  +		    of repetitive elements.  Templates are appropriate
  +		    for quick'n'dirty pages, where you just need to do
  +		    some scripting quickly.  But they are also
  +		    appropriate for the 'display' component of your
  +		    complex application.
  +		  </td>
  +		  <td>
  +		    Pure Tcl scripts let you do the heavy lifting to
  +		    control your application.  A sensible design
  +		    pattern is to put most of your complex logic in
  +		    these files, and then parse template files to
  +		    display the results.  This means that those who
  +		    are creating the HTML files don't have to know
  +		    much Tcl, and only need to call a few simple
  +		    commands.
  +		  </td>
  +		</tr>
  +		<tr class="code">
  +		  <td class="code">
  +<pre class="code">
  +  <span class="type">&lt;table&gt;</span>
  +    <span class="type">&lt;tbody&gt;</span>
  +      <span class="type">&lt;tr&gt;</span>
  +	<span class="type">&lt;td&gt;</span>
  +&lt;?
  +<span class="keyword">foreach</span> line [chat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4model888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4getlines $user] {
  +    puts <span class="string">&quot;$line&lt;br&gt;&quot;</span>
  +}
  +?&gt;
  +	<span class="type">&lt;/td&gt;</span>
  +      <span class="type">&lt;/tr&gt;</span>
  +    <span class="type">&lt;/tbody&gt;</span>
  +  <span class="type">&lt;/table&gt;</span>
  +</pre>
  +		  </td>
  +		  <td class="code">
  +<pre class="code">
  +<span class="keyword">proc</span> <span class="function-name">chat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4model888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4getlines</span> {user} {
  +    set sk [chat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4model888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4getsock]
  +    puts $sk [list user $user cmd get msg <span class="string">&quot;&quot;</span>]
  +    <span class="keyword">if</span> { ! [eof $sk] } {
  +	gets $sk data
  +	<span class="keyword">return</span> <span class="string">&quot;$data&quot;</span>
  +    } <span class="keyword">else</span> {
  +	<span class="keyword">error</span> <span class="string">&quot;Problem with socket&quot;</span>
  +    }
  +}
  +</pre>
  +		  </td>
  +		</tr>
  +	      </tbody>
  +	    </table>
  +
   	  </td>
   	</tr>
       </table>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: kimberlythompson@example.net
For additional commands, e-mail: kimberlythompson@example.net


From kimberlythompson@example.net Wed Aug 27 09:20:06 2003
Return-Path: <kimberlythompson@example.net>
Delivered-To: kimberlythompson@example.net
Received: (qmail 48722 invoked from network); 27 Aug 2003 09:20:06 -0000
Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155)
  by minotaur-2.apache.org with SMTP; 27 Aug 2003 09:20:06 -0000
Received: (qmail 27651 invoked by uid 500); 27 Aug 2003 09:09:28 -0000
Delivered-To: kimberlythompson@example.net
Received: (qmail 27501 invoked by uid 500); 27 Aug 2003 09:09:27 -0000
Mailing-List: contact kimberlythompson@example.net; run by ezmlm
Precedence: bulk
List-Post: <mailto:kimberlythompson@example.net>
List-Help: <mailto:kimberlythompson@example.net>
List-Unsubscribe: <mailto:kimberlythompson@example.net>
List-Subscribe: <mailto:kimberlythompson@example.net>
Delivered-To: mailing list kimberlythompson@example.net
Received: (qmail 4803 invoked from network); 27 Aug 2003 08:26:04 -0000
Received: from unknown (HELO minotaur.apache.org) (83.161.120.155)
  by daedalus.apache.org with SMTP; 27 Aug 2003 08:26:04 -0000
Received: (qmail 19487 invoked by uid 1048); 27 Aug 2003 08:26:01 -0000
Date: 27 Aug 2003 08:26:01 -0000
Message-ID: <kimberlythompson@example.net>
From: kimberlythompson@example.net
To: kimberlythompson@example.net
Subject: cvs commit: tcl-site/presentations/apache-tcl style.css
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N

davidw      2003/08/27 01:26:01

  Modified:    .        style.css
               presentations index.rvt
               presentations/apache-tcl style.css
  Log:
  Fixed up CSS a bit, added a presentation link.
  
  Revision  Changes    Path
  1.11      +3 -1      tcl-site/style.css
  
  Index: style.css
  ===================================================================
  RCS file: /home/cvs/tcl-site/style.css,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- style.css	21 Aug 2003 17:05:31 -0000	1.10
  +++ style.css	27 Aug 2003 08:25:59 -0000	1.11
  @@ -52,6 +52,7 @@
       font-size: smaller;
   }
   
  +/*
   table.lists td {
       font-size: smaller;
       background-color: #aaaaaa;
  @@ -64,6 +65,7 @@
       background-color: #aaaaff;
       padding: .5em;
   }
  +*/
   
   table.nav {
   
  @@ -75,7 +77,7 @@
   }
   
   li {
  -     font-size: smaller;
  +/*      font-size: smaller;  */
        margin-bottom: 0.5em;
   }
   
  
  
  
  1.3       +2 -2      tcl-site/presentations/index.rvt
  
  Index: index.rvt
  ===================================================================
  RCS file: /home/cvs/tcl-site/presentations/index.rvt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- index.rvt	21 Aug 2003 17:05:31 -0000	1.2
  +++ index.rvt	27 Aug 2003 08:26:00 -0000	1.3
  @@ -7,7 +7,7 @@
     <body>
       <? title ?>
   
  -    <table>
  +    <table class="main">
   	<tr>
   	  <? include [file join .. newnav.html] ?>
   
  @@ -26,7 +26,7 @@
   	      redistribute, or otherwise do as you wish.
   	    </p>
   	    <ul>
  -	      <li>Tcl Presentation: <a href="tcl/"></a><br>
  +	      <li>Tcl Presentation: <a href="tcl/">(live)</a><br>
   		Presentation on the Tcl programming language and the Tk toolkit.
   	      </li>
   	      <li>
  
  
  
  1.7       +1 -1      tcl-site/presentations/apache-tcl/style.css
  
  Index: style.css
  ===================================================================
  RCS file: /home/cvs/tcl-site/presentations/apache-tcl/style.css,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- style.css	11 Jun 2003 15:18:34 -0000	1.6
  +++ style.css	27 Aug 2003 08:26:00 -0000	1.7
  @@ -10,7 +10,7 @@
   
   body.splash {
       font-size: 300%;
  -    background: url(logo.gif);
  +    background: url(logo.gif) no-repeat bottom;
   }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: kimberlythompson@example.net
For additional commands, e-mail: kimberlythompson@example.net



{'source': 'Apache Software Foundation Public Mail Archives'}