Structuring large process.

46 views
Skip to first unread message

Sebastian Coronado A.

unread,
Nov 4, 2012, 7:31:34 PM11/4/12
to google-we...@googlegroups.com
Hello I am using GWT with mvp pattern everything works fine, nevertheless I have a process that require filling other modules first. For example if I want to buy something First I need to select the product, then add modification to the product and then provide a payment method. I was doing this following the mvp pattern so I have a module for each one. I want that when the user finishes the first step, the app will open the second step automatically. How can I do that? the mvp pattern is not good when a process requires 8 smaller steps.
 Regards

Joseph Lust

unread,
Nov 7, 2012, 12:12:49 PM11/7/12
to google-we...@googlegroups.com
I've just started with GWTP last week, and find it to work quite well. Have you considered using a nested presenter setup where a presenter is orchestrating your 8 step process? The trouble here is persisting where the user is. Since they might start on browser A, and finish on browser B, you would likely need to persist this serverside somewhere and have your nested presenter fetch the user's state and place them at the proper step in the 8 step process. You could also use said parent presenter to restrict the user from moving ahead of or behind the current selected step.

Hope that helps.


Sincerely,
Joseph
Reply all
Reply to author
Forward
0 new messages