Make 24 monthly payments Pay 0% interest Start using the domain today. See details
¶ Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user. Quick links¶ Current version: 6.4 (download from PyPI, release notes) Source
Yet Another Sakatokuです。今回はPyhonで書かれたRuby on Rails風のフレームワークPylonsの使い方を簡単に紹介したいと思います。 PylonsはPythonのWebフレームワークとしては、現在のところ、Django, TurboGearsにつぐ三番手(以下)と見なされていますが、TurboGears 2がPylonsと合流して、Pylons上に旧TurboGearsのAPIを提供していくことが表明されましたので、今後大きな勢力になっていくと思われます。 サンプル・アプリケーション サンプルとして、簡易Wiki(CoCoWiki)を作ってみました。以下のURLからダウンロードできるので参考にしてみてください。 cocowiki.tar.gz Pylonsの開発サーバ上で動作させるには、ダウンロードしたtar.gzを解凍し、cocowikiディレクトリで"
PylonsのTracebackは凄いです。例外発生時のスタックフレームに対して、ブラウザ経由!で対話的にデバッグを行うことができます。DjangoのTracebackも親切だと思いましたが、Pylonsには及びません。 実例を紹介します。RSSフィードを返すアクションの実装中、当てずっぽうで書いたので、案の定、例外が発生しました。 例外の発生箇所のツリーを開いて、該当フレームの情報を確認します。 feed.writeというメソッドの使い方がよく分からないので、おもむろに、help(feed.write)を実行します。 ヘルプが表示されました。引数encodingを指定していなかったから例外が発生したということが分かります。 元のコードを修正する前に、対話的シェルから、encodingを指定してfeed.writeを呼んで、出力結果を確認してみます。繰り返しますが、下の操作はブラ
September 27, 2006 James Gardner Web Server Gateway Interface Part I: Getting Started The recent Python 2.5 release features the addition of the Web Server Gateway Interface Utilities and Reference Implementation package (wsgiref) to Python's standard library. In this two-part article, we will look at what the Web Server Gateway Interface is, how to use it to write web applications, and how to use
Blog Search when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${entry.path} [in template "__entry.ftlh" at line 3, column 25] - Reached through: #include "__entry.ftlh" [in template "entry.ftlh" at
TurboGears The rapid web development megaframework you've been looking for. Skip to content Home About Documentation Install The CogBin Development News Note: This part of the website has not yet been updated for the 1.0 release. TurboGears 1.0 does a whole lot more than you see here! To learn a bit more about these features, see the documentation. Python and every other language out there have ma
「Webアプリケーション・フレームワークはRuby on Railsだけじゃない!」,Pythonの三つのフレームワークが討論で激突 Python Workshop the Edge 2006 スクリプト言語で書かれたWebアプリケーション・フレームワークといえば,なんといってもRubyで書かれたRuby on Rails(Rails)の存在感が大きい。しかし,Pythonにも優れたフレームワークが登場してきている。2006年4月8日に開催されたイベント「Python Workshop the Edge 2006」のセッション「最新Webアプリケーションフレームワーク比較」では,Pythonで書かれた「Django」「TurboGears」「web.py」という三つのWebアプリケーション・フレームワークがそれぞれ利点をアピールした。 Djangoについてプレゼンしたのは露木誠氏。大阪大学
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く