[Zope] number of days of a month
tino at wildenhain.de
Sat Oct 4 09:48:55 EDT 2003
Hi Chihiro Kuraya,
Chihiro Kuraya wrote:
> Thank you for answer.
> But such a simple calculation needs an ExternalMethod ?
> DTML is not so useful, isn't it.
> I'm a beginner of Zope,
> and feel that DTML is not so powerful to
> develop my custom application.
its called DTML and not DPML for one reason:
its focused on templation (T) and not
So you do your logic in python. You do it
the ugly way if you include your python
expression in DTML code or ZPT code,
you do it the better readable but a bit
restricted way in a python script object,
and you so it better readable and unrestricted
in an external method or product.
Your problem is even solveable in an DTML
embedded python expression but I'm not
going to show you since I'm absolutely
against messing around with logic in
presentation layer :-)
More information about the Zope