Hi zgoniaiko,
thanks for the answer.
I'm agree with you: it's matter of taste, but if in example you should
have to move from doctrine 1.x to 2.x, you have to rewrite the
schema.yml from scratch.
Instead, if you start from the DB-schema, you have to modify only some
rows on the schema.yml and rebuild the PHP-object (that should be the
same like in the previous version).

The "problem" is that only PHP Objects and DB-schema should
unchangeable from a older Doctrine version to another (otherwise your
application will not work), so the up-bottom approach should follow
this way:

        PHP-Object -> schema.yml -> DB-schema

and the bottom-up approach should follow this way (how it works now):

       DB-schema -> schema.yml -> PHP-Object

On you idea the actually up-bottom approach is not really correct
because it starts from a thing (the schema.yml file) that isn't
unchangable but it changes from a Doctrine version to another with the
following problem that you have to rewrite it.


Thank you a lot.

Giovanni

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to