Webflow Style Conventions

Marvin Addison marvin.addison at gmail.com
Fri Mar 29 10:59:33 EDT 2013


Scott's work on Webflow and the action item on today's dev call re
Webflow prompted me to encourage adopting some style conventions for
flow XML files. I see there's a mix of style in action naming (Action
suffix vs. without) and flow state/transition naming (variable-style
vs. class-style). I'm ambivalent on the first issue, but you're likely
going against the flow to do anything other than variable-style
lowercase naming. It's Spring convention and some of the helper base
classes assume that style ("proceed," "success," "error").

I really like the Events/Event metadata annotations on many of the
existing actions. I can see that would really benefit documentation.
Unfortunately the naming collision between
org.springframework.webflow.execution.Event and
net.shibboleth.ext.spring.webflow.Event is pretty ugly. I wonder if
you might consider EventTypes/EventType or another suitable name.

Best,
M


More information about the dev mailing list