J. Daniel Schmidt napsal(a):
> On Monday 21 September 2009 17:17:27 J. Daniel Schmidt wrote:
>>> Is there a state diagram available showing how requests and answers
>>> relate ?
>> I'll create one.
> 
> Here are two diagrams showing how the registration is supposed to work:
>   http://en.opensuse.org/YaST/Web/Development/Registration
> 
> 
> Ciao,
>    Daniel
> 

Hi,
Does information needed for registration need more steps or is
sufficient to ask backend for needed arguments and then show it? If this
is second case then you can send get to backend which return what
parameters they need and then show this parameters and doesn't return
(dynamic create content one time is possible, but longer session between
 user, frontend and backend is quite hard to do with stateless REST API).

So I think that workflow for registration should be

ask backend what information is needed -> generate form based on
required arguments (rails have some support for this task) -> register
if some error occure, then use error report and go from beginning (or
let values in form it is not important).

Josef
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to