You are here: Re: PEAR newbie trying to user PEAR DB and falling at the first hurdle « PHP Programming Language « IT news, forums, messages
Re: PEAR newbie trying to user PEAR DB and falling at the first hurdle

Posted by bizt on 12/07/07 14:46

On 4 Dec, 02:13, Oliver Grätz <oliver.gra...@gmx.de> wrote:
> bizt schrieb:
>
> > Ive just installed PEAR on my local machine and all is well, updated
> > the include_path to point to my PEAR dir.
>
> > include('PEAR/DB/DB.php');
>
> Trying to keep you from having to throw much of your code away in a few
> months I dare to ask if you voluntarily started using PEAR DB as opposed
> to being forced to use it because you are trying to work with old code.
> This is because the package is marked as
>
> "This package has been superseded, but is still maintained for bugs and
> security fixes. Use MDB2 instead."
>
> (to clear this up: PEAR DB has been out of development for 21 straight
> months before someone started fixing very old errors just to "maintain"
> the package for old users that use it in their old apps)
>
> You should not start learning to use something for which the developer
> himself tells you to better not use it but something else instead. I'm
> not saying "don't use it" myself but the "just installed" and "first
> hurdle" set off some alarm bells...
>
> OLLi
>
> --
> Dargo: "Does Moya know where we are?"
> Pilot: "Yes, of course: We are someplace else. -- I'll get back to you
> on the specifics."
> [FarScape 101]

The reason im using PEAR DB is because Im currently going through a
book (Professional PHP) and it has part of a chapter devoted to this
class set so i thought id check it out. Im happy enough to build my
own data abstraction layer classes but want to ive this one a go. Ill
have a look at the MDB2 set.

 

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

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