Le 31/01/2014 17:24, [email protected] a écrit :
Hello,
Can you give me some reasons why migrating to v2 from v1 is recommended? and what are advantages?

The main reason is that v1 is not maintained anymore since a few years (apart from the composer support, the latest commit is 3 years old), including for security issues. Using unmaintained packages in your project is a security issue for your project.

However, Doctrine 2 is a totally different project than v1. It is based on different patterns and so migrating involves a full rewrite of all code related to the doctrine models. If you prefer the table-row-gateway pattern (used in v1) to the data-mapper one (used in v2), my advice is to switch to Propel instead, which is an active project using the table-row-gateway pattern.

--
Christophe | Stof

--
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to