You are here: Re: php object performance « PHP Programming Language « IT news, forums, messages
Re: php object performance

Posted by Rik on 06/28/07 16:08

On Thu, 28 Jun 2007 18:01:22 +0200, ZeldorBlat <zeldorblat@gmail.com>
wrote:

> On Jun 28, 11:34 am, PaowZ <gpa...@gmail.com> wrote:
>> On 28 juin, 16:42, Toby A Inkster <usenet200...@tobyinkster.co.uk>
>> wrote:
>>
>> > PaowZ wrote:
>> > > I got started developing an app using php object and have the worst
>> > > requests time I ever seen.
>>
>> > Are you using autoloading?
>>
>> > --
>> > Toby A Inkster BSc (Hons) ARCS
>> > [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
>> > [OS: Linux 2.6.12-12mdksmp, up 7 days, 18:22.]
>>
>> > Long-Awaited Zeldman Article
>> > http://tobyinkster.co.uk/blog/2007/06/27/zeldman-in-time/
>>
>> No, I gave up knowing that this magic function is costly.. I prefer
>> require_once() the right class when needed.. :)
>
> How do you know it's costly? I've never had a problem with it...
>

Indeed, autoloading is not the same as preloading. It should have very
little effect on resources.

--
Rik Wasmus

 

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

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