Add pear-DB_DataObject 1.7.1, an SQL Builder, Object Interface to

Database Tables.

PR:		70882
Submitted by:	Antonio Carlos Venancio Junior
This commit is contained in:
Thierry Thomas 2004-08-23 20:59:39 +00:00
parent e5f8c5eea9
commit 29c549ca7a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117162
4 changed files with 39 additions and 0 deletions

View File

@ -200,6 +200,7 @@
SUBDIR += p5-postgresql-plperl
SUBDIR += p5-sqlrelay
SUBDIR += pear-DB
SUBDIR += pear-DB_DataObject
SUBDIR += pear-DB_Pager
SUBDIR += pear-MDB
SUBDIR += pear-sqlite

View File

@ -0,0 +1,27 @@
# New ports collection makefile for: pear-DB_DataObject
# Date created: 23 August 2004
# Whom: Antonio Carlos Venancio Junior (<antonio@php.net>)
#
# $FreeBSD$
#
PORTNAME= DB_DataObject
PORTVERSION= 1.7.1
CATEGORIES= databases www pear
MAINTAINER= antonio@php.net
COMMENT= An SQL Builder, Object Interface to Database Tables
BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
RUN_DEPENDS= ${BUILD_DEPENDS}
CATEGORY= DB
FILES= DataObject.php DataObject/Cast.php DataObject/Error.php \
DataObject/Generator.php DataObject/createTables.php
DOCS= example.ini
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (PEAR/DB_DataObject-1.7.1.tgz) = 555cc6425c85952221e0237963d3296f
SIZE (PEAR/DB_DataObject-1.7.1.tgz) = 44629

View File

@ -0,0 +1,9 @@
PEAR::DB_DataObject performs 2 tasks:
1. Builds SQL statements based on the objects vars and the buiLder methods.
2. acts as a datastore for a table row.
The core class is designed to be extended for each of your tables so that you
put the data logic inside the data classes.
Included is a Generator to make your configuration files and your base classes.
WWW: http://pear.php.net/package/DB_DataObject