Added by Aleksey V. Zapparov, last edited by Aleksey V. Zapparov on May 24, 2008  (view change)

Labels

 

Zend Framework: Zend_Controller_Action Component Proposal

Proposed Component Name Zend_Controller_Action
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Controller_Action
Proposers Aleksey V. Zapparov
Revision 1.1 - 9 January 2008: Initial propose (wiki revision: 12)

Table of Contents

1. Overview

The aim of this proposal is to give a simple way to load models according to Zend Framework code style standards.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

4. Dependencies on Other Framework Components

  • Zend_Loader

5. Theory of Operation

The component is instantiated with a mind-link that it will make work parts of MVC pattern alltogether with unified style.

6. Milestones / Tasks

7. Class Index

  • Zend_Controller_Action

8. Use Cases

UC-01 (The simplest)

9. Class Skeletons

This proposal can be used together with helper Zend_Controller_Action_Helper_ModelLoader by analogy with Zend_Controller_Action::initView() and Zend_Controller_Action_Helper_ViewRenderer.

Also, for future purposes, maybe there should be Zend_Controller_Model abstract class,

so $this->initModel() could check whenever loaded class is instance of Zend_Controller_Model.

Seems like this has to be in issue tracker not here. Sorry.