You are here: RE: [PHP] DAO/VO Pattern Help « PHP « IT news, forums, messages
RE: [PHP] DAO/VO Pattern Help

Posted by "Michael Sims" on 07/13/05 20:03

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация