[Zope3-dev] persistence by adaptation, and aop?
Joel Boehland
joel@memes.com
Tue, 03 Jun 2003 13:48:34 -0700
Hi, I just noticed the AOP thread, and I
thought I'd point folks to a new project
I recently put up on sourceforge that
experiments with AOP-ish ideas in Python:
http://moppy.sourceforge.net
I don't think I'm doing anything
especially new that isn't being done in
Zope3 and the PEAK toolkits, but people
might be interested in how mixins/method
adapters are dynamically mapped to
regular objects in the moppy toolkit.
Essentially, objects can be selected out
of the runtime system using criteria
classes (select all methods in classes
in the module "somemod" with names
starting with "methName*"), and the
meta-objects (or Aspects as some
toolkits call them) can be applied to
them. Anyhow, its been fun hacking on
it, and I thought I'd mention it since
lua and ruby AOP toolkits were
mentioned, but not Python AOP toolkits :-)
cheers,
Joel Boehland