このドメインを購入する。 profeth.de 2018 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy
django のテンプレートをカスタマイズすることができた。 (django template にカスタム filter を追加することができた) -- templatefilters.py #!-*- coding:utf-8 -*- # import the webapp module from google.appengine.ext import webapp import datetime # get registry, we need it to register our filter later. register = webapp.template.create_template_register() def truncate(value,maxsize,stopper = '...'): """ truncates a string to a given maximum
個人レベルの簡単なWebサイトであれば、レンタルサーバを借りてPHPのCMSを設置して…というのがこれまでのやり方だった。しかし既にそのようなレベルは脱している。Webサイトは無料で立てる時代になってきている。 カテゴリで区分けされたCMS それを叶えるのがGoogle App Engine(GAE)だ。GAE上で動くCMSを使えば無料でWebサイトを稼働できるようになる。 今回紹介するオープンソース・ソフトウェアはGD-cms、GAE Django CMSの略称を持つCMSだ。 GD-cmsはGoogle App Engine上に設置するのでデプロイが簡単にできる。現状ではテーマ機能などはないが、そうした情報はローカルで変更し、アップロードすれば良いだろう。 記事詳細 機能はカテゴリごとのコンテンツ管理、ゲストボード、リンク、広告管理となっている。指定した値がきた時にはリダイレクトさせる
Develop Twitter API application in django and deploy on Google App Engine by lakshman on April 28, 2009 Twitter’s robust REST API enables building of good applications that leverage its increasingly large and real-time data. Google’s cloud system App Engine not only provides a scalable platform for deploying applications, but also proves to be economically viable because of its pay per resource us
ãªã¼ãã³ ã½ã¼ã¹ ã¢ããªã±ã¼ã·ã§ã³: Rietveld ã³ã¼ã ã¬ãã¥ã¼ ãã¼ã« Guido van Rossum 2008 å¹´ 5 æ æ¦è¦ Google ã®ã¨ã³ã¸ãã¢ã¨ãã¦ã®æåã®ããã¸ã§ã¯ãã¯ã社å Web ã¢ããªã±ã¼ã·ã§ã³ã®ã³ã¼ã ã¬ãã¥ã¼ãè¡ãã¨ãããã®ã§ãããã¦ã£ãããã£ã¢ã§ã¯ãã³ã¼ã ã¬ãã¥ã¼ã¯ãåæéçºå·¥ç¨ã§è¦éãããã誤ãã
前回のネタの続きです。 前回では、以下のリンクを見て、ソースコードレビューソフトを入れてみました。 【レポート】オール・アバウト・Google Chrome - Google Developer Dayセッションレポート (2) http://journal.mycom.co.jp/articles/2009/06/15/gdd2/001.html Chromeの開発に使用されているツール・・・自動ビルド・自動単体テストのためにBuildbot、コードレビューのためにrietveldというツールが使用されている 今回は、実際に rietveld を入れて動かしてみます。 Google社内で使われているコードレビューシステムと同じようなソフトを手元で動かしてみるなんて、何かワクワクしますよね? 実際、下図のように、結構簡単に動かせますので、興味の沸いた方は、以下をどうぞ。 1 posted
ソースはこちらで公開しています。 $ hg clone http://labs.monospace.jp/hg/google monologista-google API を作るときBASIC 認証を使っていたのですが、httpauth.py だと Django の認証に依存していたので、書き換えました。 絶対もっとスマートに書けるんだろうなぁと思いつつ ... 。 MiddleWare にするべきか ... 。 あとは api_key は CLEARTEXT で保存されているので Digest 認証にしちゃってもいいかもですね。 これで無事 monologista API を作ることが出来ます:-P GAE 版 monologista でも API が使えますよー(多分 import base64 from django.http import HttpResponseNotAllowe
最近、Googleのサイトに上がっているMastering the datastoreの一連の記事を読みました。今まで、わりと適当にGoogle App Engine のデータストアを扱っており、いくら趣味プログラミングとはいえ、ある程度は内部処理についての知識がないと突っ込んだことはできないよなぁと感じていたので、ちょうどいい記事でした。 私個人の備忘録としても、簡単にまとめておいたほうが有益だろうと思ったので、3回程度に分けて一連の記事の概要を箇条書きしておくことにします。 Life of a Datastore Write Datastoreへのデータの書き込みは、Python、Javaともにひとつのメソッドで実行されるが、その背後で複数種類の処理が走っている。 書き込みは、大きくCommitフェーズとApplyフェーズに分かれる。 Commitフェーズでは、対象のエンティティグルー
Google Code Archive - Long-term storage for Google Code Project Hosting. なんかレビューを待ってる人がいるとか、いないとか。あんまり使い込んでみてはないけどとりあえず紹介。 これを使うことで何が嬉しいか GAEのDjangoで使えなかった以下のものが使えます。(他にもあると思う contenttypes(GenericRelationはまだ使えない) auth admin flatpages generic view(ragendja) manage.py 一番大きな点は、authとadminが使えることだと思います。 adminはDjangoの中でも重要な機能なので、これが使えることで開発や運用はかなり楽になります。 contenttypesではまだGenericForeignKeyは使えないそうですが、これも汎用の
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message 松尾です。今日は gae 上で zip で固めた django-1.0 を使う方法をご紹介します。 まず Django-1.0 を解凍して中に入ります。 $ tar zxvf Django-1.0.tar.gz $ cd Django-1.0 不必要なディレクトリを削除します。 $ rm -rf django/bin django/conf/locale $ rm -rf django/contrib/admin $ rm -rf django/contrib/admindocs $ rm -rf django/contr
コンテンツへスキップ 無料で使える!HubSpotの顧客リストの活用法 無料のアンケート作成ツール 比較/まとめ 無料「Excel」 テンプレート 比較/まとめ 無料で使えるノートアプリ比較 (Evernote / OneNote / Google Keep) おすすめの無料Web会議システム5選 WebP Converter 徹底解説!初心者でも直ぐに使える HubSpot は、マーケティング、セールス、サービスのためのCRM(Continue reading 多くの人の声を聞くことで改善できることも多い 企業や団体など運営していContinue reading 就職・転職には必須となる履歴書・職務経歴書 これから就職活動をスタートContinue reading 便利なノートアプリで効率的な仕事をしよう いつの時代も仕事をしていてメContinue reading 近年、リモートワーク
Important Update: Use Google App Engine Patch for Django integration instead. It integrates Django seamlessly and includes lots of other goodies. For Dojo, also consider using xdomain and loading Dojo from Google’s AJAX Libraries API. For Google App Engine Patch, see my more recent post. This area changes quickly, so check the dates on any blog posts you’re looking at! With the release of Google A
Django Form Validation Framework を Google App Engine で使ってみる。 参考サイト http://code.google.com/appengine/articles/djangoforms.html インポート この前のTODO アプリケーション でやってみる。 djangoforms をインポートするが from google.appengine.ext.webapp import template の後ろで from google.appengine.ext.db import djangoforms とインポートする。 フォームクラスの定義 djangoforms.ModelForm を派生したクラス。Meta サブクラスでモデルとフォームに表示しないプロパティを指定する。exclude のかわりに fields と使うと表示するプ
Matt Brown May 2008 翻訳 Takashi Matsuo <tmatsuo@shehas.net> 2008年6月11日 はじめに Google App Engine は WSGI 互換のアプリケーションなら動かすことができます。Django は WSGI をサポートしているので、Google App Engine 上で動くDjango アプリケーションを新たに書く事が(既存のアプリケーションを移植する事も)できます。 この記事では、公式の Django チュートリアルから Polls アプリケーションを作るはじめの部分を再現する事で、新しく Django プロジェクトを始めて、Google App Engine 上で動かすやり方をご案内します。各ステップで App Engine 環境のために必要な変更点をハイライト表示しています(訳注: 実際はしていません)。 はじ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く