You are here: Re: Abstracting a database class « PHP Programming Language « IT news, forums, messages
Re: Abstracting a database class

Posted by Balazs Wellisch on 01/01/06 04:21

>
> This way, I can change database factories (to connect to different
> databases) with ease and, since the interface implementation contains all
> the SQL, there is only one file I need to scan to adjust for the variances
> in the SQL languages. (e.g. limit 1 in MySQL vs. count = 1 in Oracle)
>
Hmmm, ADODB already takes care of that for you. It also deals with date
formatting and other issues. Plus it provides useful features like caching
and SQL logging. Why reinvent the wheel?

Balazs

 

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

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