[Zope-dev] Zope2 ZMI and HTML5

Tres Seaver tseaver at palladion.com
Sat Feb 6 02:02:17 EST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roberto Allende wrote:

> Regarding DTML... i wonder if it dtml purpose doesn't overlap with 
> tal/metal or even viewlets. If that's the case we wouldn't provide
> 'One-- and preferably only one --obvious way to do it' and for non Dutch 
> newbies :P is kinda confusing because end up with situations like 
> 'you've to learn it but you won't use in-real-projects'.

You don't need to learn DTML at all to work with Zope2 these days,
unless you want to use ZSQL methods, which still rely on it for
generating dynamic SQL.  I haven't written a line of "new"
DTML-as-presentation-markup in Zope for about nine years now.

> So, wouldn't make sense to have DTML in an separated component and make 
> its use optional ?.

Its use is already optional.  There is relatively no cost to leaving it
in the core, and a substantial downside (useless backward-compatibility
breakage).  I'm fine with the goal of removing the *use* of DTML within
the ZMI as part of implementing a future-proofed replacement, but
totally against the idea of ripping it out of the core.

My opinion is also shaped by my experience of trying to break out the
pieces of Zope2 into separate eggs, like the Acquisition /
ExtensionClass / DateTime etc. eggs:  there is too much low-level
coupling of the DocumentTemplate code to other parts of the codebase to
make that easy, even assuming it were desirable.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkttE/kACgkQ+gerLs4ltQ5/8wCbB3goYRSJK2VhGfvnqLYBRpHb
KyMAoLLXAr0JApHtJTRF97AF2vKHXLBJ
=6Z91
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list