History of LibertyAttachments
TikiStorage is a mechanism for attaching files to any PackageOutlaw derived content (wiki, blogs).
The tiki_storage table is an abstraction to the actual file location. This permits one to use the local file system (tiki_files) or database binary objects (tiki_blobs) or even tables from other 3rd party application ( like a g_id from [http://gallery.sourceforge.net|gallery2] ). TikiStorage derived objects use the public methods to have a "black box" for storing files, and the actual location is dependent on system settings.
All functionality is in the PackageOutlaw package. There is a TikiStorage class that handles all storing and retrieving of data. Currently, only tiki_files is supported. Future support (blobs, gallery2, etc.) will depend on community support and developer interest.
Here is a diagram of how the Tables interface:
{img src=http://www.tikipro.org/imagegals/show_image.php?id=29 align=center }
The tiki_storage table is an abstraction to the actual file location. This permits one to use the local file system (tiki_files) or database binary objects (tiki_blobs) or even tables from other 3rd party application ( like a g_id from [http://gallery.sourceforge.net|gallery2] ). TikiStorage derived objects use the public methods to have a "black box" for storing files, and the actual location is dependent on system settings.
All functionality is in the PackageOutlaw package. There is a TikiStorage class that handles all storing and retrieving of data. Currently, only tiki_files is supported. Future support (blobs, gallery2, etc.) will depend on community support and developer interest.
Here is a diagram of how the Tables interface:
{img src=http://www.tikipro.org/imagegals/show_image.php?id=29 align=center }