-A new feature for Clyde, the "common" package allows wiki, blogs, articles, and more to store their data in the same table, called tiki_content. This table holds the text data for all content - blogs, wiki, articles, etc. all in one column. This permits super fast searching, as well as simplified data storage/retrieval & text processing via a common base class.
|
+{attachment link=false id=769 float="left" margin="0px 10px 0px 0px" padding="10px" border="1px solid black"} {maketoc}__Liberty Package__ is the heart of bitweaver's content management system. Liberty provides fundamental functionality and utility to all content built on Liberty. Liberty provides both a universal database table that all Liberty derived content is stored in, as well as a collection of features all Liberty derived content can use. |
|
-{img src=http://www.tikipro.org/imagegals/show_image.php?id=28 align=center }
|
+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. |
|
-A few notes:
|
-* Variable languages for the same content_id is not currently implemented. In fact, content_id is a PRIMARY KEY. Eventually, the PRIMARY KEY for tiki_content will probably be (content_id, language)
|
+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: |
+ |
+{attachment id=125} |
+ |
+!!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. |
+!!!((LibertyAttachments|LibertyAttachable)) |
+Deprecated in R2.0.3 in favor of LibertyMime |
+!!!((LibertyMime)) |
+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 explain |
+!!!LibertySystem |
+@todo explain |
+ |
+!! Liberty Features |
+ |
+{| cellpadding=4 |
+! Liberty Feature !! Description !! Availability |
+|- class=odd |
+| [http://www.google.com/googleblog/2005/01/preventing-comment-spam.html|Google "nofollow"] |
+| comment spam protection |
+| Bitweaver 1.0+ |
+|- class=even |
+| ((Inline Diff)) |
+| Uses PEAR ((Text_Wiki)) for an inline diff, instead of the line-based tool. This is particularly useful when using a WYSIWYG editor. |
+| Bitweaver 2.0+ |
+|- class=odd |
+| Format Plugins |
+| tikiwiki, HTML, BBCode, MediaWiki, etc. |
+| Bitweaver 1.0+ |
+|} |
+ |
+ |
+ |
+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)) |
+ |
+ |
+!!Schema Diagram |
+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): |
+ |
+{attachment id=561 size=large href=/storage/users/2/2/images/561/tiki_content.png} |
|