Introduction to Zend Framework

 Learning Zend Framework


 Zend Framework Reference

  •  Zend_Gdata
  •  Zend_Http
  •  Zend_InfoCard
  •  Zend_Json
  •  Zend_Layout
  •  Zend_Ldap
  •  Zend_Loader
  •  Zend_Locale
  •  Zend_Log
  •  Zend_Mail
  •  Zend_Markup
  •  Zend_Measure
  •  Zend_Memory
  •  Zend_Mime
  •  Zend_Navigation
  •  Zend_Oauth
  •  Zend_OpenId
  •  Zend_Paginator
  •  Zend_Pdf
  •  Zend_ProgressBar
  •  Zend_Queue
  •  Zend_Reflection
  •  Zend_Registry
  •  Zend_Rest

  •  Zend_Search_Lucene
  •  Zend_Serializer
  •  Zend_Server
  •  Zend_Service
  •  Zend_Session
  •  Zend_Soap
  •  Zend_Tag
  •  Zend_Test
  •  Zend_Text
  •  Zend_TimeSync
  •  Zend_Tool
  •  Zend_Tool_Framework
  •  Zend_Tool_Project
  •  Zend_Translate
  •  Zend_Uri
  •  Zend_Validate
  •  Zend_Version
  •  Zend_View
  •  Zend_Wildfire
  •  Zend_XmlRpc
  • ZendX_Console_Process_Unix
  • ZendX_JQuery
  • Update 2011-11-16 - Revision 24438 - Version ZF 1.11.x

    Appendix F. Zend Framework Performance Guide

    Table of Contents

    F.1. Introduction
    F.2. Class Loading
    F.2.1. How can I optimize my include_path?
    F.2.1.1. Use absolute paths
    F.2.1.2. Reduce the number of include paths you define
    F.2.1.3. Define your Zend Framework include_path as early as possible
    F.2.1.4. Define the current directory last, or not at all
    F.2.2. How can I eliminate unnecessary require_once statements?
    F.2.2.1. Strip require_once calls with find and sed
    F.2.3. How can I speed up plugin loading?
    F.2.3.1. Use the PluginLoader include file cache
    F.3. Zend_Db Performance
    F.3.1. How can I reduce overhead introduced by Zend_Db_Table for retrieving table metadata?
    F.3.1.1. Use the metadata cache
    F.3.1.2. Hardcode your metadata in the table definition
    F.3.2. SQL generated with Zend_Db_Select s not hitting my indexes; how can I make it better?
    F.3.2.1. Write your own tuned SQL
    F.4. Internationalization (i18n) and Localization (l10n)
    F.4.1. Which translation adapter should I use?
    F.4.1.1. Use non-XML translation adapters for greatest speed
    F.4.2. How can I make translation and localization even faster?
    F.4.2.1. Use translation and localization caches
    F.5. View Rendering
    F.5.1. How can I speed up resolution of view helpers?
    F.5.1.1. Use the PluginLoader include file cache
    F.5.1.2. Extend Zend_View to provide often used helper methods
    F.5.2. How can I speed up view partials?
    F.5.2.1. Use partial() only when really necessary
    F.5.3. How can I speed up calls to the action() view helper?
    F.5.3.1. Use the ActionStack when possible
    F.5.3.2. Favor helpers that query the model over action()

    F.1. Introduction

    The purpose of this appendix is to provide some concrete strategies for improving the performance of your Zend Framework applications. The guide is presented in a "Question and Answer" format, and broken into areas of concern.

    digg delicious meneame google twitter technorati facebook