Re:Does My Rails App Need a Service Layer?
by zalambar on Tuesday January 10, 2012 @06:42PM
(#3449682)
Jared suggests using services to translate into different protocols. I see a further use for services to translate models into different representations on the same protocol in order to support a versions API. Let a service handle mapping outdated API payloads to the latest version of the domain model.
[ Parent
| on HN ]
There are no comments on this comment yet.