Reply to Re: Useless OO php examples. - found some good ones though.

Your name:

Reply:


Posted by NC on 02/16/06 04:30

J wrote:
> > > > PEAR:db would be a good PHP example.
> > >
> > > Yeah, it's a start ;)
> >
> > Nope, it's a dead end... Lots of completely avoidable overhead in an
> > effort to (supposedly) speed up development...
> >
>
> There's a block, where's the parry? Do you have an alternate suggestion?
>
> "Write your own code..." I'm expecting..

You write your own code regardless of whether you use an abstraction
layer or not. The amount of code you have to write is approximately
the same regardless of whether you use an abstraction layer or not; you
still issue commands for connecting to a DB server, choosing a DB,
running queries, and fetching their results. The difference is how
fast it happens and how much system resources get consumed in the
proces. Last times folks at phpLens tested it, PEAR:db had an overhead
of 150-170%:

http://phplens.com/lens/adodb/

Cheers,
NC

[Back to original 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

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