NAME
AxKit::App::TABOO::Data::Category - Category Data objects for TABOO
SYNOPSIS
use AxKit::App::TABOO::Data::Category;
$cat = AxKit::App::TABOO::Data::Category->new();
$cat->load('kitten');
DESCRIPTION
It is often convenient to lump articles together in categories. People do that to organize subjects that interest them, find things that are related and so on. In the TABOO framework, the intention is to use several types of categories, but they are conceptually similar, and so, stored together.
METHODS
This class implements only one method, the rest is inherited from AxKit::App::TABOO::Data.
STORED DATA
The data is stored in named fields, and for certain uses, it is good to know them. If you want to subclass this class, you might want to use the same names, see the documentation of AxKit::APP::TABOO::Data for more about this. These are the names of the stored data of this class:
catname
A simple word containing a unique name and identifier for the category.
name
An expanded name intended for human consumption.
type
TABOO (is intended to) recognize several types of categories, for different uses. The content of type should be one of several 5-character strings:
categ - the basic category, for a hacker website, for example "Perl", "Apache" etc. However, it is the intention that categ should be a controlled vocabulary, i.e. your article should fit in one or more categories, and you have to choose from those provided to you.
frees - Sort of like a category, but Free Subjects. If it doesn't really fit in any of the categories, you should be free to specify something, and this may also be useful in lumping things together in an ad hoc way.
angle - People write articles about the same subject but see it from different angles. For example, an anthropologist will view hackerdom from a different angle than a programmer.
This may be extended.
uri
In the Semantic Web you'd like to identify things and their relationships with URIs. So, we try to record an URI for everything.
description
A longer description of a category, intended as an explanation to a human what kind of things belong in that category.
FORMALITIES
See AxKit::App::TABOO.