[Zope] organizational questions

Martijn Faassen M.Faassen@vet.uu.nl
Mon, 26 Apr 1999 18:30:29 +0200


Paul Everitt wrote:
> 
> Martin wrote:
> > Putting it in quotes means that the contents of the DTML document
> > are inserted "raw" into my current document, rather than being
> > evaluated.
> 
> Inconsistency number eleven -- you need to do:

Shhh! Don't tell Jim Fulton! (see his earlier post :). It's NOT
inconsistent, it's just confusing. ;)

> <!--#var "myapp.myfunction()"-->
> 
> This will call 'myfunction' rather than just insert it.

Right -- I've been passing REQUEST in my DTML myself, though earlier I
see Jim saying something like: <!--#var "myapp.myfunction(None, _)"-->

Sorry for the misleading example.

I vaguely wonder if that fixes some earlier thing that baffled me to no
end a while ago... Anyway, in my opinion DTML does too many implicit
things that I can't fully grok yet. 

I hope I won't offend anyone, but DTML is too much like Perl. It's
powerful but has too many dark corners, and it can look ugly. Which is
why I'm agitating for NG DTML. Of course, feel free to ignore if you
like. Since it's open source I should go code it myself...

Regards,

Martijn