diff options
-rw-r--r-- | databases/p5-Class-DBI/Makefile | 2 | ||||
-rw-r--r-- | databases/p5-Class-DBI/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-Class-DBI/pkg-descr | 17 |
3 files changed, 11 insertions, 10 deletions
diff --git a/databases/p5-Class-DBI/Makefile b/databases/p5-Class-DBI/Makefile index 2449aca3db03..d9d82e471bf9 100644 --- a/databases/p5-Class-DBI/Makefile +++ b/databases/p5-Class-DBI/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Class-DBI -PORTVERSION= 0.86 +PORTVERSION= 0.89 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Class diff --git a/databases/p5-Class-DBI/distinfo b/databases/p5-Class-DBI/distinfo index 56c5a8277e8c..2bd655f2b184 100644 --- a/databases/p5-Class-DBI/distinfo +++ b/databases/p5-Class-DBI/distinfo @@ -1 +1 @@ -MD5 (Class-DBI-0.86.tar.gz) = 6855d1532296332623fc0da0da6c4b41 +MD5 (Class-DBI-0.89.tar.gz) = 5336c839d5ca3e6dc8980fe4eac5fe73 diff --git a/databases/p5-Class-DBI/pkg-descr b/databases/p5-Class-DBI/pkg-descr index 629e497f8dc0..fc4aa4d057ec 100644 --- a/databases/p5-Class-DBI/pkg-descr +++ b/databases/p5-Class-DBI/pkg-descr @@ -1,13 +1,14 @@ -Although the difficulties in serialising objects to a relational -database are well documented, we often find outselves using such a -database to store the data that will make up the objects in our system. +Class::DBI provides a convenient abstraction layer to a database. -Thus we end up writing many classes, each mapping to a table in our -database, and each containing accessor and mutator methods for each of -the columns. We then write simple constructors, search methods and the -like for each these classes. +It not only provides a simple database to object mapping layer, but can +be used to implement several higher order database functions (triggers, +referential integrity, cascading delete etc.), at the application level, +rather than at the database. -Class::DBI is here to make this task trivial. +This is particularly useful when using a database which doesn't support +these (such as MySQL), or when you would like your code to be portable +across multiple databases which might implement these things in +different ways. WWW: http://search.cpan.org/search?dist=Class-DBI |