Hello!

In REST server applications one important and comfortable thing is missing
-- view scripts. I'm developing a RESTful application and have now a
problem, because the controller gets raw data (as nested object or nested
array) from the model and this data needs to be prepared for the output, but
the view layer is missing.

Where should the data be prepared for the output (e.g. adding links to the
data, merging firstname and lastname to name, making one shallow address
element from street, house, city ZIP code, and country etc.)? Is there a
recommended approach of implementing the view layer in the context of a REST
server application?

Thanks



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/How-to-imlement-a-view-layer-in-a-RESTful-ZF2-application-tp4661042.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to