zendframework/zf2 — pull request #1309 by weierophinney (2012-05-21 03:21:12+00:00)
Title: Feature/mvc service view strategies

Created service manager factories for each of:

- JsonRenderer
- JsonStrategy
- FeedRenderer
- FeedStrategy

Configuration of the SM is simple, as the strategy factories each register the strategy with the View's events system:
```
'factories' => array(
'ViewJsonRenderer' => 'Zend\Mvc\Service\ViewJsonRendererFactory',
'ViewJsonStrategy' => 'Zend\Mvc\Service\ViewJsonStrategyFactory,
'ViewFeedRenderer' => 'Zend\Mvc\Service\ViewFeedRendererFactory',
'ViewFeedStrategy' => 'Zend\Mvc\Service\ViewFeedStrategyFactory,
),
```
This should serve as an easy blueprint for creating and enabling other renderers and strategies.