Object::Relation::DataType 0.1.0 review
DownloadObject::Relation::DataType is a Perl module with complex data types for TKP. The Object::Relation::DataType name space is set asid
|
|
Object::Relation::DataType is a Perl module with complex data types for TKP.
The Object::Relation::DataType name space is set aside for the creation of complex data types for TKP. By "complex" I mean serializable objects, such as dates, durations, states, etc. It also is designed to create a distinction from simpler data types, which are defined in Object::Relation::Meta::DataTypes.
What creates the distinction? Well, first and foremost is that fact that it doesn't usually take much to create the simple data types, while the complex data types might need more code to handle serialization and deserialization, overloading, etc.
But another criterion is that, while the data types in Object::Relation::Meta::DataTypes are always loaded by TKP, since it uses them for its own classes, the complex data types in the Object::Relation::DataType name space tend to be loaded only as needed by the Object::Relation business classes that need them.
Okay, so it's somewhat arbitrary, but you get the idea. The remainder of this document is dedicated to documenting how to add new data types to TKP.
Requirements:
Perl
Object::Relation::DataType 0.1.0 keywords