[Zope] Product with external relationships coordinated with the transaction manager

Jesus Cea jcea at jcea.es
Mon Nov 18 23:52:13 CET 2013


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

Hi, there.

I am considering adopting "ExtFile/ExtImage" product and bring it to
zope 2.13. The sourcecode is easy enough, although I suspect tons of
"weirdness" is derived by legacy. A complete rewrite is an option, I
should not maintain code I don't understand.

Zope documentation is really incomplete and very old so I wonder about
this:

1. What interfaces (I only care about Zope 2.13, no legacy) should I
look at to participate in transactions?. I need to know if a
transaction I was involved in was aborted (to rollback external
changes too) or committed (to activate cascading actions previously
"queued" during the transaction progress). Old ExtFile produc uses TM
(transaction manager) from ZSQLmethods, but it is not in core Zope, I
need to install an extra package, and I guess there is a more
"official" and supported way.

2. How to participate in copy&paste?.

I see stuff like "event" listening, but I can not find any
documentation about them, beside just reading the source code.

Any pointer and suggestion are welcomed :-).

Thanks!

- -- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:jcea at jabber.org  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQCVAwUBUoqaHZlgi5GaxT1NAQI20QQAkAhLd1wck8szGLTyd18yF8IQQWrg+12u
RRdYHXhtr6fbtsXIV+80x/7NpGsYTczhAJDbH1aIFlmhCbz9Sd6TdY0T2y+71Yt0
XFavL5UihcJiS4RB1x3wTImPSHyw3ZhkVewOpS4pUOqrS3HUipv4nexvUmLaMwQf
A0zkqh++3AA=
=LW1m
-----END PGP SIGNATURE-----


More information about the Zope mailing list