> I've registered CheetahTemplate.org, .com and .net. I'm
> going to map them all to CheetahTemplate.sourceforge.net,
> but I need a DNS registration. Does anyone have access to a
> DNS server that we could use for this?
>
http://www.zoneedit.com/
It's free for upto five domains. I havn't had
Hi,
I've completed the name change in the code and the docs.
All the tests and examples work, but it could use some
reading through for #comments and docstrings that are out
of synch.
http://cheetahtemplate.sourceforge.net
Tavis
___
Webware-devel
Donovan Preston wrote:
> my liking. So I took it upon myself to see if I could get the TAL (Tag
> Attribute Language) component of ZPT working with WebKit, and it was
> surprisingly easy.
Very interesting. I changed your version a little bit,
so it only regenerates the page when it is really ch
Hi,
I've registered CheetahTemplate.org, .com and .net. I'm
going to map them all to CheetahTemplate.sourceforge.net,
but I need a DNS registration. Does anyone have access to a
DNS server that we could use for this?
Here's the details:
http://sourceforge.net/docman/display_doc.php?docid=777&
At 05:57 PM 6/8/2001 -0700, Tavis Rudd wrote:
>I propose that we provide an updated copy of Chuck's
>Template overview page as a start for the homepage and move
>it to a sublink once something more substantial has been
>built. Thoughts?
I think you'd be better off with a pro-Cheetah page and the
Hi,
there's a project with the ID 'cheetahtemplate' on
Sourceforge.net now. There was a cap of 15 char on the ID
so I couldn't make it plural. I've aded Mike and Chuck as
developers. Ian and Tom, do you want me to add you? If so,
I'll need your sourceforge login names. If you don't have
a
Chuck Esterbrook wrote:
>
> At 08:59 PM 6/8/2001 +0200, Tom Schwaller wrote:
> >yes I know, but having the smallest Web Appliction on earth
> >would be quite something...
> >
> > > If you look at the "AppServer" script in CVS, you will see that the new
> > > default app server is ThreadedAppServe
Ian Bicking wrote:
>
> For ZPT see:
> http://dev.zope.org/Wikis/DevSite/Projects/ZPT/FrontPage
> For TAL, which is I think the primary part of ZPT:
> http://dev.zope.org/Wikis/DevSite/Projects/ZPT/TAL
> For a description of the syntax (probably the most interesting part):
> http://dev.zope.
In TAL, you use ,
which seemed verbose to me.
But I believe you can change the default to python: by changine line
DummyEngine.py:138 to 'type = "python"'.
As it is, the path syntax is actually not in TAL at all -- paths seem
to be implemented by overriding __getitem__ in the globals dictionary
Tavis Rudd wrote:
>
> How about "Cheetah" for the actual name and
> CheetahTemplates for the URL and sourceforge
> project name?
+1 from me for this approach..
--
Tom Schwaller
[EMAIL PROTECTED]
http://www.python.de
___
Webware-devel mailing list
[
On Fri, Jun 08, 2001 at 03:18:28PM -0400, Chuck Esterbrook wrote:
> At 12:06 PM 6/8/2001 -0700, Mike Orr wrote:
> >One issue would be getting the content manager's editor to
> >syntax-highlight the template in HTML style. (nedit does this, BTW,
> >even while highlighting the Python parts as Pytho
At 03:35 PM 6/8/2001 -0400, Geoff Talvola wrote:
>I think he's looking for a pure-python standalone HTTP server like
>AsyncThreadedHTTPServer.
Oh, got it.
So that would be facilitated by our decision to have AppServer handle
multiple ports and protocols.
-Chuck
_
At 03:17 PM 6/8/01 -0400, Chuck Esterbrook wrote:
>At 08:59 PM 6/8/2001 +0200, Tom Schwaller wrote:
>>yes I know, but having the smallest Web Appliction on earth
>>would be quite something...
>>
>> > If you look at the "AppServer" script in CVS, you will see that the new
>> > default app server is
Here's the decision - speak up now or forever hold
your peace:
The official name
Cheetah
Subtitle
The Python-Powered Template Engine
[or System, Server, Framework, etc.]
URL
CheetahTemplates.org
plus maybe .net and .com as well
SF.net project ID
===
At 12:06 PM 6/8/2001 -0700, Mike Orr wrote:
>One issue would be getting the content manager's editor to
>syntax-highlight the template in HTML style. (nedit does this, BTW,
>even while highlighting the Python parts as Python.) A bigger issue
>would be content managers who want to use visual edit
At 08:59 PM 6/8/2001 +0200, Tom Schwaller wrote:
>yes I know, but having the smallest Web Appliction on earth
>would be quite something...
>
> > If you look at the "AppServer" script in CVS, you will see that the new
> > default app server is ThreadedAppServer.
> >
> > Whether or not that makes an
On Friday 08 June 2001 11:39, Geoff Talvola wrote:
> >Hmmm, that sounds about right. So long as it also makes
> >a backup of any existing .py files with the same
> > basename.
>
> How about this instead: it only replaces the .py file if
> it was itself autogenerated. The servlet factories could
At 01:48 PM 6/8/2001 -0500, Ian Bicking wrote:
>It's intelligent about paragraph-level, block-level,
>bigger-than-paragraph-level, and maybe some other stuff too.
>
>I.e., it knows that ends , for instance.
I suspected that would be it. I was curious if there was anything else.
HTMLTag isn't th
On Fri, Jun 08, 2001 at 11:20:16AM -0700, Tavis Rudd wrote:
> Yep, it does and Geoff's right - compiling isn't Pythonic.
> Mike's approach is perfectly valid and very easy, but it could
> still scare non-programmers. It's been one of our intentions
> all along to make it dead simple for non-pro
On Fri, Jun 08, 2001 at 01:46:43PM -0400, Chuck Esterbrook wrote:
> >Supporting something comparable to dtml-in would be a major feature.
>
> Perhaps it would make sense to separate #for from #batch, which still
> providing additional power to #for.
How would this look? Would #batch be a super
Chuck Esterbrook wrote:
>
> At 08:16 PM 6/8/2001 +0200, Tom Schwaller wrote:
> >B.T.W. take a look at www.python.de, there is some
> >surprise about Webware, but it's not finished yet.
> >I need a stable AsyncThreadedHTTPServer,
> >because I have no Apache on the uCSimm.
> >Unfortunately it does
Chuck Esterbrook <[EMAIL PROTECTED]> wrote:
> At 01:26 PM 6/8/2001 -0500, Ian Bicking wrote:
> >Anyway, I thought I'd note that it works with HTML (not just XHTML)
> >now. This means it also contains a parser for HTML. It looks better
> >informed than any parser we have at this point. Even if w
How about "Cheetah" for the actual name and
CheetahTemplates for the URL and sourceforge
project name?
Subtitle
===
The Python-Powered Template Engine [Framework, Server, System, ...]
On Friday 08 June 2001 11:24, Chuck Esterbrook wrote:
> 0 for CheetahTemplates (notice the 's')
> +0.8 for
Geoff Talvola <[EMAIL PROTECTED]> wrote:
> > > That would be fairly Pythonic in the same way that .pyc's
> > > are handled. Especially if there were no complaints when
> > > write access wasn't available.
> >
> >Hmmm, that sounds about right. So long as it also makes
> >a backup of any existing .
At 01:26 PM 6/8/2001 -0500, Ian Bicking wrote:
>Anyway, I thought I'd note that it works with HTML (not just XHTML)
>now. This means it also contains a parser for HTML. It looks better
>informed than any parser we have at this point. Even if we just
>snagged the general algorithm, and not the c
On Friday 08 June 2001 11:23, Chuck Esterbrook wrote:
> I also like:
>
> Pylocity
>
> Pyplates
> I'm guessing Tavis does not since he has refrained from
> passing on these suggestions which I made to him earlier.
> :-)
Ya got me ;) I was actually about to send the on, but couldn't
On Fri, Jun 08, 2001 at 02:01:04PM -0400, Geoff Talvola wrote:
> >If I already had a set of modules and was adding a page, I would not make
> >a .tmpl file and run TScompile on it. Instead, I would copy an existing
> >module and modify it.
>
> That sounds fine, as long as the "copy an existing m
At 11:36 AM 6/8/01 -0700, Tavis Rudd wrote:
>On Friday 08 June 2001 11:22, Chuck Esterbrook wrote:
> > At 02:17 PM 6/8/2001 -0400, Geoff Talvola wrote:
> > >- PSP could do the same thing as TemplateServer -- just
> > > write out the .py file into the same directory as the
> > > PSP, with the same
For ZPT see:
http://dev.zope.org/Wikis/DevSite/Projects/ZPT/FrontPage
For TAL, which is I think the primary part of ZPT:
http://dev.zope.org/Wikis/DevSite/Projects/ZPT/TAL
For a description of the syntax (probably the most interesting part):
http://dev.zope.org/Wikis/DevSite/Projects/ZPT/TAL
On Friday 08 June 2001 11:24, Chuck Esterbrook wrote:
> 0 for CheetahTemplates (notice the 's')
> +0.8 for Cheetah
I would love to go with Cheetah by itself, but
1) cheetah.sourceforge.net is already taken
2) cheetah.com .net and .org are gone
I don't mind the plural.
_
On Friday 08 June 2001 11:22, Chuck Esterbrook wrote:
> At 02:17 PM 6/8/2001 -0400, Geoff Talvola wrote:
> >- PSP could do the same thing as TemplateServer -- just
> > write out the .py file into the same directory as the
> > PSP, with the same filename and class name. That
> > requires write acc
At 11:25 AM 6/8/2001 -0700, Tavis Rudd wrote:
>Hi,
>could everyone that's around please humour me
>with a quick vote on the 'CheetahTemplate'
>name proposal:
>
>-1 for 'I hate it'
>0 for "I'm not bothered"
>1 for 'Yes please'
0 for CheetahTemplates (notice the 's')
+0.8 for Cheetah
After all,
Is there a page somewhere that provides an overview
of it?
On Friday 08 June 2001 11:26, Ian Bicking wrote:
> Just looking through TAL now. Pretty well partitioned
> from the rest of Zope, it seems. That's nice.
>
> Anyway, I thought I'd note that it works with HTML (not
> just XHTML) now. Th
I also like:
Pylocity
Pyplates
I'm guessing Tavis does not since he has refrained from passing on these
suggestions which I made to him earlier. :-)
Although I'm growing to like "Cheetah" all by itself.
-Chuck
___
Webware-devel
At 02:17 PM 6/8/2001 -0400, Geoff Talvola wrote:
>- PSP could do the same thing as TemplateServer -- just write out the .py
>file into the same directory as the PSP, with the same filename and class
>name. That requires write access.
That would be fairly Pythonic in the same way that .pyc's ar
At 02:03 PM 6/8/01 -0400, Chuck Esterbrook wrote:
>At 01:52 PM 6/8/2001 -0400, Geoff Talvola wrote:
>>I just noticed that the documentation for PSP specifies the following syntax:
>>
>>If you want to include another PSP file in this PSP file and have it be
>>parsed for PSP content:
>><%@include f
Just looking through TAL now. Pretty well partitioned from the rest
of Zope, it seems. That's nice.
Anyway, I thought I'd note that it works with HTML (not just XHTML)
now. This means it also contains a parser for HTML. It looks better
informed than any parser we have at this point. Even if
Hi,
could everyone that's around please humour me
with a quick vote on the 'CheetahTemplate'
name proposal:
-1 for 'I hate it'
0 for "I'm not bothered"
1 for 'Yes please'
Cheers,
Tavis
___
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.s
At 08:16 PM 6/8/2001 +0200, Tom Schwaller wrote:
>B.T.W. take a look at www.python.de, there is some
>surprise about Webware, but it's not finished yet.
>I need a stable AsyncThreadedHTTPServer,
>because I have no Apache on the uCSimm.
>Unfortunately it does not seem to run stable.
>I have to use
At 10:55 AM 6/8/01 -0700, Tavis Rudd wrote:
>Geoff,
>you've got a good point. If we could sort out the import
>logic needed to get #extend working properly with .tmpl files
>and @extend working with .psp files that would be ideal.
It might be a bit of a mess in the case of PSP because the genera
On Friday 08 June 2001 11:05, Chuck Esterbrook wrote:
> At 02:01 PM 6/8/2001 -0400, Geoff Talvola wrote:
> >OK, I misunderstood. I thought the compile step would
> > be something you'd have to run repeatedly. I guess I
> > really shouldn't comment on TemplateServer without at
> > least reading t
At 02:01 PM 6/8/2001 -0400, Geoff Talvola wrote:
>OK, I misunderstood. I thought the compile step would be something you'd
>have to run repeatedly. I guess I really shouldn't comment on
>TemplateServer without at least reading the docs :-)
Yeah, but now it appears according to Tavis' earlier
At 10:46 AM 6/8/01 -0700, Mike Orr wrote:
>On Fri, Jun 08, 2001 at 01:31:24PM -0400, Geoff Talvola wrote:
> > > Write a template *.tmpl
> > > Run TScompile, which creates *.py servlets. Each servlet
> contains
> >
> > But I would
> > strongly urge you to reconsider this. Having
At 01:52 PM 6/8/2001 -0400, Geoff Talvola wrote:
>I just noticed that the documentation for PSP specifies the following syntax:
>
>If you want to include another PSP file in this PSP file and have it be
>parsed for PSP content:
><%@include file="myfile.txt"%>
>
>If you want to forward the request
Geoff Talvola wrote:
>
> At 10:19 AM 6/8/01 -0700, Mike Orr wrote:
> >On Fri, Jun 08, 2001 at 07:08:39PM +0200, Tom Schwaller wrote:
> > > ServletFactory.py and PlateKit have gone! Hope they come
> > > back...
> >
> >They were removed because they overlap with TScompile but are less
> >flexible.
Tavis Rudd wrote:
>
> Hi,
> we've been talking about a new name for TS for
> some time now. It's time to make a decision and
> set up a sourceforge project for this thing so we can
> make the CVS accessible, create a mailing list and
> start grabbing some mind-share.
>
> One proposal was Cheeta
On Friday 08 June 2001 10:46, Mike Orr wrote:
> On Fri, Jun 08, 2001 at 01:31:24PM -0400, Geoff Talvola wrote:
> > > Write a template *.tmpl
> > > Run TScompile, which creates *.py servlets.
> > > Each servlet contains
> >
> > But I would
> > strongly urge you to reconsider this.
Geoff,
you've got a good point. If we could sort out the import
logic needed to get #extend working properly with .tmpl files
and @extend working with .psp files that would be ideal.
The generated code for #extend Templates.SkeletonPage could
be:
try
At 09:55 AM 6/8/2001 -0700, Mike Orr wrote:
>Perhaps better would be to port dtml-in's batching capability. This would
>probably be a large project, however. #for would need keywords for the batch
>size and where to start. Then $foo.sequenceNumber() would be the relative
>index from the start o
I just noticed that the documentation for PSP specifies the following syntax:
If you want to include another PSP file in this PSP file and have it be
parsed for PSP content:
<%@include file="myfile.txt"%>
If you want to forward the request to another servlet, including the result
in the output
On Fri, Jun 08, 2001 at 01:31:24PM -0400, Geoff Talvola wrote:
> > Write a template *.tmpl
> > Run TScompile, which creates *.py servlets. Each servlet contains
>
> But I would
> strongly urge you to reconsider this. Having no separate compilation step
> is one of the really n
On Friday 08 June 2001 10:35, Mike Orr wrote:
> On Fri, Jun 08, 2001 at 10:03:26AM -0700, Tavis Rudd wrote:
> > I just thought of a new directive that might be
> > very useful in TemplateServer #for loops:
> > #slurp --- for slurping up the whitespace that follows
> > it, upto and including the fi
On Thursday, June 7, 2001, at 05:02 PM, Ian Bicking wrote:
> Donovan Preston <[EMAIL PROTECTED]> wrote:
>> - You can access methods or data members of this page from your TAL
>> like
>> this:
>> Dummydata
>> Where getContent is a function on your page object.
>
> Now, tal has some sort of
On Fri, Jun 08, 2001 at 10:03:26AM -0700, Tavis Rudd wrote:
> I just thought of a new directive that might be
> very useful in TemplateServer #for loops:
> #slurp --- for slurping up the whitespace that follows it,
> upto and including the first \n
Plow does something like this for blocks. A re
Hi,
we've been talking about a new name for TS for
some time now. It's time to make a decision and
set up a sourceforge project for this thing so we can
make the CVS accessible, create a mailing list and
start grabbing some mind-share.
One proposal was Cheetah.
Here's a variation on that:
At 10:19 AM 6/8/01 -0700, Mike Orr wrote:
>On Fri, Jun 08, 2001 at 07:08:39PM +0200, Tom Schwaller wrote:
> > ServletFactory.py and PlateKit have gone! Hope they come
> > back...
>
>They were removed because they overlap with TScompile but are less
>flexible. The paradigm now is:
> Write
On Fri, Jun 08, 2001 at 07:08:39PM +0200, Tom Schwaller wrote:
> ServletFactory.py and PlateKit have gone! Hope they come
> back...
They were removed because they overlap with TScompile but are less
flexible. The paradigm now is:
Write a template *.tmpl
Run TScompile, which crea
On Friday 08 June 2001 10:08, Tom Schwaller wrote:
> Tavis Rudd wrote:
> > I've just uploaded a new version that
> > implements all the changes we talked about this
> > morning. All the tests pass on Python 2.1 and 2.0
>
> ServletFactory.py and PlateKit have gone! Hope they come
> back...
I shoul
Tavis Rudd wrote:
>
> I've just uploaded a new version that
> implements all the changes we talked about this morning.
> All the tests pass on Python 2.1 and 2.0
ServletFactory.py and PlateKit have gone! Hope they come
back...
There was a lot of discussion yesterday about TS syntax,
which I re
Hi,
I just thought of a new directive that might be
very useful in TemplateServer #for loops:
#slurp --- for slurping up the whitespace that follows it,
upto and including the first \n
eg
==
#set $tab = ['Home','Download','Contribute']
#set separator = ''
#for
On Fri, Jun 08, 2001 at 06:43:17AM -0400, Chuck Esterbrook wrote:
> My designers want to generate some links like:
> a | b | c
A common scenario and one TS should support.
>- Should we expand TS's #for with the power of ? (I think so.)
I've long supported this. I haven't personally h
Thanks Geoff,
that's way simpler than what came to my mind.
I you want to be stickly about whitespace:
#set separator = ''
#for $foo in $bars
$separator$foo #set separator = '| '
#end for
or if you don't mind introducing an extra \n after each $foo:
#set separator = ''
#for $foo in $bars
$separ
At 06:43 AM 6/8/2001 -0400, Chuck Esterbrook wrote:
>My designers want to generate some links like:
> a | b | c
>
>Note the vertical bars between the elements. My first cut is something like:
> #for $foo in $bars
> $bar |
> #end for
>
>But this gives:
>
My designers want to generate some links like:
a | b | c
Note the vertical bars between the elements. My first cut is something like:
#for $foo in $bars
$bar |
#end for
But this gives:
a | b | c |
DTML solves this by offering a higher-level for (c
64 matches
Mail list logo