Online Zend Training For Beginners
Online Zend Training For Beginners
What is ZFApp?
Designed to bridge the gap between the framework and using the
framework as an application platform for a new application
Motivations
$ ./createapp ZFBlog
Auto Templating
Recommended Architecture
Getting Started
2) Execute appgen.php
Getting Started
ZFApp Layout
Provided Templates
views/_main/error.tpl
View Binding
Sometimes it makes sense to have two actions use the same view
Within a Controller
i.e. BlogController::postAction() and BlogController::editAction()
use the same form
Handled by adding an entry to
$this->_viewMap
Error Handling
Error Handling
_main/error.tpl
Future Plans
{$string|textify}
Application Controller
Thank you