Multiple forms and persistence in Google App Engine?

"YOU AND THE ART OF ONLINE DATING" is the only product on the market that will take you step-by-step through the process of online dating, provide you with the resources to help ensure success. Get it now!

The natural place to persist data between forms is in the user's session every fields in your multi-form wizard would be stored in session until the last form where, after the confirmation, the data should be finally persisted in the DataStore.

Up vote 3 down vote favorite share g+ share fb share tw.

I'm gathering input data via a Django like validated form and then upon validating loading new form from and then validating and then I wish to send to the data store. I'd like to perform temporary storage on the first form, in case the user does not enter the full details on form two I don't see much point of adding to the datastore. So how should I persist the data between forms?

Each form has its own handler and post section. What is the best way to do this? Python google-app-engine google webforms application link|improve this question asked Apr 24 '11 at 18:14Dave286 60% accept rate.

The natural place to persist data between forms is in the user's session; every fields in your multi-form wizard would be stored in session until the last form where, after the confirmation, the data should be finally persisted in the DataStore. Since Google App Engine does not provide session in the python environment, I would suggest you to install a neat library for this purpose: gae-sessions. Gae-sessions is not magic but it uses cookies+memcache+datastore for session management; so, if you don't like to install a third-party library, you have the ingredients to cook your own session library.

I could describe the options, but this blogpost by Nick Johnson describes it perfectly: Storage options on App Engine.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions