Zendcasts Forum

A community of developers who work with the Zend Framework and other enterprise PHP technologies

You are not logged in.

#1 2010-05-31 09:23:18

tamara2010
New member
Registered: 2010-05-31
Posts: 4

Is zend cast fast?

Well, as the title said, is it fast ? I've never used a framework before. So I'm wondering if it's faster to load a naked PHP compare to loading Zend object where I see there is much replacing functions to be done under the hood.

Offline

#2 2010-06-15 00:56:49

Jon Lebensold
Administrator
Registered: 2009-06-27
Posts: 279

Re: Is zend cast fast?

Hi tamara,

a framework will never be as fast as the naked objects, however you have to ask yourself if your code is in fact slow to begin with. Often times, people perform premature optimizations on what they *think* is slow and then end up with code that's unreadable with no gain.

Offline

#3 2010-07-08 13:47:37

Manuel
Member
Registered: 2009-12-09
Posts: 14

Re: Is zend cast fast?

"Fast" is not a question of a framework, but of the coder.

You can code with any framework and cache the result.
Even dynamic pages used to prevent unauthorized users from accessing it can be made in a static way.

I'm currently coding a project meant to serve up to 1 million hits per hour (280 hits/second)  in a "hot" environment (cache filled). This is done with the Zend Framework, producing a lot of static files (even the ACL and Auth-Things can be done static).

If this works as expected, I would like to send Jon an example, maybe he can make a Zend Cast out of this.

But If you ask, if plain PHP is much faster - you know the answer already.
It's up to you how fast your apps are.

Offline

#4 2010-07-12 14:34:10

iznogood
Member
From: Montreal
Registered: 2009-12-17
Posts: 20
Website

Re: Is zend cast fast?

Manuel wrote:

"Fast" is not a question of a framework, but of the coder.

You can code with any framework and cache the result.
Even dynamic pages used to prevent unauthorized users from accessing it can be made in a static way.

I'm currently coding a project meant to serve up to 1 million hits per hour (280 hits/second)  in a "hot" environment (cache filled). This is done with the Zend Framework, producing a lot of static files (even the ACL and Auth-Things can be done static).

If this works as expected, I would like to send Jon an example, maybe he can make a Zend Cast out of this.

But If you ask, if plain PHP is much faster - you know the answer already.
It's up to you how fast your apps are.

You know I would really like such video.

Offline

Board footer

Powered by FluxBB