You are here: Re: Is this a good idea? « PHP Programming Language « IT news, forums, messages
Re: Is this a good idea?

Posted by Andy Hassall on 09/27/10 11:37

On 17 Jan 2006 11:34:37 -0800, sam.s.kong@gmail.com wrote:

>> Rather than re-invent the wheel, look at:
>>
>> http://adodb.sourceforge.net/
>> http://phplens.com/adodb/reference.functions.getarray.html
>
>Thanks for the answer.
>My intention is not to use ADO db but make DB-accessing code simple and
>avoid repeated codes (connecting/freeing/disconnecting db).
>Is there a best practice of db-accessing in PHP?

You do realise that other than the name and a deliberate similarity in
function names, ADOdb has nothing to do with Microsoft ADO - it's just a thin
PHP library providing the sort of access methods you're talking about on top of
various PHP native database access functions?

IMHO, ADOdb _is_ the best practice of accessing databases in PHP.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

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

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