Re: [Webware-devel] helped need: DNS for CheetahTemplate.org ...

2001-06-08 Thread Robin Dunn
> 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

[Webware-devel] Cheetah 0.9.1 available

2001-06-08 Thread Tavis Rudd
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

Re: [Webware-devel] TAL component of ZPT in WebKit (new version)

2001-06-08 Thread Tom Schwaller
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

[Webware-devel] helped need: DNS for CheetahTemplate.org ...

2001-06-08 Thread Tavis Rudd
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&

Re: [Webware-devel] TS transition to "Cheetah"

2001-06-08 Thread Chuck Esterbrook
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

[Webware-devel] TS transition to "Cheetah"

2001-06-08 Thread Tavis Rudd
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Tom Schwaller
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

Re: [Webware-devel] Notes on TAL

2001-06-08 Thread Tom Schwaller
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.

[Webware-devel] More notes on TAL

2001-06-08 Thread Ian Bicking
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

Re: [Webware-devel] quick vote on CheetahTemplate name proposal

2001-06-08 Thread Tom Schwaller
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 [

Re: [Webware-devel] PlateKit

2001-06-08 Thread Mike Orr
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Chuck Esterbrook
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 _

Re: [Webware-devel] PlateKit

2001-06-08 Thread Geoff Talvola
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

[Webware-devel] vote result - last chance to object

2001-06-08 Thread Tavis Rudd
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 ===

Re: [Webware-devel] PlateKit

2001-06-08 Thread Chuck Esterbrook
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Chuck Esterbrook
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Tavis Rudd
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

Re: [Webware-devel] Notes on TAL

2001-06-08 Thread Chuck Esterbrook
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Mike Orr
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

Re: [Webware-devel] TS question

2001-06-08 Thread Mike Orr
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Tom Schwaller
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

Re: [Webware-devel] Notes on TAL

2001-06-08 Thread Ian Bicking
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

Re: [Webware-devel] quick vote on CheetahTemplate name proposal

2001-06-08 Thread Tavis Rudd
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Ian Bicking
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 .

Re: [Webware-devel] Notes on TAL

2001-06-08 Thread Chuck Esterbrook
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

Re: [Webware-devel] TS Names

2001-06-08 Thread Tavis Rudd
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Mike Orr
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Geoff Talvola
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

Re: [Webware-devel] Notes on TAL

2001-06-08 Thread Ian Bicking
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

Re: [Webware-devel] quick vote on CheetahTemplate name proposal

2001-06-08 Thread Tavis Rudd
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. _

Re: [Webware-devel] PlateKit

2001-06-08 Thread Tavis Rudd
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

Re: [Webware-devel] quick vote on CheetahTemplate name proposal

2001-06-08 Thread Chuck Esterbrook
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,

Re: [Webware-devel] Notes on TAL

2001-06-08 Thread Tavis Rudd
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

[Webware-devel] TS Names

2001-06-08 Thread Chuck Esterbrook
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Chuck Esterbrook
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

Re: [Webware-devel] PSP include directives

2001-06-08 Thread Geoff Talvola
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

[Webware-devel] Notes on TAL

2001-06-08 Thread Ian Bicking
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

[Webware-devel] quick vote on CheetahTemplate name proposal

2001-06-08 Thread Tavis Rudd
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Chuck Esterbrook
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Geoff Talvola
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Tavis Rudd
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Chuck Esterbrook
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Geoff Talvola
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

Re: [Webware-devel] PSP include directives

2001-06-08 Thread Chuck Esterbrook
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Tom Schwaller
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.

Re: [Webware-devel] TS name proposal

2001-06-08 Thread Tom Schwaller
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Tavis Rudd
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.

Re: [Webware-devel] PlateKit

2001-06-08 Thread Tavis Rudd
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

Re: [Webware-devel] TS question

2001-06-08 Thread Chuck Esterbrook
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

[Webware-devel] PSP include directives

2001-06-08 Thread Geoff Talvola
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

Re: [Webware-devel] PlateKit

2001-06-08 Thread Mike Orr
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

Re: [Webware-devel] TS --- #slurp

2001-06-08 Thread Tavis Rudd
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

Re: [Webware-devel] TAL component of ZPT in WebKit

2001-06-08 Thread Donovan Preston
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

Re: [Webware-devel] TS --- #slurp

2001-06-08 Thread Mike Orr
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

[Webware-devel] TS name proposal

2001-06-08 Thread Tavis Rudd
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:

Re: [Webware-devel] PlateKit

2001-06-08 Thread Geoff Talvola
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

[Webware-devel] PlateKit

2001-06-08 Thread Mike Orr
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

Re: [Webware-devel] TemplateServer 0.9.0

2001-06-08 Thread Tavis Rudd
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

Re: [Webware-devel] TemplateServer 0.9.0

2001-06-08 Thread Tom Schwaller
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

[Webware-devel] TS --- #slurp

2001-06-08 Thread Tavis Rudd
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

Re: [Webware-devel] TS question

2001-06-08 Thread Mike Orr
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

Re: [Webware-devel] TS question

2001-06-08 Thread Tavis Rudd
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

Re: [Webware-devel] TS question

2001-06-08 Thread Geoff Talvola
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: >

[Webware-devel] TS question

2001-06-08 Thread Chuck Esterbrook
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