I’m creating a multi-step process (4 steps to be exact) that is initiated from a link on the home page. For example I am clicking a link that says “Create a Job Post” and that takes me to step 1 of creating that post. The way I’m handling it with FlowRouter is creating 4 separate routes like this “/job/create/step-1”, “job/create/step2”, etc.
Then I create 4 templates one for each step of the process and then I linked them together using “Back” and “Continue” buttons to move forward or backwards in the steps process in case the user needs to edit and all that good stuff.
The way i’m approaching it works, and i’m not aware of any pitfalls of doing it this way if any; but it does seem like there’s a cleaner more logical way to do this.
I was wondering if anyone had any patterns to offer, or advice on how something like this could be handled in meteor. I suppose you could compare it to how some blogs have a “Next” and “Previous” button to grab the previous post record and to grab the next post record without knowing what those posts are. I like the dynamic way of doing this, but I also should reason with myself that in this particular use case I only have 4 steps and all the pages are known and won’t change.
I hope this makes sense. Thanks to anyone that takes the time. I’m looking more for ideas and existing patterns than anything else, but if you have some code to share in making your point that’s cool too.