RE: DAO/VO Pattern Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jed R. Brubaker wrote:
> So I am running into a problem that I could really use some direction
> on: DAO/VO works great with single tables, but I tend to make my
> database work for its existance, and joins ar eeverywhere. What I
> don't understand is how to approach DAO/VO when table joins are
> involved.
>
> Can anyone think of some good resources?

Take a look at Propel, an ORM tool for PHP that is based on Apache Torque (a Java
ORM).  It is a code-generation tool that requires PHP 5, and it may possibly be
overkill for what you are trying to do, but at the very least you could look at some
of the code it generates to get some ideas for your own approach.

http://propel.phpdb.org

There are other ORM/DAO type utilities for PHP available, but since Propel is the
only one I've used I'll leave it to others to mention alternative resources.

HTH

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux