| 1 |
sfDB4toPropelPlugin for symfony 1.2.x |
|---|
| 2 |
===================================== |
|---|
| 3 |
|
|---|
| 4 |
Introduction |
|---|
| 5 |
------------ |
|---|
| 6 |
|
|---|
| 7 |
The **sDB4toPropelPlugin** is a plugin that adds to symfony a new task: **propel:db4-to-propel** |
|---|
| 8 |
that allows you to convert a DB4 schema (a **DBDesigner 4** schema) into a valid Propel |
|---|
| 9 |
**schema.yml** file. |
|---|
| 10 |
|
|---|
| 11 |
It also allows you to use tables that are defined in other plugins or other schemas |
|---|
| 12 |
(for exemple you want a define a FK to the sf_guard_user table in one of your tables) |
|---|
| 13 |
|
|---|
| 14 |
With this plugin you can just forget the boring work of building your schema.yml by hand |
|---|
| 15 |
and stay focused on the development of your application. It is very useful at the |
|---|
| 16 |
the beginning of a project when your model is not totally defined and may change |
|---|
| 17 |
quiet often. (new tables, i18n, new columns, refactoring, tests...) |
|---|
| 18 |
|
|---|
| 19 |
Installation |
|---|
| 20 |
------------ |
|---|
| 21 |
|
|---|
| 22 |
* Install the plugin |
|---|
| 23 |
|
|---|
| 24 |
> symfony plugin-install http://plugins.symfony-project.com/sDB4toPropelPlugin |
|---|
| 25 |
|
|---|
| 26 |
Or check out from the svn repository: [http://svn.symfony-project.com/plugins/sfDB4toPropelPlugin/branches/1.2](http://svn.symfony-project.com/plugins/sfDB4toPropelPlugin/branches/1.2) |
|---|
| 27 |
|
|---|
| 28 |
* Clear you cache |
|---|
| 29 |
|
|---|
| 30 |
> symfony cc |
|---|
| 31 |
|
|---|
| 32 |
Tutorial / FAQ |
|---|
| 33 |
-------------- |
|---|
| 34 |
|
|---|
| 35 |
Until i can convert to the Markdown synthax please follow the |
|---|
| 36 |
[full tutorial on my blog, click here](http://www.strangebuzz.com/index.php/2008/09/08/36-new-symfony-11-plugin-tutorial-sfdb4topropelplugin). |
|---|
| 37 |
|
|---|
| 38 |
You can also find another tutorial i have made for the |
|---|
| 39 |
[Jobeet Day 3 tutorial](http://www.symfony-project.org/blog/2008/12/03/jobeet-day-3-the-data-model) |
|---|
| 40 |
on [my blog, click here](http://www.strangebuzz.com/index.php/2008/12/07/38-jobeet-an-alternative-tutorial-for-day-3). |
|---|
| 41 |
|
|---|
| 42 |
Support / Bugs |
|---|
| 43 |
-------------- |
|---|
| 44 |
|
|---|
| 45 |
Please write on the [official blog post](http://www.strangebuzz.com/index.php/2008/09/08/36-new-symfony-11-plugin-tutorial-sfdb4topropelplugin). |
|---|
| 46 |
I could also answer if you post on [the symfony mailing list](symfony-users@googlegroups.com). |
|---|
| 47 |
|
|---|
| 48 |
That's all, have fun, [COil](http://www.strangebuzz.com) ;) |
|---|