You are not logged in Log in Join
You are here: Home » Members » k_vertigo » Products » ThreadSpecificStorage » dc_view

Log in
Name

Password

 
 


Dublin Core Elements

The Dublin Core metadata element set is a standard for cross-domain information resource description.
Element Description Value
Identifier resource ID http://old.zope.org/Members/k_vertigo/Products/ThreadSpecificStorage
Title resource name
Description resource summary Thread Specific Storage Allows for creation of thread specific storage (tss) on a per object basis usage:: YourClassMethod: self.tss =TSS() self.tss.set(foo) self.tss.get(foo) other than tss creation, there shouldn't be any need to worry about persistent changes (ie notifying persistence mechanisms of changes). hadn't thought about what happens when you store persistent objects here, probably not a good idea. This is a python library not a product. Why this is part of on going project to rewrite some of zope's rdbms integration. tss is specifically geared towards creation of da's which would make equivalent functionality out of zope da level2 and 3. it might have utility outside of this and therefore is being distributed separate. Why do i want to use it? you probably don't zope general programming model is zodb connection specific anyways, ie each thread get its own connection to the zodb and hence its own object space, which greatly simplifies multithreaded programming. if however you want to create persistent in memory objects that aren't tied to Resources This is implementation mirrors a variant of the tss pattern found in POSA II: Patterns of Networked and Concurrent Objects please consult this book, for further information about the pattern and other variants. Comments I have no idea if this work use it at your own risk. Author Kapil Thangavelu <[email protected]>:mailto:[email protected] License Public Domain I can't concieve of copyrighting something that is implemented a few dozen lines of code.
Creator resource creator ZopeOrgSite
Date default date 2001-10-02 15:00:53
Format resource format text/html
Type resource type Software Package
Subject resource keywords Developer
Contributors resource collaborators
Language resource language
Publisher resource publisher No publisher
Rights resource copyright


Additional Zope Elements

Element Description Value
CreationDate date resource created 2001-10-02 15:00:53
ModificationDate date resource last modified 2001-10-02 15:00:53
EffectiveDate date resource becomes effective None
ExpirationDate date resource expires None

Backlinks: via Google / Technorati