How do I…

Here are some solutions to common problems.

  • Existing Databases
    Examples of how to build an XML schema from existing db structure, how to dump data to XML, how to import it into a new database, etc.
  • Customizing Build
    Examples of how to customize Propel's output directories to support using Propel in multi-project environments.
  • Transactions
    Some tips on how to use transactions with Propel.
  • Full Query Logging
    How to use the DebugPDO object to log queries as they are sent to the database.
  • Additional SQL Files
    How to add additional SQL files that will be run when you use the insert-sql Phing target.
  • 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.
  • Propel Build Process With Eclipse?
    How to setup your Eclipse workbench to run the Propel build process with Ant.
  • 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.

External Resources

Note that these external resources may be for older versions of Propel.