Re: [Webware-devel] PlateKit

2001-06-09 Thread Jay Love
On 08 Jun 2001 20:16:32 +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

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] 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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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