2008APR091608
Hello World
I've been experimenting with Google App Engine & created a simple HelloWorld app.
So here's how it works. You have to download the sdk, set it up & follow the helloworld app. This example is a bit more realistic. Here's the code tree for example:
drwxr-xr-x 4 fb fb 4096 2008-04-09 16:29 .
drwxr-xr-x 9 fb fb 4096 2008-04-09 13:58 ..
-rw-r--r-- 1 fb fb 154 2008-04-09 15:31 app.yaml
-rw-r--r-- 1 fb fb 548 2008-04-09 15:32 hw.html
-rw-r--r-- 1 fb fb 842 2008-04-09 15:30 hw.py
drwxr-xr-x 2 fb fb 4096 2008-04-09 15:23 img
drwxr-xr-x 2 fb fb 4096 2008-04-09 15:30 s
So we have the main python app file "hw.py", the template "hw.html", the style sheet is located in "s/style.css" and the image is located in "img/neek_48t_wb.png". The code above contains the details how.
I've tried the code supplied by Brett Taylor [0] but the sample is incomplete & barfs. So I will get the rest of this app working using the other google app engine user service, forms,
data store and uploading at some later time.
Reference
[0] Brett Taylor, "Brett Taylors Blog - Experimenting with Google App Engine"
bret.appspot.com/entry/experimenting-google-app-engine
2008APR091608
Hello World
I've been experimenting with Google App Engine & created a simple HelloWorld app.
So here's how it works. You have to download the sdk, set it up & follow the helloworld app. This example is a bit more realistic. Here's the code tree for example:
drwxr-xr-x 4 fb fb 4096 2008-04-09 16:29 .
drwxr-xr-x 9 fb fb 4096 2008-04-09 13:58 ..
-rw-r--r-- 1 fb fb 154 2008-04-09 15:31 app.yaml
-rw-r--r-- 1 fb fb 548 2008-04-09 15:32 hw.html
-rw-r--r-- 1 fb fb 842 2008-04-09 15:30 hw.py
drwxr-xr-x 2 fb fb 4096 2008-04-09 15:23 img
drwxr-xr-x 2 fb fb 4096 2008-04-09 15:30 s
So we have the main python app file "hw.py", the template "hw.html", the style sheet is located in "s/style.css" and the image is located in "img/neek_48t_wb.png". The code above contains the details how.
I've tried the code supplied by Brett Taylor [0] but the sample is incomplete & barfs. So I will get the rest of this app working using the other google app engine user service, forms,
data store and uploading at some later time.
Reference
[0] Brett Taylor, "Brett Taylors Blog - Experimenting with Google App Engine"
bret.appspot.com/entry/experimenting-google-app-engine