<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>matsuyuta&#039;s Room &#187; GAE DAYS</title>
	<atom:link href="http://matsuyuta.com/wp/topics/google/gae-days/feed" rel="self" type="application/rss+xml" />
	<link>http://matsuyuta.com/wp</link>
	<description>データの活用を考える</description>
	<lastBuildDate>Sun, 13 May 2012 12:48:09 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://matsuyuta.com/wp/topics/google/gae-days/feed" />
		<item>
		<title>GAEの1000件リミットがなくなる？</title>
		<link>http://matsuyuta.com/wp/archives/1420</link>
		<comments>http://matsuyuta.com/wp/archives/1420#comments</comments>
		<pubDate>Wed, 18 Aug 2010 13:07:39 +0000</pubDate>
		<dc:creator>matsuyuta</dc:creator>
				<category><![CDATA[GAE DAYS]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://matsuyuta.com/wp/?p=1420</guid>
		<description><![CDATA[クエリーと、カウントの 1000件リミットがなくなるの？ それはいい！いくつか考えていたアプリケーションがテストできそうだ。 参考： Google App Engine 1.3.6 GoogleAppEngineBlog：「Multi-tenancy Support, High Performance Image Serving, Increased Datastore Quotas and More Delivered In New App Engine Release」]]></description>
		<wfw:commentRss>http://matsuyuta.com/wp/archives/1420/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://matsuyuta.com/wp/archives/1420" />
	</item>
		<item>
		<title>GoogleMapが徒歩ルート対応</title>
		<link>http://matsuyuta.com/wp/archives/945</link>
		<comments>http://matsuyuta.com/wp/archives/945#comments</comments>
		<pubDate>Fri, 18 Dec 2009 15:03:36 +0000</pubDate>
		<dc:creator>matsuyuta</dc:creator>
				<category><![CDATA[GAE DAYS]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GoogleAppEngene]]></category>
		<category><![CDATA[MAP]]></category>

		<guid isPermaLink="false">http://matsuyuta.com/wp/?p=945</guid>
		<description><![CDATA[GoogleMapが徒歩ルート対応したようだ。 http://googlejapan.blogspot.com/2009/12/google_10.html APIが公開されているようなので、 私が作った万歩計マップも、 これで、改良できるはずである。 ただ、徒歩で長距離のルート検索は向いていないと感じる。 まぁ、もともと最寄り駅からちょっと歩くことを想定しているからであろう。長距離の場合、区間を区切って使うのが賢い使い方なのかもしれない。 というより、携帯端末での利用がベストだね。 Andoroidのサービスで MyTrackというものがでている。 Andoroid端末がSoftbankから出たら、 すぐにでも購入したいと思っているが、 いつになるのやら・・・。]]></description>
		<wfw:commentRss>http://matsuyuta.com/wp/archives/945/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://matsuyuta.com/wp/archives/945" />
	</item>
		<item>
		<title>「Google Maps API」と「GAE/P」の開発</title>
		<link>http://matsuyuta.com/wp/archives/940</link>
		<comments>http://matsuyuta.com/wp/archives/940#comments</comments>
		<pubDate>Sat, 21 Nov 2009 13:27:24 +0000</pubDate>
		<dc:creator>matsuyuta</dc:creator>
				<category><![CDATA[GAE DAYS]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GoogleAppEngene]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://matsuyuta.com/wp/?p=940</guid>
		<description><![CDATA[[ GAE Google App Engine ][ Phthon ][ Google Bigtable ][ Google Maps API ] [ Google AJAX API ] 万歩計MAP作成にあたって、 そのほかに、つまづいたところを、以下にざっと。 ■開発環境でのMapKEYについて Google Maps APIを仕様するにあたって、 MapKEYの申請が必要になる。 当初、「http://manpokeimap.appspot.com/」で、 MapKeyを申請していたが、 http://localhost:8080　でKeyを取得すれば、GAE/Pの開発環境で APIが利用できることが分かった。 アップロードの時には、KEYを変更することを忘れてはならない。 ■ツールについて 「Code Playground」 のサンプルが非常に役に立った。 ソースを書きかえて、動作を確認できるのがうれしい。 ただ、GAEとの連携確認はできないよね。当然。 グーグルのJavaScriptツール集大成「Google Closure Tools」という記事より、 Google Closure Tools というものも最近公開されたようだ。 今後、こういったものも利用すれば、 開発の効率は上がるかもしれない。 このほかに 今回、 Google Maps API デモ ギャラリーも役に立った。 JavaScriptであれば、ブラウザでソースがのぞけるので、 [...]]]></description>
		<wfw:commentRss>http://matsuyuta.com/wp/archives/940/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://matsuyuta.com/wp/archives/940" />
	</item>
		<item>
		<title>DAYS 16　AJAXとGAEの分かれ道</title>
		<link>http://matsuyuta.com/wp/archives/939</link>
		<comments>http://matsuyuta.com/wp/archives/939#comments</comments>
		<pubDate>Thu, 19 Nov 2009 15:12:15 +0000</pubDate>
		<dc:creator>matsuyuta</dc:creator>
				<category><![CDATA[GAE DAYS]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GoogleAppEngene]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://matsuyuta.com/wp/?p=939</guid>
		<description><![CDATA[[ GAE Google App Engine ][ Python ][ Google Bigtable ][ Google Maps API ] [ Google AJAX API ] 万歩計MAPで コースを作成する時ルートを表示するのは、AJAX、 スタート地点と、ゴール地点をBigtableに保存する時は、GAEが動く。 http://code.google.com/apis/ajax/playground/#map_directions_advanced をコピーしただけの状態であれば、 FORMには「onsubmit」が使われていたが、 Javascriptの動作と、Bigtableに保存する動作を分岐させるために 「onclick」を使った。 今回、ここを考えるのを一番苦労した。 最善ではないのかもしれない。 変更点は以下の通り。 を「onclick」を使用して、以下のように変更。 また、 GAEへデータを保存するのに、Javascriptで「goGAEdata()」を作成し動作させた。 一番どうするか時間がかかったが、 あまり納得がいっていない。 もうちょっとなんとかならんもんかと思う。 私がつくったアプリ↓ 協調型意思決定支援システム「○　賛否両論　×（ベータ版）」 http://sanpiryoron.appspot.com/ 協調型プロジェクトタスク管理ツール「キャッチ＆リリース（ベータ版）」 http://ctchandrls.appspot.com/ GoogleデータサービスAuthSub API利用サンプルアプリ 万歩計MAP]]></description>
		<wfw:commentRss>http://matsuyuta.com/wp/archives/939/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://matsuyuta.com/wp/archives/939" />
	</item>
		<item>
		<title>DAYS 15　オーロラソース</title>
		<link>http://matsuyuta.com/wp/archives/938</link>
		<comments>http://matsuyuta.com/wp/archives/938#comments</comments>
		<pubDate>Wed, 18 Nov 2009 15:10:48 +0000</pubDate>
		<dc:creator>matsuyuta</dc:creator>
				<category><![CDATA[GAE DAYS]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GoogleAppEngene]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://matsuyuta.com/wp/?p=938</guid>
		<description><![CDATA[[ GAE Google App Engine ][ Python ][ Google Bigtable ][ Google Maps API ] [ Google AJAX API ] ケチャップとマヨネーズを混ぜたソースを「オーロラ」ソースというらしい。 今回、「Google Maps API」 は、JavaScriptである。 で、私のGAEアプリはGAE/Pythonで構築している。 GAE/Javaの方が、相性がいいのかもしれないとか思ったが、 とりあえず、GAE/Pythonですすめた。 恐ろしいことが起きた。 JavaScriptソースの中に、pythonソースが混ざっている。 「JavaScriptソースの中に、javaソース」 の方が大変なんだろうか？ 私には判断できないのだが・・・。 どう見ても「オーロラ」のように綺麗なソースにはなりえないことを確信した。 以下、１０行目の　{{frompoint}}　と　{{topoint}}　と　{{localeset}}　が、GAE/Pythonで渡すパラメータ。 http://code.google.com/apis/ajax/playground/#map_directions_advanced をカスタマイズをカスタマイズしたのだが、 Javascriptの変数に、「from」が使われているが、 「from」はPythonの予約語なので、「frompoint」にした。。 もっと手の込んだアプリになったら、 こんなことがたくさん起きてしまうと 考えるだけで怖い。 しばらくして、メンテナンスなんかした時に、 「間違ってるじゃん」って書きなおす or 「こんな文法あったっけ？」って調べる 無限ループ。 無限ループ。 無限ループ。 ・ ・ ・ こわい。 私がつくったアプリ↓ 協調型意思決定支援システム「○　賛否両論　×（ベータ版）」 [...]]]></description>
		<wfw:commentRss>http://matsuyuta.com/wp/archives/938/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://matsuyuta.com/wp/archives/938" />
	</item>
		<item>
		<title>DAYS 14　Google Map との連動</title>
		<link>http://matsuyuta.com/wp/archives/937</link>
		<comments>http://matsuyuta.com/wp/archives/937#comments</comments>
		<pubDate>Wed, 18 Nov 2009 14:07:33 +0000</pubDate>
		<dc:creator>matsuyuta</dc:creator>
				<category><![CDATA[GAE DAYS]]></category>

		<guid isPermaLink="false">http://matsuyuta.com/wp/?p=937</guid>
		<description><![CDATA[[ GAE Google App Engine ][ Phthon ][ Google Bigtable ][ Google Maps API ] [ Google AJAX API ] 万歩計MAP(http://manpokeimap.appspot.com/)というものを作成した。 Google App EngineとGoogle Maps APIの連携できたらいいなぁ と思っていたので、やってみた。 当初考えていたのは、 Google Maps APIでコースを作成して、 万歩計の歩数を入力していくことで、 自分が現在そのコースのスタート地点から どこまで歩いたかがわかるというもの。 最近の万歩計は、 「母を訪ねて三千里」 「日本一周」（日本一周歩数計の旅） なんてものもあるので、 歩数と距離のみの単機能の私の万歩計でも そんな遊びができるように願いを込めて作ろうと思ったのである。 サイトを見て、おわかりの通り、 そんな簡単に行くわけがない。 力尽きた結果、なんとか ここ　 まできた。 Code Playground http://code.google.com/apis/ajax/playground/ というものがあり、 これを使えば、Javascriptオンリーで、 （GAEなんぞ連携しないでも） 自分のホームページにGoogle Mapsを表示することができる。 今回のアプリケーションを作成する上でのポイントは、 GAEのGoogle [...]]]></description>
		<wfw:commentRss>http://matsuyuta.com/wp/archives/937/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://matsuyuta.com/wp/archives/937" />
	</item>
		<item>
		<title>DAYS 13　Gdataとの連動</title>
		<link>http://matsuyuta.com/wp/archives/935</link>
		<comments>http://matsuyuta.com/wp/archives/935#comments</comments>
		<pubDate>Wed, 04 Nov 2009 15:05:12 +0000</pubDate>
		<dc:creator>matsuyuta</dc:creator>
				<category><![CDATA[GAE DAYS]]></category>
		<category><![CDATA[Gdata]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GoogleAppEngene]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://matsuyuta.com/wp/?p=935</guid>
		<description><![CDATA[[ GAE Google App Engine ][ Phthon ][ Google Bigtable ][ AuthSub API ] GAEアプリケーションとGoogleデータサービスとの連動について考えてみた。 ドキュメント、写真、動画については、 GAEのアプリケーションと連動することでどれだけのメリットがあるだろうか？ いろいろ考えたが、それぞれのアプリ側（GAEでない側）で 「共有」の設定をしてしまえば、事足りるのではないかと考えるようになった。 GAEでの作りこみの時間、コストを考えると、 人間側でルールを決め運用する方がパフォーマンスがよさそうである。 最初に、連動することによるメリットが高いと考えていたカレンダーと地図も 同じように「無理やり連動させることないんじゃなか？」と考えるようになり、 少しやる気をなくしている。 ただ、これは、私が、Googleデータサービスを使いきれていないからかもしれない。 もっと新しいことができるのに、古い考え方でそれを見逃しているのかもしれない。 私がつくったアプリ↓ 協調型意思決定支援システム「○　賛否両論　×（ベータ版）」 http://sanpiryoron.appspot.com/ 協調型プロジェクトタスク管理ツール「キャッチ＆リリース（ベータ版）」 http://ctchandrls.appspot.com/ GoogleデータサービスAuthSub API利用サンプルアプリ]]></description>
		<wfw:commentRss>http://matsuyuta.com/wp/archives/935/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://matsuyuta.com/wp/archives/935" />
	</item>
		<item>
		<title>DAYS 12　AuthSub API</title>
		<link>http://matsuyuta.com/wp/archives/934</link>
		<comments>http://matsuyuta.com/wp/archives/934#comments</comments>
		<pubDate>Wed, 04 Nov 2009 14:46:11 +0000</pubDate>
		<dc:creator>matsuyuta</dc:creator>
				<category><![CDATA[GAE DAYS]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Auth]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GoogleAppEngene]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://matsuyuta.com/wp/?p=934</guid>
		<description><![CDATA[[ GAE Google App Engine ][ Phthon ][ Google Bigtable ][ AuthSub API ] GoogleデータサービスAuthSub API利用サンプルアプリ GAEから利用できるGoogleデータサービスを使ってみた。 本来であれば、アプリケーションに絡めて連動するような形にしたかったが、 連動のさせ方がよくわからず、とりあえず、 「　AuthSub API　」を使って 認証をし、各Googleデータサービスのデータ一覧をとってくるというアプリを作成した。 何度も繰り返すが、本来であれば、協調型プロジェクトタスク管理ツール「キャッチ＆リリース（ベータ版）」 http://ctchandrls.appspot.com/の締切日をGoogleカレンダーに連動させたかったのだが、 どうにも動かせない。 できたのは、一覧をとってくることぐらいだったのだ。 「Google Data サービスの使用」オンラインマニュアルを参考にしたが、 最終的には、自分のやり方になってしまったように思う。 もしかしたら、これが原因で、「書き込み・更新・削除」の処理ができないのかもしれない。 オンラインマニュアルでは、以下のAPIが提供されていると書かれているが、 Google Data Python モジュールのバージョンがあがっているらしく、 ダウンロードサイトでは他のAPIについても書かれている。 ただ、GAEで利用できるものとは違うのかもしれない。 * 認証 * Google Base * カレンダー * 連絡先 * ドキュメント * Picasa ウェブ アルバム * スプレッドシート [...]]]></description>
		<wfw:commentRss>http://matsuyuta.com/wp/archives/934/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://matsuyuta.com/wp/archives/934" />
	</item>
		<item>
		<title>DAYS 11　日時に関して</title>
		<link>http://matsuyuta.com/wp/archives/933</link>
		<comments>http://matsuyuta.com/wp/archives/933#comments</comments>
		<pubDate>Mon, 26 Oct 2009 15:11:35 +0000</pubDate>
		<dc:creator>matsuyuta</dc:creator>
				<category><![CDATA[GAE DAYS]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GoogleAppEngene]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://matsuyuta.com/wp/?p=933</guid>
		<description><![CDATA[[ GAE Google App Engine ][ Phthon ][ Google Bigtable ] 日時のデータに関していくつか。 ・タイムゾーンについて db.modelの日時に関するプロパティで 「auto_now_add=True」「auto_now=True」を設定すると すべて世界協定時刻(UTC)が保存される。 「キャッチ＆リリース（ベータ版）」では、「締切」を入力するようになっているため、 日本時間の締切を入力するのが当り前であるが、 更新日時、登録日時は世界協定時刻(UTC)なのである。 この違いの解決方法としては、 データはすべて世界協定時刻(UTC)で保存し、 表示するときに、日本であれば、日本標準時(JST; GMT+09:00)表示に 変換するというのが正しいやり方のようだ。 ちなみに、入力した日時は、世界協定時刻(UTC)に変換しなければならない。 参考：はしっこの、そのへん「Google App Engine再び」 今回のシステムでは、変換は行っていない。 なぜなら、今後、世界規模でプロジェクトを実行することは容易に想定できるからである。それであれば、日時の基準を世界にひとつにした方がよい。 このシステムはWebである以上、日本時間が基準とはいえないのだから。 （日本語で作ってはありますが・・・） 日本にいる人間は、「現在の時間　プラス　9時間」という前提で、締切を決めたり、 作業を行えばよいのである。人間側で対応すべき問題である。 データの登録、更新処理の全ての処理に この変換をいれるのが大変だから、と理由では断じてない！ ・日時の整合性について 「締切日が現在より、未来であること」 「開始日と、完了日がひっくりかえらないこと」 といったチェック機能を入れようとしたが、やめた。 チェックは人間がする。そして、間違いに気づいたら人間が直す。 ・日時の表示の変更について HTMLページで、DateTimeデータを表示させると 「　2009-10-14 14:00:18.156817　」 のようにわけのわからない数字が、最後に入ってしまう。 表示形式の指定方法を変更するには、以下のようにする。 変更前「　2009-10-14 14:00:18.156817　」 {{ data.add_date}}　と指定 変更後「　2009-10-14 14:00:18　」 {{ data.add_date&#124;date:&#8221;Y-m-d [...]]]></description>
		<wfw:commentRss>http://matsuyuta.com/wp/archives/933/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://matsuyuta.com/wp/archives/933" />
	</item>
		<item>
		<title>DAYS 10　俺はなんてアフォーム（FORM）なんだ！</title>
		<link>http://matsuyuta.com/wp/archives/932</link>
		<comments>http://matsuyuta.com/wp/archives/932#comments</comments>
		<pubDate>Sun, 25 Oct 2009 15:13:38 +0000</pubDate>
		<dc:creator>matsuyuta</dc:creator>
				<category><![CDATA[GAE DAYS]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GoogleAppEngene]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://matsuyuta.com/wp/?p=932</guid>
		<description><![CDATA[データの追加、編集処理、HTMLでいうFormの画面で、いくつか分かったことがあるので以下に記す。 前回の「○　賛否両論　×（ベータ版）」では、 唯一のデータ編集画面「ユーザー情報の編集」で、 編集のHTMLのFORM画面に、更新前のデータを表示させることができなかった。 表示させても、submitするとデータが追加されてしまい更新処理ができてなかった。 泣く泣く、Djangoを使わず処理した。 DjangoがGAEバージョンなので、あきらめていた。 だが、今回、試行錯誤した結果、Django使って、更新処理を行う方法が分かった。 本来、分かって当たり前なのかもしれないが、 やっと・・・ やっとわかった！ こんなかんじ↓↓↓ そのほかには、 データ更新画面で入力ミスをした時のパラメータ受け渡しを完全に忘れていた。 たとえば、 「　http://ctchandrls.appspot.com/&#8212;-/&#8212;?id=XXXXX　」 のように、GETで「id」パラメータを渡している時は、 入力ミスをして、更新画面に戻った時にも、「id」パラメータを渡しておかないと エラーになってしまう。 テストしたときに気づけばいいのだが、 入力ミスのテストは、少ししかやってないし、 やる気もあまりなく、公開直前に気付いた。 以上。 私がつくったアプリ↓ 協調型意思決定支援システム「○　賛否両論　×（ベータ版）」 http://sanpiryoron.appspot.com/ 協調型プロジェクトタスク管理ツール「キャッチ＆リリース（ベータ版）」 http://ctchandrls.appspot.com/]]></description>
		<wfw:commentRss>http://matsuyuta.com/wp/archives/932/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://matsuyuta.com/wp/archives/932" />
	</item>
	</channel>
</rss>

