echo-o & Google App Engine dev - BarCamp Saigon 1

Post on 14-May-2015

1.211 views 0 download

Tags:

description

For BarCamp Saigon 1, Multinc describes their experiences developing http://echo-o.com on top of the Google App Engine platform

Transcript of echo-o & Google App Engine dev - BarCamp Saigon 1

by Tien Loi Nguyen @ Multincwith guidance from Huy Zing

BarCamp Saigon 1November 15, 2008

echo-oThe features of echo-o Application:

Index pageSpeaker pageAudience pageModerator page

echo-oIndex page:

echo-oGraph in speaker page:

echo-oAudience page:

echo-oModerator page:

Google app engineGoogle App Engine lets you run your web

applications on Google's infrastructure easy to starteasy to scale

Prepare for developing app engine applicationspython 2.5 (http://www.python.org/download/)

google app engine SDK (http://code.google.com/appengine/downloads.html)

Hello WorldCreate a configuration file called

“app.yaml”

Hello WorldCreate a script file called “helloworld.py”

Hello WorldRun the application at localhost:

Upload your application to google app engine:

Some noticesCannot join the tables(models)Cannot get more than 1000 results from a

databaseInequality filters are allowed on one

property onlyProperties in inequality filters must be

sorted before other sort ordersGQL does not have an OR operator, but it

has an IN operator

Problems we ran intoServer error

Problems we ran intoLimited CPU quota

Problems we ran intoProblem: How to detect how many

audiences are still aliveSolution: Polling request every few

seconds

http://multinc.com/ http://code.google.com/appengine/