what Gae is.
GAE (Google App Engine) allows us to use Google's machines to build our website, and the basic process of development is similar to that of ordinary Web sites. For our benefit is of course free of charge (of course, the use of CPU storage resources are limited), it is our only want to make a small web site and the shy students of the Gospel (any PHP virtual space will be hundreds of yuan, Java EE more expensive).
Next, learn about GAE based development by developing a simple personal blog on Gae.
what it takes to develop Gae.
1. You want Java or Python, and currently gae only supports both languages. In the next stupid, really play not to Python, the next involved in the development of the language is Java.
2. With Java, which is highly recommended for Eclipse, Gae offers a lot of things to save (for Vi,emacs Daniel or other IDE enthusiasts, some configuration details need to look at the Google Code document).
3. A Google account, in the http://code.google.com/appengine/after landing point "Create New application", according to the instructions to build a application, here need to pay attention to is Application Identifier. It needs to be used in the back development.
To sum up, the following development process requires the Jdk,eclipse,gae plugin (plugin address on this page, http://code.google.com/appengine/docs/java/gettingstarted/installing.html).
a simple project.
After we have installed the Gae plugin, we can build a Hello World project to play.
We can see three more buttons on the Eclipse toolbar.
Click on the first button to create a Gae project.
Since we don't need GWT, don't choose to use Google Web Toolkit.
Here is the directory structure after the construction
The war directory is the structure of our familiar Java Web site.
Next, run the project.
You can see the effect in the browser input http://localhost:8888/.
Of course, we're not just running locally, we're going to be able to upload it to Gae.
We need a little change to upload.
Open the War/web-inf/appengine-web.xml file and add your application Identifier in the middle of the <application></application> . For example, if it is zblog, change it to <application>zblog</application>.
Save the deployment button on the Point toolbar
Enter your username and password for your Google account.
After uploading, open http://zblog.appspot.com/(will zblog replace your own application Identifier, this site is not mine, was robbed t_t), you can see your site.