Pylons
Getting Started
動作条件
インストール
Pylons プロジェクトを作成する
アプリケーションを実行する
Hello World
Pylons のコンセプト
Pylons プロジェクトの ‘Why’
WSGI アプリケーション
WSGI ミドルウェア
コントローラディスパッチ
Paster
アプリケーションのロード
Pylons Tutorials
Quickwiki tutorial
Understanding Unicode
コントローラ
標準のコントローラ
WSGI サービスを提供するために WSGI コントローラを使用する
RESTful API で REST コントローラを使う
XML-RPC リクエストに XML-RPC コントローラを使う
ビュー
テンプレート
変数をテンプレートに渡す
デフォルトテンプレート変数
テンプレートエンジンを設定する
カスタム
render()
関数
Mako によるテンプレート処理
モデル
モデルについて
モデルの基本
SQLAlchemy を使う
設定 (Configuration)
実行時設定
環境 (Environment)
URL 設定
ミドルウェア
アプリケーション・セットアップ
ログの出力
ログにメッセージを出力する
基本的な logging の設定
ログメッセージのフィルタリング
高度な構成
Paste の TransLogger によるリクエストログ
wsgi.errors に対するログ出力
log4j の Chainsaw による lumberjacking
ログ出力設定の別のスタイル
Helpers
ページング
Secure Form Tag Helpers
フォーム
基本
Getting Started
helpers を使う
ファイルアップロード
FormEncode を使用してユーザの入力をバリデーションする
その他のフォームツール
国際化とローカライズ
はじめに
Getting Started
Babel を使う
作業に戻る
アプリケーションをテストする
fallback 言語
テンプレートの翻訳
遅延翻訳
Python Egg の生成
複数形
まとめ
さらに詳しく知るために
babel.core
– Babel core classes
babel.localedata
— Babel locale data
babel.dates
– Babel date classes
babel.numbers
– Babel number classes
セッション
セッション
セッションオブジェクト
Beaker
カスタムミドルウェア
db に保持されたセッションの bulk 削除
国際化に
Session
を使用する
Secure Form で
Session
を使用する
クッキーを使用しないセッションの hack
(Beaker) ミドルウェアを composite app と共に使用する
SA マップされたオブジェクトを Beaker セッションに保存する
キャッシュ
cache オブジェクトを使う
render
に対するキャッシュキーワードを使う
キャッシュデコレータを使う
Caching Arbitrary Functions
ETag キャッシュ
Beaker Cache の内部
ユニットテストと機能テスト
webtest
を用いたユニットテスト
Example: Testing a Controller
Pylon のオブジェクトをテストする
独自のオブジェクトをテストする
Unit Testing
Functional Testing
トラブルシューティングとデバッグ
インタラクティブなデバッグ
デバッグ画面
例: トレースバックを探索する
Email オプション
アップグレード
0.9.6 -> 0.9.7 へのアップグレード
0.9.6 以前から 0.9.6 へのアップグレード
Packaging and Deployment Overview
Egg Files
Installing as a Non-root User
Understanding the Setup Process
Deploying the Application
Advanced Usage
Running Pylons Apps with Other Web Servers
Using Fast-CGI
Apache Configuration
PrefixMiddleware
Using Java Web Servers with Jython
Documenting Your Application
Introduction
Tutorial
Learning ReStructuredText
Using Docstrings
Using doctest
Summary
Distributing Your Application
Running Your Application
Python 2.3 インストールガイド
Python 2.3 のサポート終了
に対するアドバイス
準備
システム全体へのインストール
Windows における注意点
Windows 2000 または Windows XP の場合
Windows 95, 98, ME の場合
最後に
Pylons on Jython
Installation
Deploying to Java Web servers
Security policy for bugs
Receiving Security Updates
Reporting Security Issues
Minimising Risk
WSGI support
Paste and WSGI
Using a WSGI Application as a Pylons 0.9 Controller
Running a WSGI Application From Within a Controller
Configuring Middleware Within a Pylons Application
The Cascade
Useful Resources
Advanced Pylons
WSGI, CLI scripts
Adding commands to Paster
Creating Paste templates
Using Entry Points to Write Plugins
Pylons Modules
pylons.commands
– Command line functions
pylons.configuration
– Configuration object and defaults setup
pylons.controllers
– Controllers
pylons.controllers.core
– WSGIController Class
pylons.controllers.util
– Controller Utility functions
pylons.controllers.xmlrpc
– XMLRPCController Class
pylons.decorators
– Decorators
pylons.decorators.cache
– Cache Decorators
pylons.decorators.rest
– REST-ful Decorators
pylons.decorators.secure
– Secure Decorators
pylons.error
– Error handling support
pylons.i18n.translation
– Translation/Localization functions
pylons.log
– Logging for WSGI errors
pylons.middleware
– WSGI Middleware
pylons.templating
– Render functions and helpers
pylons.test
– Test related functionality
pylons.util
– Paste Template and Pylons utility functions
pylons.wsgiapp
– PylonsWSGI App Creator
Third-party components
beaker
– Beaker Caching
FormEncode
routes
– Route and Mapper core classes
weberror
– Weberror
webhelpers
– Web Helpers package
webtest
– WebTest
webob
– WebOb
用語集
Pylons
Docs
»
webhelpers.commands.compress_resources
–
(deprecated)
Edit on GitHub
webhelpers.commands.compress_resources
–
(deprecated)
¶
Warning
DEPRECATED!! BUGGY!! Do not use in new projects.
Read the Docs
v: v1.0.1rc1
Versions
latest
v1.0.1rc1
v0.9.7
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.