<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
Zend_Controller_Action_Helper_ContentNegotiation is an action helper for facilitating content negotiation, which is useful for developing RESTful web services and web applications in general when requested resources may have multiple potential representations.Zend Framework: Zend_Controller_Action_Helper_ContentNegotiation - Matthew Turland Component Proposal
Proposed Component Name
Zend_Controller_Action_Helper_ContentNegotiation - Matthew Turland
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_Controller_Action_Helper_ContentNegotiation - Matthew Turland
Proposers
Matthew Turland
Zend Liaison
TBD
Revision
1.0 - 17 September 2008: Initial Draft. (wiki revision: 3)
Table of Contents
1. Overview
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
4. Dependencies on Other Framework Components
- Zend_Controller_Action_Helper_Abstract
- Zend_Controller_Action_Helper_ContextSwitch (optional)
- Zend_Locale (optional)
- Zend_View
5. Theory of Operation
User accesses the action helper normally through the helper broker within the action controller preDispatch hook method and explicitly provides any custom configuration settings. These include content types, languages, character sets, and content encoding. In the absence of custom configuration, optional integration with other components with other components is used to infer values. The action helper will then apply all necessary modifications to the response headers and view.
6. Milestones / Tasks
- Milestone 1: Design notes will be published here.
- Milestone 2: Working prototype checked into the incubator supporting use cases.
- Milestone 3: Unit tests exist, work, and are checked into SVN.
- Milestone 4: Initial documentation exists.
7. Class Index
- Zend_Controller_Action_Helper_ContentNegotiation
8. Use Cases
| UC-01 |
|---|
... (see good use cases book)
2 Comments
comments.show.hideDec 22, 2008
Matthew Weier O'Phinney
<p>Quick question: how does this differ from ContextSwitch? or would it build on it?</p>
Feb 05, 2011
Dolf Schimmel (Freeaqingme)
<p>Archiving this proposal, feel free to recover it when you want to work on it again. For more details see <a href="http://framework.zend.com/wiki/display/ZFDEV/Archiving+of+abandoned+proposals+(Feb+5+2011)">this email</a>.</p>