vi likes Cheetah better then PSP
I like cheetah when most of my data comes from objects, I think that it is cleaner to write and look at:
#for row in results:
<tr>
#for data in row:
<td>data</td>
#end for
</tr>
#end for
vs
<% for row in self.results(): %>
<tr>
<% for data in self.row(): %>
<td><%= data %></td>
<%end %>
</tr>
<%end %>
I also like cheetah when the text/html is generated in the servlet.
It is much easier to self.writeln(template) then try to include the output of a PSP.
I like PSP better when I am creating the entire page.
If the servlet does some data processing and then sends a redirect you may want to use PSP
If the servlet does some data processing and then writes the output you may want to use Cheetah
If the serlvet does not do an data processing then why are you using Webware?
-Aaron
Bogdan wrote:
Hmmm.... I'm using cheetah with inheritance model and it is good for, because, first of all a have python code separated from html. Then, in my project, each user will be able to have it own customized look (like skin) due to some parts are stored in db and including dynamicly. I'ts bad in case if perfomance prevail, I know, but if you will try to made something working like my example in psp - I think you will be enforced to made distinct psp for each look, and users will not be able to change something myself.On 04 Apr 2003 11:43:08 -0500 Tom von Schwerdtner <[EMAIL PROTECTED]> wrote:Greetings, I often see Cheetah and PSP compared as two solutions to the same problem. Anyone care to discuss the various strengths/weaknesses of the two? TIA, Tom------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss