Martijn Faassen wrote:
What currently happens perhaps too often is that people (the programmers) use rather heavy-duty DTML tricks to accomplish things, because using Python is too hard for those small things right now.
Alexander Staubo wrote:
Yep, but we mostly do it because wrapping things in an External Method is more painful than writing the equivalent code in DTML.
I thought I was saying that? With 'using Python is too hard' I didn't mean *Python* is too hard, it's just *using* it that's too hard right now.
Do a mistake in writing the EM that you have to restart Zope. There is no provision for writing the EM Python code through the Zope management interface -- for this reason I'd like to see a Script Method object which has a text-area field where you can write Python code. It'd definitely ease the transition to Python whenever this is needed.
I agree, I'd like to see something like that as well. Proposal relating to that follows. Regards, Martijn