( sfpropelimpersonator documentation )

Installation (page 1 on 5)


Documentation has been updated on 01/31/2008

Purpose

sfPropelImpersonator is a symfony plugin that uses DatabaseMaps to fetch any propel 1.2 criteria based request and fill in relations between related objects. You maybe came up some day with performances issues due to query count, or DRY principle breaks because of doSelectJoin... methods code duplication. This plugin, without pretending to speed up the process, abstracts the related objects population using propel introspection methods to know about the schema.

The plugin is currently in alpha stage

Installation

To install sfPropelImpersonatorPlugin, you have two options. The good one, if your project is using subversion, is to add an svn:externals in project's plugins directory to the plugin's repository.

  sfPropelImpersonatorPlugin http://svn.symfony-project.com/plugins/sfPropelImpersonatorPlugin/trunk

If using the trunk seems risky, you can use the latest tagged version:

  sfPropelImpersonatorPlugin http://svn.symfony-project.com/plugins/sfPropelImpersonatorPlugin/tags/0.1alpha

As the plugin is currently alpha, I'd strongly encourage you to use the trunk, at least for now (you can specify a revision in the external, prepending -rxxx to the repository URL, where xxx is the revision number).

If you're no lucky and your project don't use SVN, just check it out using the following command:

svn checkout http://svn.symfony-project.com/plugins/sfPropelImpersonatorPlugin/trunk

External links, documents & cie

link The plugin README in symfony project's wiki

link Browse the source on symfony-project.org