ハウツー
いくつかのよくある問題への解決策です。
- すでに存在するデータベース
既に存在するデータベースの構造からXMLスキーマを生成し、データをXMLに落とし、新しいデータベースにインポートする例 - buildのカスタマイズ
Propelのアウトプットディレクトリをカスタマイズして、複数の環境でPropelを扱う例 - トランザクション
Propelでトランザクションを使うためのヒント - クエリの完全ロギング?
!DebugPDOオブジェクトを使って(Propelがログを取る不完全なクエリではなく)実際にデータベースに送られるクエリのログをとる方法 - 追加のSQLファイル?
insert-sqlPhingターゲットが実行された際に追加のSQLを加える方法 - Multi-Component Data Model?
How to use Propel in an environment where you may have many components / modules that each have their own object model. A Mojavi-based site would be an example of such an environment. (See Customizing Build for examples on how to setup build properties to support such a system.)
Please note that this is an experimental feature available in SVN versions only. - Eclipseを使ったPropelビルドプロセス?
EclipseのworkbenchをAntを使ってPropelビルドプロセスを走らせる方法 - Improved Performance with Byte Code Cache?
Propel generates a lot of large class files. These can create a significant parse time performance hit. A byte code cache can almost eliminate the parse time cost.
外部リソース
Note that these external resources may be for older versions of Propel.
- Propel and patForms integrated: powerful form generation
Sven Fuchs describes in this blog entry how to integrate Propel with patForms. (see also this note for the current status of this) - DBDesigner 4 to Propel XSL
Jon Graham provides and XSL stylesheet for those who wish to convert a DBDesigner4 data model to a Propel schema.xml.
