Re: Re: php framework vs just php?
| From: | Larry Garfield | Date: | Tue, 07 Oct 2008 18:55:54 +0000 |
| Subject: | Re: Re: php framework vs just php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281540@lists.php.net to get a copy of this message | ||
On Tue, 07 Oct 2008 19:47:54 +0100, Ashley Sheridan <ash@ashleysheridan.co.uk> wrote:
> Don't frameworks introduce a lot more overhead to projects though?
>
>
> Ash
> www.ashleysheridan.co.uk
Any generic code library adds overhead. How much and whether or not it's acceptable depends on
the framework and on your use case. In *most* use cases, PHP execution time is not your bottleneck.
Disk IO, database traffic, and network traffic are a much bigger problem. If you can, throw an
Opcode cache at it (whether it's a framework or not) to get a nice speed boost.
I find I produce much better quality results with much less effort when using a good framework than
when writing from scratch.
--Larry Garfield