Flaskへようこそ Welcome to Flask¶
Flaskのドキュメントへようこそ。インストールから始めて、それからクイックスタートで概要をつかみましょう 。より詳細なチュートリアルでは、小さいけれども完成しているFlaskアプリケーションをどのように作成するか示しています。Flaskのパターンセクションでは一般的なパターンを記述しています。この文書のその他の部分ではFlaskの各コンポーネントについて詳細を記述しており、その完全なリファレンスはAPIセクションにあります。 Welcome to Flask's documentation. Get started with :ref:`installation` and then get an overview with the :ref:`quickstart`. There is also a more detailed :ref:`tutorial` that shows how to create a small but complete application with Flask. Common patterns are described in the :ref:`patterns` section. The rest of the docs describe each component of Flask in detail, with a full reference in the :ref:`api` section.
FlaskはテンプレートエンジンJinjaとWSGIツールキットWerkzeugを必要とします。それらのライブラリのドキュメントはこちらです: Flask depends on the `Jinja`_ template engine and the `Werkzeug`_ WSGI toolkit. The documentation for these libraries can be found at:
Jinjaドキュメント `Jinja documentation <http://jinja.pocoo.org/docs>`_
Werkzeugドキュメント `Werkzeug documentation <https://werkzeug.palletsprojects.com/>`_
ユーザーガイド User's Guide¶
ドキュメントのこのパートでは、大部分は散文的な形になっていますが、Flaskの背景となる情報から始めて、それからFlaskを使ったweb開発を一歩ずつ示すことに注力します。 This part of the documentation, which is mostly prose, begins with some background information about Flask, then focuses on step-by-step instructions for web development with Flask.
- 序文
- 経験のあるプログラマー向けの序文
- インストール
- クイックスタート
- チュートリアル
- テンプレート
- Flaskアプリケーションのテスト
- アプリケーションのエラー
- アプリケーションのエラーのデバッグ
- ログ処理(Logging)
- 設定の処理の仕方(Configuration Handling)
- 合図(Signals)
- 差し込み可能なview(Pluggable Views)
- アプリケーションのコンテキスト(The Application Context)
- リクエストのコンテキスト(The Request Context)
- Blueprintを使ったアプリケーションのモジュール化
- Flask拡張(Extensions)
- コマンドライン・インタフェース
- 開発サーバ
- Shellを使った作業
- Flaskのパターン
- より大きなアプリケーション
- アプリケーション製造工場(Application Factories)
- アプリケーションの振り分け(Application Dispatching)
- Implementing API Exceptions
- Using URL Processors
- Setuptoolsを使った展開(Deploying with Setuptools)
- Deploying with Fabric
- FlaskでのSQLite 3の使用
- Flask内でのSQLAlchemy(SQLAlchemy in Flask)
- ファイルのアップロード
- キャッシング
- View Decorators
- WTFormsを使ったフォーム検証
- Template Inheritance
- Message Flashing
- AJAX with jQuery
- Custom Error Pages
- Lazily Loading Views
- MongoDB with MongoEngine
- Adding a favicon
- Streaming Contents
- Deferred Request Callbacks
- Adding HTTP Method Overrides
- Request Content Checksums
- Celery Background Tasks
- Flaskのサブクラス化
- Single-Page Applications
- 展開の選択肢(Deployment Options)
- 巨大化(Becoming Big)
APIリファレンス API Reference¶
もしも特定の関数、クラス、またはメソッドの情報を探している場合は、このパートが対応します。 If you are looking for information on a specific function, class or method, this part of the documentation is for you.
- API
- Application Object
- Blueprint Objects
- Incoming Request Data
- Response Objects
- Sessions
- Session Interface
- Test Client
- Test CLI Runner
- Application Globals
- Useful Functions and Classes
- Message Flashing
- JSON Support
- Template Rendering
- Configuration
- Stream Helpers
- Useful Internals
- Signals
- Class-Based Views
- URL Route Registrations
- View Function Options
- Command Line Interface
追記事項 Additional Notes¶
関心のある人向けの、設計上の注記、法律関連の情報、そしてchangelogはここです。 Design notes, legal information and changelog are here for the interested.
- Design Decisions in Flask
- HTML/XHTML FAQ
- セキュリティの考慮点
- Unicode in Flask
- Flask拡張の開発
- Pocoo Styleguide
- Upgrading to Newer Releases
- Changelog
- Version 1.1.1
- Version 1.1.0
- Version 1.0.4
- Version 1.0.3
- Version 1.0.2
- Version 1.0.1
- Version 1.0
- Version 0.12.4
- Version 0.12.3
- Version 0.12.2
- Version 0.12.1
- Version 0.12
- Version 0.11.1
- Version 0.11
- Version 0.10.1
- Version 0.10
- Version 0.9
- Version 0.8.1
- Version 0.8
- Version 0.7.2
- Version 0.7.1
- Version 0.7
- Version 0.6.1
- Version 0.6
- Version 0.5.2
- Version 0.5.1
- Version 0.5
- Version 0.4
- Version 0.3.1
- Version 0.3
- Version 0.2
- Version 0.1
- License
- How to contribute to Flask