|
|
Blog on separating flow from service layer
Just wrote a quick article on my thoughts this afternoon as I struggle to separate the flow from the services layer in an app I'm working on:
* blog/garyswe...ting_flow.html
You forgot flowScope, the most common web flow scope :-)
Keith
Thanks!! I'd forget my head if it wasn't attached. I'll update the post right away.
Am I way off base with what I'm saying about the IFSM pattern (see other post about IFSM linked to from the mentioned post) and the thoughts on trying to write code/design such that the flow portion of the code can be easily replaced?
I updated the blog post. I probably went off on a tangent too much about scopes, but it seemed important to the understanding of flow isolation that different implementations could handle scope differently. In other words, be careful if you ever want to swap out a plain Spring MVC flow layer (just Controller classes calling Services) with a (whatever) + Spring Web Flow 2 flow layer that different scope concepts aren't really standard like they were with plain old from session and from request scopes. I assume other flow implementations could have their own flow scope definitions as well too. |
|