TurboGearsってなに? TurboGearsはオブジェクト指向スクリプト言語Python製のWebアプリケーションフレームワークです(図1)。軽量言語(Lightweight Language)を使ったLLフレームワークの中でも有名なのがRubyで書かれたRuby on Railsですが,ちょっと乱暴に言えば「TurboGearsはPython版のRuby on Railsである」と表現できるかもしれません。 Pythonは,欧米を中心にとても人気のあるスクリプト言語です。覚えやすく,使いやすいと定評があり,GoogleやYahoo!,マイクロソフトなどもPythonを活用し,注目しているほどです。 ノリのよい開発スタイル TruboGearsの大きな特長は,開発を始めるまでの手順が少ないということです。インストールはとても簡単で,必要なモジュールを含めてほぼ自動的に終わります
http://d.hatena.ne.jp/aodag/20060518/1147968387 http://d.hatena.ne.jp/aodag/20060521/1148210554 えらく長く時間が開いてしまった。 TurboGears勉強会で続きはどうなってるのだという突っ込みがありましたので、続き。 その1, その2 を書いた当時のソースが残っていなかったため微妙にメソッド名や処理が異なる場合があります。 ある程度書き終わったら、いったんまとめるのでご容赦を。 では入力チェックを入れよう。 今回チェックする内容は以下のとおり 日付チェック 必須入力チェック TurboGearsの入力チェックはFormEncodeを使う。 また、TurboGearsで入力チェックが追加されているので、そちらも使う。 turbogears.validators はformencode.valid
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く