Package python-module-z3c.persistentfactory: Information
Source package: python-module-z3c.persistentfactory
Version: 0.3-alt3.1
Build time: Mar 17, 2016, 11:53 AM in the task #161354
Category: Development/Python
Report package bugLicense: ZPL
Summary: Wrap instance methods in persistent factory wrappers for using instance methods as ZCA factories
Description:
The ZCA and the ZODB are a good combination where components require persistent state. ZCA factories or handlers typically retrieve any persistent state required from the persistent objects being adapted. If the persistent state required is not specific to the objects being adapted, a common solution is to register a persistent utility which is then looked up in the factory or handler. The persistent utility approach requires, however, that the one appropriate utility is looked up which requires support in the ZCA registrations either in the interface provided or the utility name. In some cases, however, it is more consistent with the object oriented semantics of Python and the ZCA to think of the factory or handler as an instance method of a persistent object. With this approach the non-context specific persistent state can be accessed on self.
List of rpms provided by this srpm:
python-module-z3c.persistentfactory (x86_64, i586)
python-module-z3c.persistentfactory-tests (x86_64, i586)
python3-module-z3c.persistentfactory (x86_64, i586)
python3-module-z3c.persistentfactory-tests (x86_64, i586)
python-module-z3c.persistentfactory (x86_64, i586)
python-module-z3c.persistentfactory-tests (x86_64, i586)
python3-module-z3c.persistentfactory (x86_64, i586)
python3-module-z3c.persistentfactory-tests (x86_64, i586)
Maintainer: Eugeny A. Rostovtsev
Last changed
March 13, 2016 Ivan Zakharyaschev 0.3-alt3.1
- (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed)
July 23, 2014 Eugeny A. Rostovtsev 0.3-alt3
- Added module for Python 3
Oct. 20, 2011 Vitaly Kuznetsov 0.3-alt2.1
- Rebuild with Python-2.7