<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ishimarum</author_name>
  <author_url>https://blog.hatena.ne.jp/ishimarum/</author_url>
  <blog_title>Google App Engine+Pythonで脱プログラミング初心者を目指す日記</blog_title>
  <blog_url>https://ishimarum.hatenadiary.org/</blog_url>
  <categories>
    <anon>Google App Engine</anon>
    <anon>python</anon>
  </categories>
  <description>最近、 Google App Engine をいじりはじめました。とりあえずスタートガイドに目を通して、簡単なアプリを作って勉強しているところです。そのアプリでは、各ビューのクラスに共通の処理があるのですが、その処理をいちいち書くのが面倒くさいので、その処理をまとめたクラスをつくって、それを各ビューのクラスで継承させています。例えばログイン中の google アカウントを読み込んだり、そのビューのテンプレートとなる HTML ファイルのパスを設定したりといった処理です。以下のような感じです。 # 各ビューのクラスで共通の処理 class View(object): template_file …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fishimarum.hatenadiary.org%2Fentry%2F20100706%2F1278396097&quot; title=&quot; Google App Engine/Python でリクエストハンドラーの共通処理を簡潔にまとめる方法 - Google App Engine+Pythonで脱プログラミング初心者を目指す日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-07-06 15:01:37</published>
  <title> Google App Engine/Python でリクエストハンドラーの共通処理を簡潔にまとめる方法</title>
  <type>rich</type>
  <url>https://ishimarum.hatenadiary.org/entry/20100706/1278396097</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
