History of LibertyPackage
Version 39
LibertyPackage
Explanation of the CMS Content Engine
- LibertyPackage
The Liberty database table stores common data such as content Title, Description, and page Data, as well as Creation and Modification dates and authors for all content. By holding all the text data for various content in one column, bitweaver achieves super fast searching, as well as simplified data storage/retrieval & text processing. But Liberty goes a step further than that.
Liberty provides a number of useful enhancements to content. Liberty is a base class that various content (blogs, wiki pages, articles, map content, etc) is built on. Through this class all content has access to Liberty's various text parsers, its image attachment utilities, its commenting utility, and the storage of historical changes (all Liberty based content automatically has a history like wiki pages traditionally do!).
Here is a conceptual image that shows how Liberty and other btiweaver packages inter-relate:
Liberty Classes
The vast majority of content created with bitweaver is derived from these classes.LibertyBase
LibertyBase is a foundation class for other Liberty classes and is not something generally used by those looking to build other packages on top of Liberty.LibertyContent
LibertyContent is our basic content class, this provides access to storage and retrieval of basic universal content properties, like title, data, history, preferences, permissions, etc.LibertyAttachable
Deprecated in favor of LibertyMimeLibertyMime
LibertyMime builds on LibertyContent, but adds handlers for enabling files to be attached to content. File attachments can be handled in different ways. FisheyePackage for example creates a one to one relationship between a single attachment and its LibertyContent object, a Photo. WikiPages on the other hand allow multiple attachments to be associated with its LibertyContent object, a Page.LibertyComments
LibertyComments are derived from LibertyContent and provide comments functionality to any LibertyContent derived objects, which opt in to using comments.LibertyStructure
@todo explainLibertySystem
@todo explainLiberty Features
Liberty Feature | Description | Availability |
Google "nofollow" | comment spam protection | ReleaseOne |
A TikiWiki, HTML, BBCode, Wikipedia (aka MediaWiki), XML, text, etc...).
Currently there are plugins for:
- Wiki format
- HTML
There is also a highly flexible mechanism for attaching *any* id driven mechanism to content - this is call TikiStorage. The storage types are handled completely through Liberty storage plugins. Tutorial - Liberty Plugins
- LibertyPackage
Here is a diagram of how the Tables interface (note this diagram was prior to ReleaseOne and the names have changed in ReleaseTwo, however the ideas are largely still the same):