SWF benefits for RSF developers#
Spring Web Flow (SWF) is a natural fit for RSF, since both are web technologies based on the solid base of Spring's IoC idiom and libraries. Both frameworks have "universal portability" as a goal, and the intersection of the two leads to a still greater universal portability. Here are some of the benefits that RSF developers could expect from the SWF environment:
Centralised view logic#
In the typical RSF application, navigation declarations are scattered widely over the source base, next to the producer definitions which manufacture the component trees for rendering views. Thus, view logic and navigation logic are intermixed. SWF provides a portable, self-contained format for separating all the navigation logic and application logic in a flow definition
Isolated scopes#
Maintaining data across multiple views can be work intensive and complicated. SWF flow scopes isolate data and protect it from being accessed or modified from outside the scope. This provides developers with assurance that the data at the end of the scope has only been subjected to the logic within the flow. In addition, whereas RSF submissions and state typically inhabit a global, shared context of "potential" request-scope definitions, SWF definitions are self-contained and guaranteed non-interfering.Safe modification#
"Multi-request" sequences on the web (or "wizards") can provide challenging scenarios for developers when maintaining consistent state. Defining the meaning of the back button (especially when it means undoing the last user action) can be complex and hard to manage. An SWF flow scope, especially when using continuation
Universal portability#
SWF flow definitions are independent of their hosting environment, and in addition to RSF portability, are independent of a particular mapping onto a sequence of web requests. An application formulated SWF flow definition can be ported "in essence" to a number of differing view technologies (the SpringMVC family, based on JSPs, Velocity, XSLs, or even IKAT, as well as Struts and JSF), and in theory to other programming languages (such as those supported by Spring.NET and others).Powerful design tools and community#
The force of the Spring Web Flow community is bringing into existence powerful design tools, such as the Spring IDE Flow Visualizer
If you are an existing SWF user interested in the benefits of RSF, check out the RSF for SWF page.
Add new attachment
Only authorized users are allowed to upload new attachments.
«
This page (revision-) was last changed on 11-Aug-2007 15:49 by UnknownAuthor