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.  The paradigm now is:
> >         Write a template *.tmpl
> >         Run TScompile, which creates *.py servlets.  Each servlet contains
> >the template as a constant string, and 5-6 lines of code that wraps
> >it into a TS class.
> 
> I'm not using TemplateServer, so feel free to ignore me.  But I would
> strongly urge you to reconsider this.  Having no separate compilation step
> is one of the really nice things about Python.  It keeps you from making
> mistakes, it saves time, and there's no downside that I can think
> of.  Webware is designed to support this paradigm through servlet
> factories, and this is a very good thing.  Why abandon it?

I agree on that, but can see the problems with it as Tavis
explained. No intermediate step has a faster development cycle,
so I'll probably stick to the Approach Mike Orr uses (just write the
wrapper yourself). But I definively liked the *.tmpl ServletFactory.
No #/for, no *tmpl ServletFactory,... hope you have some goodies
for me left in the future! ;-)

> You mentioned that PSP has a similar problem with including other PSPs.  I
> wasn't aware of that.  But I'd rather fix the problem, instead of requiring
> a separate compilation step.


If this is possible, I would prefer that approach too, but
can't comment on it..

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 a different thread Library for Python
(there are no pthreads on Linux/m68k), but we have
Python running with floating point emulation on
that hardware. Take a look at the page, you
will understand what I'm talking about (Kind of Pippy
for Linux/m68k). It's really cool stuff, but
not 100% finished..

-- 

Tom Schwaller
[EMAIL PROTECTED]
http://www.python.de

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to