Andy, I am actually just starting working with it. As long as I can have help futzing with the aq_parent stuff to get it to work, I'll be using it in my intranet app. My real desire is to find a way to construct these type of html objects from html. Like a poor man's HyperDOM. :)
Cool, do I see a Zope product coming up?
----- Original Message ----- From: "Jason Spisak" <444@hiretechs.com> To: "Andy McKay" <andym@ActiveState.com> Sent: Tuesday, October 10, 2000 5:13 AM Subject: Re: [Zope] Disadvantages of using DTML
Andy:
Actually, I have been playing with it. What it does is create HTML, XHTML, XML from python objects like so:
p = TABLE(bgcolor="#00000", border="0", cellpadding="1", TR( TD('my stuff goes here')))
print p
<TABLE bgcolor="#00000" border="0" cellpadding="1"> <TR> <TD>my stuff goes here</TD></TR></TABLE>
So I just create bit and pieces that get called to form a UI. Aquisition works too. I have a property in a containing folder, that I called as the bgcolor of the table and it worked fine.
All my best,
The docs I quickly looked at suggested it just parsed XHTML into HTML, nothing more. It would be interesting useful if it did do so much more... Im assuming there would be a little bit of Zope integration to do...
----- Original Message ----- From: "Jason Spisak" <444@hiretechs.com> To: "Andy McKay" <andym@ActiveState.com> Sent: Tuesday, October 10, 2000 4:22 AM Subject: Re: [Zope] Disadvantages of using DTML
Andy:
Since it would be python, can you not call objects, run python, and lots of stuff? ;)
You lose out on all the wondeful help you get from this mailing list :)
But seriously this is a html generator... dtml is a great deal more than just a html formatter, it can call objects, run python and lots of stuff.
----- Original Message ----- From: "Jason Spisak" <444@hiretechs.com> To: <zope@zope.org> Sent: Tuesday, October 10, 2000 2:43 AM Subject: [Zope] Disadvantages of using DTML
Zopists,
Can anyone tell me off hand any big disadvantages to not using DTML (Caching, etc...) and using a package like HyperText
http://dustman.net/andy/python/HyperText
to produce html display for your objects, and use python to process it?
Jason Spisak 444@hiretechs.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
All my best,
Jason Spisak
Jason Spisak
Jason Spisak 444@hiretechs.com