Google App Engine User Login/Logout With Python

| February 6, 2012

Google App Engine LogoThe Google App Engine platform allows Developers to take advantage of the Google Infrastructure to host their applications. The 2 languages that are currently supported by Google Appengine are: Python and Java. In Wikipedia’s terms: “Google App Engine (often referred to as GAE or simply App Engine, is a platform as a service (PaaS) cloud computing platform for developing and hosting web applications in Google-managed data centers.”

A good friend of mine was given the task of implementing a simple membership login/logout system on Google Appengine and he needed my help since I am a bit more experienced in web programming than he was. The first thing we did is searching the web for a similar script so we wouldn’t have to reinvent the wheel. Unfortunately, we found none suitable for our purpose.

The Google App Engine website provides very good tutorials and sample codes on how to handle users management, but all the examples use the Google Accounts API, which we did not want to use. We wanted to maintain our own users table in the Google App Engine Datastore and validate users login against the data in that table.

With very little previous experiences with Python, and in a couple of hours we were able to put up the following project: http://membershipsystem2012.appspot.com/. The files are available for download on Google Docs.

I am posting this hoping that it will save someone an hour or two when creating a similar system or when learning about Python on Google App Engine. The code is not documented but I can document it upon request.

Tags: , , , , ,

Category: General, Web & Programming

About the Author ()

Lionnel Yamentou Ndzogoue is a young African dreamer, with the vision of creating 10,000 or more jobs in Africa by 2035 in contribution to wealth creation on the continent. This blog is a platform for expressing his thoughts on the world, technology, personal development and other subjects as they come to mind. Some content is republished from other online sources.

Comments are closed.

%d bloggers like this: