Getting Started with symfony

サンドボックス

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


About

You are currently reading "Getting Started with symfony" which is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported License license.

Tutorial Content

Master symfony

Be trained by SensioLabs experts (2 to 6 day sessions -- French or English).
trainings.sensiolabs.com

Books on symfony

Learn more about symfony with the official guides.
books.sensiolabs.com

L'audit Qualité par SensioLabs

200 points de contrôle de votre applicatif web.
audit.sensiolabs.com
symfony training
Be trained by symfony experts
May 29: Paris (Web Development with Symfony2 - Français)
May 31: Paris (Mastering Symfony2 - Français)
Jun 06: Paris (Introduction to Symfony2 - Français)
Jun 06: Paris (Introduction to Symfony2 - English)
Jun 06: Paris (Going Further with Symfony2 - English)
and more...

Search


powered by google
You are currently browsing "Getting Started with symfony" in Japanese for the 1.2 version - Switch to language:
Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

symfonyを数時間だけ試すのが目的でしたら、この章を読んでいただければもっとも速く始める方法をお見せします。 現実のプロジェクトをブートストラップしたい場合、この章を飛ばしても問題はなく、次の章に直行できます。

symfonyをもっとも速く体験する方法はサンドボックスをインストールすることです。 サンドボックスはあらかじめ実用的な設定がなされているsymfonyプロジェクトをインストールするためのとても簡単な手段です。 Webのベストプラクティスを考慮した適切だがわずらわしいインストール作業をしなくてもsymfonyを体験できます。

サンドボックスはあらかじめデータベースエンジンとしてSQLiteを使うように設定されているのでPHPがSQLiteをサポートしていることを確認する必要があります(前提要件の章を参照)。 サンドボックスで使われるデータベースを変更する方法はデータベースを設定するのセクションで読むことができます。

インストールの手順のページもしくは次のURLで.tgzもしくは.zipフォーマットのサンドボックスをダウンロードできます:

http://www.symfony-project.org/get/sf_sandbox_1_2.tgz

http://www.symfony-project.org/get/sf_sandbox_1_2.zip

Web公開ディレクトリのルートでこれらのファイルを展開すれば作業は終わりです。 symfonyのプロジェクトはブラウザからweb/index.phpスクリプトをリクエストすることでアクセスできます。

すべてのsymfonyファイルをWeb公開ディレクトリのルートに設置する方法はローカル環境でテストするのにはよいですが、運用環境ではよくない方法です。 アプリケーションの内部すべてがエンドユーザーに見せてしまう可能性があるからです。

Webサーバーの設定環境の章を読み終えればインストール作業を終わらせることができます。

サンドボックスは通常のsymfonyプロジェクトでありタスクを実行することで設定が変更されるので、新しいプロジェクトの出発点として使うにはとても簡単です。 しかし設定を調整する必要があることを覚えておいてください。 たとえば設定に関連するセキュリティを変更するためなどです(このチュートリアルの後のXSSとCSRFの設定を参照)。

symfonyのインストール »
« 前提要件

Questions & Feedback

If you find a typo or an error, please register and open a ticket.

If you need support or have a technical question, please post to the official user mailing-list.