Warning: include_once(): Unable to allocate memory for pool. in /usr/share/php/Zend/Controller/Dispatcher/Standard.php on line 338 Call Stack: 0.0001 631984 1. {main}() /home/padraic/public_html/survivethedeepend.com/zfbook/website/public/index.php:0 0.0003 647048 2. Bootstrap::run() /home/padraic/public_html/survivethedeepend.com/zfbook/website/public/index.php:12 0.0117 2415288 3. Zend_Controller_Front->dispatch() /home/padraic/public_html/survivethedeepend.com/zfbook/website/library/Bootstrap.php:19 0.0131 2538472 4. Zend_Controller_Dispatcher_Standard->dispatch() /usr/share/php/Zend/Controller/Front.php:946 0.0134 2538616 5. Zend_Controller_Dispatcher_Standard->loadClass() /usr/share/php/Zend/Controller/Dispatcher/Standard.php:256 Table Of Contents - Zend Framework Book: Surviving The Deep End
Warning: include(): Unable to allocate memory for pool. in /usr/share/php/Zend/View.php on line 108 Call Stack: 0.0001 631984 1. {main}() /home/padraic/public_html/survivethedeepend.com/zfbook/website/public/index.php:0 0.0003 647048 2. Bootstrap::run() /home/padraic/public_html/survivethedeepend.com/zfbook/website/public/index.php:12 0.0117 2415288 3. Zend_Controller_Front->dispatch() /home/padraic/public_html/survivethedeepend.com/zfbook/website/library/Bootstrap.php:19 0.0131 2538472 4. Zend_Controller_Dispatcher_Standard->dispatch() /usr/share/php/Zend/Controller/Front.php:946 0.0171 2749984 5. Zend_Controller_Action->dispatch() /usr/share/php/Zend/Controller/Dispatcher/Standard.php:289 0.0174 2758840 6. Zend_Controller_Action_HelperBroker->notifyPostDispatch() /usr/share/php/Zend/Controller/Action.php:523 0.0174 2760752 7. Zend_Controller_Action_Helper_ViewRenderer->postDispatch() /usr/share/php/Zend/Controller/Action/HelperBroker.php:277 0.0174 2760752 8. Zend_Controller_Action_Helper_ViewRenderer->render() /usr/share/php/Zend/Controller/Action/Helper/ViewRenderer.php:963 0.0179 2761232 9. Zend_Controller_Action_Helper_ViewRenderer->renderScript() /usr/share/php/Zend/Controller/Action/Helper/ViewRenderer.php:924 0.0180 2761232 10. Zend_View_Abstract->render() /usr/share/php/Zend/Controller/Action/Helper/ViewRenderer.php:903 0.0180 2802688 11. Zend_View->_run() /usr/share/php/Zend/View/Abstract.php:833 Warning: include_once(): Unable to allocate memory for pool. in /usr/share/php/Zend/Loader/PluginLoader.php on line 384 Call Stack: 0.0001 631984 1. {main}() /home/padraic/public_html/survivethedeepend.com/zfbook/website/public/index.php:0 0.0003 647048 2. Bootstrap::run() /home/padraic/public_html/survivethedeepend.com/zfbook/website/public/index.php:12 0.0117 2415288 3. Zend_Controller_Front->dispatch() /home/padraic/public_html/survivethedeepend.com/zfbook/website/library/Bootstrap.php:19 0.0131 2538472 4. Zend_Controller_Dispatcher_Standard->dispatch() /usr/share/php/Zend/Controller/Front.php:946 0.0171 2749984 5. Zend_Controller_Action->dispatch() /usr/share/php/Zend/Controller/Dispatcher/Standard.php:289 0.0174 2758840 6. Zend_Controller_Action_HelperBroker->notifyPostDispatch() /usr/share/php/Zend/Controller/Action.php:523 0.0174 2760752 7. Zend_Controller_Action_Helper_ViewRenderer->postDispatch() /usr/share/php/Zend/Controller/Action/HelperBroker.php:277 0.0174 2760752 8. Zend_Controller_Action_Helper_ViewRenderer->render() /usr/share/php/Zend/Controller/Action/Helper/ViewRenderer.php:963 0.0179 2761232 9. Zend_Controller_Action_Helper_ViewRenderer->renderScript() /usr/share/php/Zend/Controller/Action/Helper/ViewRenderer.php:924 0.0180 2761232 10. Zend_View_Abstract->render() /usr/share/php/Zend/Controller/Action/Helper/ViewRenderer.php:903 0.0180 2802688 11. Zend_View->_run() /usr/share/php/Zend/View/Abstract.php:833 0.0187 2805120 12. include('/home/padraic/public_html/survivethedeepend.com/zfbook/website/application/views/scripts/book/view.phtml') /usr/share/php/Zend/View.php:108 0.0188 2805616 13. Zend_View->partial() /home/padraic/public_html/survivethedeepend.com/zfbook/website/application/views/scripts/book/view.phtml:1 0.0188 2806128 14. Zend_View_Abstract->__call() /home/padraic/public_html/survivethedeepend.com/zfbook/website/application/views/scripts/book/view.phtml:1 0.0188 2806128 15. Zend_View_Abstract->getHelper() /usr/share/php/Zend/View/Abstract.php:336 0.0188 2806264 16. Zend_View_Abstract->_getPlugin() /usr/share/php/Zend/View/Abstract.php:569 0.0188 2806536 17. Zend_Loader_PluginLoader->load() /usr/share/php/Zend/View/Abstract.php:1118 Warning: include(): Unable to allocate memory for pool. in /usr/share/php/Zend/View.php on line 108 Call Stack: 0.0001 631984 1. {main}() /home/padraic/public_html/survivethedeepend.com/zfbook/website/public/index.php:0 0.0003 647048 2. Bootstrap::run() /home/padraic/public_html/survivethedeepend.com/zfbook/website/public/index.php:12 0.0117 2415288 3. Zend_Controller_Front->dispatch() /home/padraic/public_html/survivethedeepend.com/zfbook/website/library/Bootstrap.php:19 0.0131 2538472 4. Zend_Controller_Dispatcher_Standard->dispatch() /usr/share/php/Zend/Controller/Front.php:946 0.0171 2749984 5. Zend_Controller_Action->dispatch() /usr/share/php/Zend/Controller/Dispatcher/Standard.php:289 0.0174 2758840 6. Zend_Controller_Action_HelperBroker->notifyPostDispatch() /usr/share/php/Zend/Controller/Action.php:523 0.0174 2760752 7. Zend_Controller_Action_Helper_ViewRenderer->postDispatch() /usr/share/php/Zend/Controller/Action/HelperBroker.php:277 0.0174 2760752 8. Zend_Controller_Action_Helper_ViewRenderer->render() /usr/share/php/Zend/Controller/Action/Helper/ViewRenderer.php:963 0.0179 2761232 9. Zend_Controller_Action_Helper_ViewRenderer->renderScript() /usr/share/php/Zend/Controller/Action/Helper/ViewRenderer.php:924 0.0180 2761232 10. Zend_View_Abstract->render() /usr/share/php/Zend/Controller/Action/Helper/ViewRenderer.php:903 0.0180 2802688 11. Zend_View->_run() /usr/share/php/Zend/View/Abstract.php:833 0.0187 2805120 12. include('/home/padraic/public_html/survivethedeepend.com/zfbook/website/application/views/scripts/book/view.phtml') /usr/share/php/Zend/View.php:108 0.0188 2805616 13. Zend_View->partial() /home/padraic/public_html/survivethedeepend.com/zfbook/website/application/views/scripts/book/view.phtml:1 0.0188 2806128 14. Zend_View_Abstract->__call() /home/padraic/public_html/survivethedeepend.com/zfbook/website/application/views/scripts/book/view.phtml:1 0.0199 2846592 15. call_user_func_array() /usr/share/php/Zend/View/Abstract.php:342 0.0199 2847080 16. Zend_View_Helper_Partial->partial() /usr/share/php/Zend/View/Abstract.php:342 0.0200 2850584 17. Zend_View_Abstract->render() /usr/share/php/Zend/View/Helper/Partial.php:103 0.0201 2892048 18. Zend_View->_run() /usr/share/php/Zend/View/Abstract.php:833

