Search code examples
pythongoogle-app-engineformssubmitdatastore

How do you submit a form to an app engine python application without refreshing the sending page?


As a newbie to app engine and python I can follow the examples given by Google and have created a python application with a template HTML page where I can enter data, submit it to the datastore and by reading back the data, just sent, recreate the sending page so I can continue adding data and store again. However what I would like to do is submit the data, have it stored in the datastore without the sending page being refreshed. It seems like a waste of traffic to have all the data sent back again.


Solution

  • AJAX. If you want a specific resource concerning AppEngine -

    http://code.google.com/appengine/articles/rpc.html (uses Python) is very good.

    Here is a good link to understand Communication with Server on Google App Engine