Zend Framework: Zend_View_Wrapper_Smarty Component Proposal
| Proposed Component Name | Zend_View_Wrapper_Smarty |
|---|---|
| Developer Notes | http://framework.zend.com/wiki/display/ZFDEV/Zend_View_Wrapper_Smarty |
| Proposers | Satoru Yoshida |
| Revision | 0.1 - 22 Nov 2007: Create Proposal. 15 May 2008: Remove section number from "Using Alternate Template Systems" (wiki revision: 6) |
Table of Contents
1. Overview
Zend_View_Wrapper_Smarty is a wrapper up Smarty.
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
- This component will provide methods and properties to controll variables, and caching.
- This component will not provide methods nor properties for ViewRenderer.
- This component will be one of wrappers. So I do not name this component Zend_View_Smarty, but Zend_View_Wrapper_Smarty.
4. Dependencies on Other Framework Components
- Zend_Exception
- Zend_View_Interface
5. Theory of Operation
- At First, You are ready to use this component with instantiation.
- As necessary, You use some methods, for example, setBasePath(), or setCacheType().
- At second, You can assign variables by assign() or assingByRef().
- At last, You get output by render() or output().
6. Milestones / Tasks
- Milestone 1: Class development and write proposal
- Milestone 2: Unit tests and debugging
- Milestone 3: Documentation
7. Class Index
- Zend_View_Wrapper_Exception
- Zend_View_Wrapper_Smarty
8. Use Cases
| UC-01 |
|---|
| UC-02 |
|---|
9. Class Skeletons
Nice.. how will helpers be added?
Or will those be wrapped to so you can register_block's, register_modifiers, register_function based on the Helper?
ZF Home Page
Code Browser
Wiki Dashboard
Satoru, is this proposal ready for community review?
,Wil