W poniedziałek 6 października 2003 o godz. 20:52:53
[EMAIL PROTECTED] <[EMAIL PROTECTED]> napisał(a):

> Yes, but it has the word 'Cache' in it's name. Which likely means it is
> caching static files,

No, not static files. MMCache increases performance of PHP scripts by
caching them in *compiled state*. Look at
http://turck-mmcache.sourceforge.net/#about

> I know PSP are servlets. I do not like Cheetah syntax, it reminds me
> of PHP.

Are you kiddin'? Cheetah were inspired with Velocity and Webmacro, not
PHP. I knot PHP very well and Cheetah do not resemble PHP at
all. E.g. Cheetah does *not* use HTML/XML-style tags like PHP or PSP,
DTML, ASP etc.
It is because (1) HTML-style tags are not visible in rendered HTML
when something goes wrong and (2) Cheetah can also output any other
text format besides HTML. It means, Cheetah generates HTML, SGML, XML,
SQL, Postscript, form email, LaTeX, or any other text-based format. It
has also been used to produce Python, Java and PHP source code.

Cheetah makes code reuse easy by providing an object-oriented
interface to templates that is accessible from Python code or other
Cheetah templates. One template can subclass another and selectively
reimplement sections of it. A compiled template is a Python class, so
it can subclass a pure Python class and vice-versa.

Cheetah provides also a simple yet powerful caching mechanism.

I think, Cheetah are easier to learn and use and are more powerfull
than PSP. Look at http://www.cheetahtemplate.org/learn.html

>> ===========================================================
>> I found out that my problem is not due to performance of Python, but
>> rather sth. is wrong with Webware. It works with fine performance
>> but... sometimes it hangs for several seconds (it displays the page
>> after 10-20 seconds) and I do not why. :( This behavior appears quite
>> often but is is difficult to guess when because it appears from time
>> to time (and it is confusing for our clients). But there is no special
>> pages which reveals such behavior. The same pages works fast, and the
>> same pages sometimes display after long delay. What do you think about
>> it? For me it is strange. :( I have to solve it as soon as possible
>> because, it is not approveable for our managment staff.
>> ===========================================================

> I have not experienced this and have developed benchmarking as well
> as full legitimate applications. Perhaps your problem is not in
> Webware. Are you using CVS? Perhaps the problem is in Apache or
> Cheetah... Or perhaps the problem is in your configuration of the
> systems together. Are you using mod_webkit? What strange things have
> you done to the configurations? etc.

Nothing strange is in my configuration. I am using CVS version of
Webware and Cheetah. I am using mod_webkit as well.

-- 
JZ ICQ:6712522




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to