[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-moddtcl
Subject:    Comment from the sidelines [Fwd: TCL tags]
From:       "Paul Wagner" <paul_wagner () csgsystems ! com>
Date:       2001-01-12 16:42:20
[Download RAW message or body]

With mod_dtcl at its current 0.8 level isn't it close enough to "day 1"
for fundamental conventions to be switched if it makes sense?

As additional examples of the issue at hand, AOLserver (entirely
Tcl-based) uses both <% ... %> and <script language=tcl
...>...</script>. Scriptics'/Ajuba's TclHttpd grabs everything between
matched [ .. ] (greedy regexp) and sends it to Tcl for
evaluation/substitution, avoiding completely any form of <? .. ?>
wrapping.

Perhaps this notion of picking a different symbol for < .. > helps in an
environment where multiple languages and/or dynamic script processors
within a single document are supported (is there such a place?), but
generally it seems to be an indication of the language, and <?lang ...
?> is less obscure and possibly more portable.

Consistency (and deference to XML) surely is in the best interest of
everyone, agreed?

--Paul

[Attachment #3 (message/rfc822)]



Whose day 1?

I think adding <?tcl support might be a good thing, but <+ is surely in too many existing scripts now.

>>> Mark O'Connor <mark@tellcare.com> 01/12/01 08:22am >>>

The PHP convention of "<?php" is new and was introduced to PHP for 
compatibility with XML.

ASP uses "<%" tags, PHP uses "<?" tags. I would agree with Bob to begin 
using meaningful tags from day one of the TCL module.

Regards,

MArk

> I noticed that you are using <+ +> which for some reason gets lost if 
> you
> have a long line of Tcl, IMO.
>
> How about using the PHP convention:
>
> <?tcl
>
> ?>  Just a suggestion but I think it would help readability.
>
> Bob

-- 
Mark O'Connor                Phone / Fax: +41 1 430 4136
Tellcare GmbH                Mobile:      +41 79 469 8855
                              Email:       mark@tellcare.com


---------------------------------------------------------------------
To unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_dtcl-help@tcl.apache.org

[Attachment #6 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY style="FONT: 8pt MS Sans Serif; MARGIN-LEFT: 2px; MARGIN-TOP: 2px">
<DIV>Whose day 1?</DIV>
<DIV>&nbsp;</DIV>
<DIV>I think adding &lt;?tcl support might be a good thing, but &lt;+ is surely 
in too many existing scripts now.<BR><BR>&gt;&gt;&gt; Mark O'Connor &lt;<A 
href="mailto:mark@tellcare.com">mark@tellcare.com</A>&gt; 01/12/01 08:22am 
&gt;&gt;&gt;<BR><BR>The PHP convention of "&lt;?php" is new and was introduced 
to PHP for <BR>compatibility with XML.<BR><BR>ASP uses "&lt;%" tags, PHP uses 
"&lt;?" tags. I would agree with Bob to begin <BR>using meaningful tags from day 
one of the TCL module.<BR><BR>Regards,<BR><BR>MArk<BR><BR>&gt; I noticed that 
you are using &lt;+ +&gt; which for some reason gets lost if <BR>&gt; 
you<BR>&gt; have a long line of Tcl, IMO.<BR>&gt;<BR>&gt; How about using the 
PHP convention:<BR>&gt;<BR>&gt; &lt;?tcl<BR>&gt;<BR>&gt; ?&gt;&nbsp; Just a 
suggestion but I think it would help readability.<BR>&gt;<BR>&gt; Bob<BR><BR>-- 
<BR>Mark 
O'Connor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 Phone / Fax: +41 1 430 4136<BR>Tellcare 
GmbH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 Mobile:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +41 79 469 
8855<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 Email:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
mark@tellcare.com<BR><BR><BR>---------------------------------------------------------------------<BR>To \
 unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org<BR>For additional 
commands, e-mail: mod_dtcl-help@tcl.apache.org<BR><BR></DIV></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic