diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2002-06-25 17:43:40 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2002-06-25 17:43:40 +0000 |
commit | 0efca268cd904098a226683a9de1b35ad2a85bce (patch) | |
tree | 1f08ea83699f006dd9c495a5af80a2b0399467e9 /databases/p5-Class-DBI | |
parent | c9722e657ec351170ae5f13400bc47a61d28f85a (diff) | |
download | ports-0efca268cd904098a226683a9de1b35ad2a85bce.tar.gz ports-0efca268cd904098a226683a9de1b35ad2a85bce.zip |
Notes
Diffstat (limited to 'databases/p5-Class-DBI')
-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 |