O'Reilly logo

Using Google App Engine by Charles Severance

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Looking Through the Datastore

Once you get the apply.htm screen working and you think that you have added a user to the Datastore, you can verify this by looking directly at the Datastore through the Google App Engine Development Console.

The Development Console allows you to manipulate the Datastore without writing an application. This feature is quite useful while you are developing your programs, as it allows you to make sure that things are working properly.

To navigate to the Development Console, use the following URL: http://localhost:8080/_ah/admin/. If you are using your application hosted on Google’s appspot.com servers, only the designated administrators for the application can navigate to this page. When you are running as a developer on your local computer, there are no security checks to view the Development Console, as shown in Figure 8-4.

The Google App Engine Development Console

Figure 8-4. The Google App Engine Development Console

You can create, read, update, or delete instances of models in the Datastore using this interface. When you make changes in the Datastore using this interface, it is the same as if your program made the changes.

Logging In and Checking Accounts and Passwords

Now that we can insert our new User objects into the Datastore, we should retrieve them when the user tries to log in, to check whether the data on the login form matches the User data in the Datastore.

Make the following changes to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required