ATTramline (1.0)
by
Olha Pelishok
—
last modified
2008-05-12
Released on 2008-05-08 by Jeroen Vloothuis for Plone 2.1, Plone 2.5, Plone 3.0, Plone 3.1 under Zope Public License (ZPL) available for All platforms.
Software development stage: stable
- ATTramline download link: http://plone.org/products/attramline/
- Homepage of ATTramline: http://plone.org/products/attramline/releases
- ATTramline repository: https://svn.plone.org/svn/collective/attramline
- Description source: https://svn.plone.org/svn/collective/attramline/trunk/README.txt
ATTramline is a set of extensions for Archetypes to make it play nice with Tramline. Tramline is a system which can transparently intercept file uploads and downloads to store them on the filesystem instead of in the ZODB.
ATTramline is a set of extensions for Archetypes to make it play nice
with Tramline. Tramline is a system which can transparently intercept
file uploads
and downloads to store them on the filesystem instead of in the ZODB.
This piece of code makes it even easier to leverage the power of Tramline in Archetypes based content. It does so by providing a widget and a new storage
class for files.
FileField('largeFileWeDontWantInTheZODB',
content_class=TramlineFile,
widget=TramlineWidget(
)
)
and downloads to store them on the filesystem instead of in the ZODB.
This piece of code makes it even easier to leverage the power of Tramline in Archetypes based content. It does so by providing a widget and a new storage
class for files.
Usage
To use it you need a patched Tramline. The patch is included in the source. You can use it on any file field like so:FileField('largeFileWeDontWantInTheZODB',
content_class=TramlineFile,
widget=TramlineWidget(
)
)