<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    CogBase - A CogBase Implementation in Perl

WARNING
    This Database implementation is in its infancy. Just barely a proof of
    concept so far. It would be ridiculous of you to use it for anything
    serious, yet.

SYNOPSIS
        use CogBase;

        my $conn = CogBase-&gt;connect('http://cog.example.com');

        my $schema = $conn-&gt;node('Schema');
        $schema-&gt;value(&lt;&lt;'...');
        +: person
        &lt;: Node
        age: Number
        given_name: String
        family_name: String
        ...
        $conn-&gt;store($schema);

        my $person = $conn-&gt;node('person');

        $person-&gt;given_name('Ingy');
        $person-&gt;family_name('dot Net');
        $person-&gt;age(42);

        $conn-&gt;store($person);

        my @results = $conn-&gt;query('!person');
        my @nodes = $conn-&gt;fetch(@results);

        for my $node (@nodes) {
            print "%s %s is %d years old\n",
                $node-&gt;given_name,
                $node-&gt;family_name,
                $node-&gt;age;
        }

        $conn-&gt;disconnect;

DESCRIPTION
    CogBase is a Object Database Management System.

    Some interesting characteristics of its design are:

    * All objects are stored as nodes.
    * Every node has a universally unique id.
    * Every node has a type.
    * Every type has a schema.
    * Every schema, is itself, a node in the db.
    * Every schema has a base/super schema that it inherits from.
    * Schemas can be used to generate programming language (Perl) classes
    for every type (schema) of node.
    * CogBase defines several core scalar types.
    * CogBase defines one core schema (that every schema inherits from).
    * Every node has one or more revisions.
    * Every revision is immutable.
    * Database access methods are connect, create, store, fetch, query and
    disconnect.
    * All nodes have access control based on the Unix File System.
    * HTTP is used for the network layer. GET and POST are used for all
    operations.
    * Database can be used over network or embedded.
    * Access control is based on Unix File System

AUTHOR
    Ingy dГ¶t Net, "&lt;ingy at cpan.org&gt;"

BUGS
    Please report any bugs or feature requests to "bug-cogbase at
    rt.cpan.org", or through the web interface at
    &lt;http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CogBase&gt;. I will be
    notified, and then you'll automatically be notified of progress on your
    bug as I make changes.

SUPPORT
    You can find documentation for this module with the perldoc command.

        perldoc CogBase

    You can also look for information at:

    * AnnoCPAN: Annotated CPAN documentation
        &lt;http://annocpan.org/dist/CogBase&gt;

    * CPAN Ratings
        &lt;http://cpanratings.perl.org/d/CogBase&gt;

    * RT: CPAN's request tracker
        &lt;http://rt.cpan.org/NoAuth/Bugs.html?Dist=CogBase&gt;

    * Search CPAN
        &lt;http://search.cpan.org/dist/CogBase&gt;

ACKNOWLEDGEMENTS
    Unix, HTTP

COPYRIGHT &amp; LICENSE
    Copyright 2006 Ingy dГ¶t Net, all rights reserved.

    This program is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

</pre></body></html>