Zend Framework: Surviving The Deep End

Table of Contents

1. Introduction
1.1. The Zend Framework
1.2. About This Book
1.2.1. Obtaining The Source Code For Chapters
1.3. Me, Me, Me!
1.4. You, You, You!
2. The Architecture of Zend Framework Applications
2.1. Introduction
2.2. The Model-View-Controller
2.2.1. The View
2.2.2. The Controller
2.2.3. The Model
2.3. In Review
2.4. Conclusion
3. The Model
3.1. Introduction
3.2. Clarifying The Model
3.3. In Programming, Fat Models Are Preferable To Size Zero Models
3.4. The Fat Stupid Ugly Controller
3.5. Controllers Are Not The Data Police
3.6. Conclusion
4. Installing The Zend Framework
4.1. Introduction
4.2. Before You Install The Framework
4.3. Getting The Zend Framework
4.3.1. Download As Compressed Archive File
4.3.2. Checkout From Subversion
4.3.3. Download As A Linux Distribution Package
4.3.4. Nightly Build Download
4.4. Post Installation
5. A Not So Simple Hello World Tutorial
5.1. Introduction
5.2. Step 1: Creating A New Local Domain
5.3. Step 2: Creating A Project Directory Structure
5.4. Step 3: Implement Application Bootstrapping
5.5. Step 4: The Only Way In, The Index File
5.6. Step 5: Adding A Default Controller and View
5.7. Conclusion
6. Standardise The Bootstrap Class With Zend_Application
6.1. Introduction
6.2. Step 1: Editing the ZFExt_Bootstrap Class
6.3. Step 2: Editing The Index and htaccess Files
6.4. Step 3: Adding The Application Configuration File
6.5. Step 4: Handling Setting Of Standard Component Defaults
6.6. Step 5: Fixing ZFExt_Bootstrap
6.7. Step 6: Integrating Application Configuration Into Resource Methods
6.8. Step 7: Optimising Autoloading Code
6.9. Allowing Zend_Loader_Autoload Load Namespaced Classes
6.10. Conclusion
7. Handling Application Errors Gracefully
7.1. Introduction
7.2. The ErrorController and Error View
7.3. Well, That Didn't Work...
7.4. Not All Errors Are Equal
7.5. Conclusion
8. Developing A Blogging Application
8.1. Introduction
8.2. Planning
8.3. Incremental Development and YAGNI
8.4. Checking Our Toolbox
8.5. This Is Not The Reference Guide
9. Implementing The Domain Model: Entries and Authors
9.1. Introduction
9.2. The Domain Model and Database Access Patterns
9.3. Exploring The Domain Objects
9.4. Exploring The Entry Data Mapper
9.5. Assessing Implementation Tools
9.5.1. Domain Objects
9.5.2. Validation And Filtering Rules
9.5.3. Database Access
9.6. Implementation
9.6.1. Adding Unit Tests For Execution
9.6.2. The Domain Objects
9.6.3. The Data Mappers
9.6.4. Lazy Loading Domain Objects
9.6.5. Preventing Duplicate Entities With An Identity Map
9.7. Conclusion
10. Setting The Design With Zend_View, Zend_Layout, HTML 5 and Yahoo! User Interface Library
10.1. Introduction
10.2. Zend_View: Object Oriented Templating
10.2.1. Layouts
10.2.2. Partials
10.2.3. View Helpers
10.2.4. Placeholders
10.2.5. Short Tags vs Full Tags
10.3. The ZFBlog Application Setup
10.4. Creating An Index Page With HTML 5
10.5. Extracting Static Markup Into A Layout
10.6. Replacing Changeable Elements With Placeholders
10.7. Improving HTML 5 Support With Custom View Helpers
10.8. Adding A Link To A Custom Stylesheet
10.9. Customising The Style
10.10. Conclusion
A. Creating A Local Domain Using Apache Virtual Hosts
A.1. Introduction
A.2. Configuring Apache With Virtual Hosts
A.3. Configuring Local HOSTS File
A.4. Conclusion
B. Performance Optimisation For Zend Framework Applications
B.1. Introduction
B.2. Avoid Premature Optimisation
B.3. Measuring Performance
B.3.1. Memory and CPU Measurement
B.3.2. Requests Per Second
B.4. Pinpointing The Cause Of Poor Performance
B.4.1. Code Profiling
B.4.2. Database Operations Analysis
B.5. General PHP Optimisation
B.5.1. Opcode Caching
B.5.2. Realpath Cache
B.6. General Zend Framework Optimisation
B.6.1. Class Loading Optimisation
B.6.2. Configuring Default Caches
B.6.3. Cache At The Right Level
B.6.4. Minimising Include Paths
B.7. HTTP Server Optimisation
B.7.1. Optimising Apache's Configuration
B.7.2. Avoiding Apache Completely
B.8. Conclusion
C. Copyright Information
C.1. Copyright
C.2. Licensing

Powered by jQuery Powered by Zend Framework Powered by Nginx Http Server