> -----Oorspronkelijk bericht----- > Van: Ian Bicking [mailto:[EMAIL PROTECTED] > Verzonden: woensdag 29 december 2004 19:42 > Winston WOLFF wrote: > <snap>
> I'd also discourage using DocumentTemplate -- it's really a > dead-end, and is being actively replaced by Zope Page > Templates in Zope. This I didn't know, I thank you for the pointer and will investigate - though I must say the information below doesn't encourage me to pursue that route . > Personally I've grown to hate DTML in the Zope context; I'd > never actually realized you could use them outside of Zope, > but then I've never had any desire. And though DTML is > faster than ZPT, it's likely to be slower than Cheetah or PSP > (which are compiled to Python, where DTML is interpreted).d OBJECTION !!! 1. Your remark "I've grown to hate" surprises me, really!, I've 'trained' many developers in our, again far from ideal, python/Zope(=DT/PCGI) methodology, they all had their comments but the feedback on DocumentTemplate in terms of syntax, ease-of-use, feature-richness (!!! Main plus plus for DT !!!) has been very positive , really ! I'ld say, and don't take this personally, please, that your negative attitude is either based on incorrect application of the python module (yielding unneccesary problems) or on something else (bias?) , really, our experience as well as the feedback received from people introduced to DocumentTemplate has been very positive . 2. You say "DTML is interpreted" and that that this is a disadvantage of DTML. Let me point out the idea behind python: the top part of the 'man page' for python says, 1st line in the DESCRIPTION section: <quote> DESCRIPTION Python is an interpreted, interactive, object-oriented programming language that combines remarkable power with very clear syntax. </quote> So, if python is interpreted, how much sense does it make to 'take as an advantage' to compile language X to python, and is, more general, compilation vs. Interpretation an issue at all given today's language- and computational technology ? I'ld say: substitute "DocumentTemplate" in above DESCRIPTION and I fully support the statement . Our experience with DocumentTemplate is, as I said before, that it performs *fast* ... One of the reasons is, I suspect without knowing the exact inner workings, that it loads some template in RAM and 'parameter instantiation/substitution' is a memory-only task without file i/o . Really, runtime performance is a reason to *start using* DocumentTemplate , I don't know about Cheetah or PSP too well, but of all technologies (from .NET to Perl ReportTemplates) I tried DocumentTemplate is .... *lightning fast* > ZPT is also available separate from Zope, and I've used them > a great deal with Webware, quite successfully I think. > As I said: ZPT is new to me (can't stay updated on all fronts I guess) and I'm interested to learn. Thank you for the pointer, I will certainly investigate . -- Thijs Phaedro.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Webware-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/webware-discuss
