Your SlideShare is downloading. ×
0
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Google App Engine for Java (手嶋屋勉強会)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Google App Engine for Java (手嶋屋勉強会)

2,895

Published on

バレンタインまでに最速で彼女をつくる方法

バレンタインまでに最速で彼女をつくる方法

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

No Downloads
Views
Total Views
2,895
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
34
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  1. Google App Engine for Java
  2. • Clojure
  3. • Clojure • Clojure JavaVM Lisp
  4. • Clojure • Clojure JavaVM Lisp •
  5. • Clojure • Clojure JavaVM Lisp • • AppEngine
  6. • Clojure • Clojure JavaVM Lisp • • AppEngine •
  7. • Google App Engine
  8. • Google App Engine • Google App Engine
  9. • Google App Engine • Google App Engine • Google Web Application Platform
  10. • Google App Engine • Google App Engine • Google Web Application Platform • GAE
  11. • Google App Engine • Google App Engine • Google Web Application Platform • GAE •
  12. Google App Engine
  13. Google App Engine • Web
  14. Google App Engine • Web • (500 PV/ 500MB )
  15. Google App Engine • Web • (500 PV/ 500MB ) • Python Java
  16. Google App Engine • Web • (500 PV/ 500MB ) • Python Java • JVM JRuby, Clojure, Scala, Groovy, Rhino, Quercus...
  17. Google App Engine • Web • (500 PV/ 500MB ) • Python Java • JVM JRuby, Clojure, Scala, Groovy, Rhino, Quercus... • http://en.wikipedia.org/wiki/List_of_JVM_languages
  18. • •
  19. • • •
  20. ...
  21. ... •
  22. ... • • ...
  23. ... • • ... • ...
  24. ... • • ... • ... • ...
  25. ... • • ... • ... • ... •
  26. ... • • ... • ... • ... •
  27. • •
  28. • • •
  29. • • • •
  30. • • • • •
  31. • • • • • •
  32. @kunitada_bot
  33. @kunitada_bot • :
  34. @kunitada_bot • : • : (kunitadize)
  35. @kunitada_bot • : • : (kunitadize) • :
  36. @kunitada_bot • : • : (kunitadize) • : • :
  37. • JRuby
  38. • JRuby • RubyGems (v1.3.5)
  39. • JRuby • RubyGems (v1.3.5) • sudo gem install google-appengine
  40. • JRuby • RubyGems (v1.3.5) • sudo gem install google-appengine • mkdir kunitada-bot
  41. • JRuby • RubyGems (v1.3.5) • sudo gem install google-appengine • mkdir kunitada-bot • cd kunitada-bot
  42. • vi Gemfile
  43. • vi Gemfile • vi config.ru
  44. • vi Gemfile • vi config.ru • vi main.rb
  45. • vi Gemfile • vi config.ru • vi main.rb • appcfg.rb bundle .
  46. • vi Gemfile • vi config.ru • vi main.rb • appcfg.rb bundle . • JRuby Sinatra Gem DL
  47. • GAE/J
  48. • GAE/J • URL
  49. • GAE/J • URL • Sinatra
  50. (main.rb) • GAE/J require 'rubygems' require 'sinatra' get '/' do • URL 'Hello World!!' end get ‘/kunitadize’ do • Sinatra # end
  51. Twitter API TL
  52. Twitter API TL • GAE/J Web
  53. Twitter API TL • GAE/J Web • URL Fetch API
  54. Twitter API TL • GAE/J Web • URL Fetch API • res = AppEngine::URLFetch.fetch(url, params)
  55. Twitter API TL • GAE/J Web • URL Fetch API • res = AppEngine::URLFetch.fetch(url, params) • tweets = JSON.parse(res)
  56. Twitter API TL • GAE/J Web • URL Fetch API • res = AppEngine::URLFetch.fetch(url, params) • tweets = JSON.parse(res) • tweets.shuffle.shift
  57. kunitadize
  58. kunitadize •
  59. kunitadize • • Yahoo!
  60. kunitadize • • Yahoo! • bot
  61. kunitadize • • Yahoo! • bot • bot (@sugyan++)
  62. Twitter
  63. Twitter • URL Fetch API Twitter Update API
  64. Twitter • URL Fetch API Twitter Update API •
  65. Twitter • URL Fetch API Twitter Update API • •$ dev_appserver.rb .
  66. Twitter • URL Fetch API Twitter Update API • •$ dev_appserver.rb . • http://localhost:8080/kunitadize
  67. kunitadize
  68. kunitadize • kunitadize
  69. kunitadize • kunitadize • GAE Cron
  70. kunitadize • kunitadize • GAE Cron • WEB-INF/cron.xml
  71. kunitadize • kunitadize (WEB-INF/cron.xml) <?xml version="1.0" encoding="UTF-8"?> <cronentries> <cron> <url>/kunitadize</url> • GAE <description>kunitadize a random tweet</description> Cron <schedule>every 30 minutes</ schedule> </cron> </cronentries> • WEB-INF/cron.xml
  72. • GAE
  73. • GAE •
  74. • GAE • •$ appcfg.rb update .
  75. • GAE • •$ appcfg.rb update . • E-mail
  76. • GAE • •$ appcfg.rb update . • E-mail • https://appengine.google.com/
  77. AppEngine API
  78. AppEngine API
  79. AppEngine API • Datastore
  80. AppEngine API • Datastore • Memcache
  81. AppEngine API • Datastore • Memcache • URL Fetch
  82. AppEngine API • Datastore • Memcache • URL Fetch • Mail ( )
  83. AppEngine API • Datastore • Memcache • URL Fetch • Mail ( ) • XMPP
  84. AppEngine API • Datastore • Image • Memcache • URL Fetch • Mail ( ) • XMPP
  85. AppEngine API • Datastore • Image • Memcache • Google Account • URL Fetch • Mail ( ) • XMPP
  86. AppEngine API • Datastore • Image • Memcache • Google Account • URL Fetch • Task Queue • Mail ( ) • XMPP
  87. AppEngine API • Datastore • Image • Memcache • Google Account • URL Fetch • Task Queue • Mail ( ) • Cron • XMPP
  88. AppEngine
  89. AppEngine
  90. AppEngine •
  91. AppEngine • •
  92. AppEngine • • • ffmpeg Flash Compiler
  93. AppEngine • • • ffmpeg Flash Compiler • Datastore
  94. AppEngine • • • ffmpeg Flash Compiler • Datastore • frontend backend
  95. AppEngine
  96. AppEngine • 30 kill
  97. AppEngine • 30 kill • JRuby on Rails + ActiveRecord
  98. AppEngine • 30 kill • JRuby on Rails + ActiveRecord • Sinatra + DataMapper
  99. AppEngine
  100. AppEngine •
  101. AppEngine • •
  102. AppEngine • • • cron URL
  103. AppEngine • • • cron URL • RDBMS ( Datastore)
  104. Datastore
  105. Datastore
  106. Datastore • DB
  107. Datastore • DB • Table Column
  108. Datastore • DB • Table Column • Entity kind property
  109. Datastore • DB • Table Column • Entity kind property • kind
  110. Datastore • DB • Table Column • Entity kind property • kind • property
  111. Datastore
  112. Datastore •
  113. Datastore • • kind property
  114. Datastore • • kind property •1 property
  115. Datastore • • kind property •1 property • “
  116. Datastore
  117. Datastore • Datastore Key-Value-Store
  118. Datastore • Datastore Key-Value-Store • Entity Key
  119. Datastore • Datastore Key-Value-Store • Entity Key • Key
  120. Datastore • Datastore Key-Value-Store • Entity Key • Key • Entity
  121. Datastore • Datastore Key-Value-Store • Entity Key • Key • Entity •
  122. Datastore
  123. Datastore • Java Datastore API GQL
  124. Datastore • Java Datastore API GQL •
  125. Datastore • Java Datastore API GQL • • DataMapper &
  126. Datastore • Java Datastore API GQL • • DataMapper & •
  127. • http://tech.kayac.com/archive/gae-jruby-twitter-bot.html • http://code.google.com/p/appengine-jruby/ • http://d.hatena.ne.jp/shibason/20091018/1255866012 • : Programming Google App Engine

×