Using Zend Framework for highload projects

前端 未结 6 1016
灰色年华
灰色年华 2020-12-04 23:18

Zend Framework is a good framework but not very fast. Can you tell whether it\'s worth using Zend Framework for highload projects, for example, for email marketing service t

6条回答
  •  不思量自难忘°
    2020-12-04 23:59

    A lot of the framework, any framework really, is used for building and managing the project development but the resulting project is 'just' php, html, css etc. the same as any other php web site. So what evidence do you have, that's real timing against other framework and non-framework built sites not anecdotal evidence, that a Zend project site is slow.

    Edit -- answers to below -- I don't think the structure that the framework uses will hurt performance. It may be more a question of PHP being acceptable and then how much 'overhead' is added with the site design and the optimisation of loading say JavaScript's etc. I would imagine that using the Yui guidelines of minifying JavaScript and CSS and loading them in the correct order and making sure the PHP code is efficient will help. You can also use other standard things such as DB Caching and Zend Accelerator will speed things up. One thing to be careful of would be the DB connection. The use of an ORM layer might have an impact.

    However back to the original question about the framework i think it is similar to asking if using Eclipse or Textmate has an effect on the speed of the resulting site.

提交回复
热议问题