by Tien Loi Nguyen @ Multinc with guidance from Huy Zing BarCamp Saigon 1 November 15, 2008
echo-o <ul><li>The features of echo-o Application: </li></ul><ul><ul><li>Index page </li></ul></ul><ul><ul><li>Speaker pag...
echo-o <ul><li>Index page: </li></ul>
echo-o <ul><li>Graph in speaker page: </li></ul>
echo-o <ul><li>Audience page: </li></ul>
echo-o <ul><li>Moderator page: </li></ul>
Google app engine <ul><li>Google App Engine lets you run your web applications on Google's infrastructure   </li></ul><ul>...
Prepare for developing app engine applications <ul><li>python 2.5   ( http://www.python.org/download/ ) </li></ul><ul><li>...
Hello World <ul><li>Create a configuration file called “app.yaml” </li></ul>
Hello World <ul><li>Create a script file called “helloworld.py” </li></ul>
Hello World <ul><li>Run the application at localhost: </li></ul><ul><li>Upload your application to google app engine: </li...
Some notices <ul><li>Cannot join the tables(models) </li></ul><ul><li>Cannot get more than 1000 results from a database </...
Problems we ran into <ul><li>Server error </li></ul>
Problems we ran into <ul><li>Limited   CPU   quota </li></ul>
Problems we ran into <ul><li>Problem: How to detect how many audiences are still alive </li></ul><ul><li>Solution: Polling...
http://multinc.com/  http://code.google.com/appengine/
Upcoming SlideShare
Loading in …5
×

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

1,386 views
1,299 views

Published on

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

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,386
On SlideShare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
63
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

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

  1. 1. by Tien Loi Nguyen @ Multinc with guidance from Huy Zing BarCamp Saigon 1 November 15, 2008
  2. 2. echo-o <ul><li>The features of echo-o Application: </li></ul><ul><ul><li>Index page </li></ul></ul><ul><ul><li>Speaker page </li></ul></ul><ul><ul><li>Audience page </li></ul></ul><ul><ul><li>Moderator page </li></ul></ul>
  3. 3. echo-o <ul><li>Index page: </li></ul>
  4. 4. echo-o <ul><li>Graph in speaker page: </li></ul>
  5. 5. echo-o <ul><li>Audience page: </li></ul>
  6. 6. echo-o <ul><li>Moderator page: </li></ul>
  7. 7. Google app engine <ul><li>Google App Engine lets you run your web applications on Google's infrastructure </li></ul><ul><li>easy to start </li></ul><ul><li>easy to scale </li></ul>
  8. 8. Prepare for developing app engine applications <ul><li>python 2.5 ( http://www.python.org/download/ ) </li></ul><ul><li>google app engine SDK ( http://code.google.com/appengine/downloads.html ) </li></ul>
  9. 9. Hello World <ul><li>Create a configuration file called “app.yaml” </li></ul>
  10. 10. Hello World <ul><li>Create a script file called “helloworld.py” </li></ul>
  11. 11. Hello World <ul><li>Run the application at localhost: </li></ul><ul><li>Upload your application to google app engine: </li></ul>
  12. 12. Some notices <ul><li>Cannot join the tables(models) </li></ul><ul><li>Cannot get more than 1000 results from a database </li></ul><ul><li>Inequality filters are allowed on one property only </li></ul><ul><li>Properties in inequality filters must be sorted before other sort orders </li></ul><ul><li>GQL does not have an OR operator, but it has an IN operator </li></ul>
  13. 13. Problems we ran into <ul><li>Server error </li></ul>
  14. 14. Problems we ran into <ul><li>Limited CPU quota </li></ul>
  15. 15. Problems we ran into <ul><li>Problem: How to detect how many audiences are still alive </li></ul><ul><li>Solution: Polling request every few seconds </li></ul>
  16. 16. http://multinc.com/ http://code.google.com/appengine/

×