View Full Version : Application/File structure for a multi step wizard?

4 Mar 2011, 12:01 PM
I'm making a multi step wizard application.

Step 1: form
Step 2: results
Step 3: etc.

I'm having trouble figuring out how to link the steps together. What is the best practice for this situation?
1. One huge js file and index.html
2. Multiple js files and index.html
3. Multiple html files, each with their own js file

How would I go about connecting them together (which functions should I be looking at on form submission with a button)?


5 Mar 2011, 2:20 PM
Sencha Touch comes with an MVC framework that you should be using to develop your apps. Look at the examples folder. You should not be doing one huge JS file and one huge HTML file. Such bad practices will only lead to brittle and unmanageable code.