Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Associative Database

by Anno (Deacon)
on Mar 10, 2007 at 17:25 UTC ( [id://604141]=note: print w/replies, xml ) Need Help??


in reply to Associative Database

A couple of rather unrelated remarks.

In your constructor ->new you have the line

bless($self, 'AssocDB');
That is bad construction, it won't allow anyone to subclass AssocDB. You should bless into the class the constructor was called through:
bless($self, shift);

The term Associative Database, while suggestive, doesn't have an agreed-upon technical meaning (correct me if I'm wrong), so it would be necessary to add a minimum of documentation about the purpose and possible applications. As it is, the reader can pick up that such a beast has entities, predicates and relationships. You'd have to read the code to get an idea of how they interact to result in associations.

To enable anyone to pick up the project with some confidence you'd have to add some documentation that explains these points.

Anno

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://604141]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 14:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found