Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: A Perl DBMS?

by dokkeldepper (Friar)
on Mar 09, 2007 at 15:13 UTC ( [id://603993]=note: print w/replies, xml ) Need Help??


in reply to A Perl DBMS?

The obvious question is: which concepts have to be introduced into Perl by a "RDBMS in Perl"? Which feature of RDBMs make these so attractive to be implemented in perl instead of relying on the mature solutions in this field?

Two concepts come to my mind, which would be an interesting addition to the perl datastructure zoo.

First, the idea of referential integrity, that is, declarative integrity between different objects. For example, we have a class customer, and a class bill, and the programmer can declare in advance the integrity conditions between the customer and his bills.

Second, the idea of declarative programming in general. Example: One declares a class Room and a class guest, and now, given the integrity conditions, the system generates valid "object tuples", from which one could select the most suitable that relates a guest with a corresponding room.

Replies are listed 'Best First'.
Re^2: A Perl DBMS?
by Moron (Curate) on Mar 12, 2007 at 14:27 UTC
    Yes, these are two good additions to the spec. Another is CREATE TRIGGER for functionality that goes beyond what declarative programming can feasibly achieve, e.g. business transaction logging.

    -M

    Free your mind

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2024-04-25 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found