Hello,
I am trying to figure out the best way to achieve a step-by-step wizard for the creation of a website. I would like for someone that does not know anything about creating websites to be able to go through this wizard and create a website, then at the end the HTML is put together and saved into a database table and then uploaded to an FTP server to put the site live (if possible).
I am not sure how I should go about implementing it, such as the passing around of the information used during the wizard and passing around the selections made so that a script can use them. I thought about storing all information in an array in a class and then passing around a single object of that class in a $_SESSION
variable. I have tested this and it works, but I am not sure if it is a good way to do it.
I also thought of maybe making an array and constantly putting it into a database table and then pulling the array on the other pages. I was thinking this would be slow and an unnecessary amount of queries to the database though.
So I am generally just looking to get some ideas and hopefully find a good way to go about this.
Thank you,
Key