You are here: Re: To OOP or not to OOP « PHP Programming Language « IT news, forums, messages
Re: To OOP or not to OOP

Posted by Gregor on 05/30/07 15:46

"L. Berger" <straightfwd007@gmail.com> wrote in message
news:1180451838.251123.37150@d30g2000prg.googlegroups.com...
* * *
> 1. Minimize require calls. (And use require instead of include or
> include_once or require_once).
> 2. Use an accelerator, such as eAccelerator. This compiles your code
> and basically boils it down to one include in most cases.

* * *

Could you explain these for me please, if you have the time?

I can understand the obvious reasons to minimize require calls, but why do
you prefer, say, "require()" over "require_once()"? And why not use
"include()" for, say, a block of stand-alone text when you would rather see
it omitted than have the page not load?

I have never heard of an accelerator. I'm assuming it acts a bit like a css
optimizer, perhaps sort of a poor man's framework? Does eAccelerator ever
create bugs, like css optimization programs?

 

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

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