[Zope] Python Classes and Zope.
Chris McDonough
chrism at plope.com
Thu Dec 1 16:14:38 EST 2005
> So far I have not had any success with anything else than writing
> special methods in my Classes that converts the objects to
> dictionaries before passing them to the zpt or Script(Python) in
> question.
>
> But that feels like a very awkward way of doing things, and it
> makeas it *very* difficult for Zope to be a nice player with non-
> zope objects.
FWIW, what you've created in Zope 3 terms is a "view". You might
feel more comfortable using Five and Zope 3 views if you're not
comfortable with your current strategy because it provides a pattern
for doing just this.
- C
More information about the Zope
mailing list