Hi, You can use your Propel schema in a Symfony2 project without any changes by using Propel as ORM instead of Doctrine2. Take a look at this bundle : https://github.com/willdurand/PropelBundle
It allows you to build "Symfony2 ready" classes (be aware of that part of the Propel doc: http://www.propelorm.org/wiki/Documentation/Trunk/Namespaces) Cheers, William. On 23 mai, 22:21, Donald Tyler <chekot...@gmail.com> wrote: > You *can* use the yaml files in Symfony 2, but they'll need to be updated > for Doctrine 2, which is now used. > > This page has information on using ORM in Symfony 2: > > http://symfony.com/doc/current/book/doctrine/orm.html > > One key thing that's different is that in Symfony 1, you would generate PHP > classes from the yaml files, but in Symfony 2, you typically don't (although > you *can*). In Symfony 2, you would normally write PHP POJO's yourself, and > either annotate them, or define the ORM metadata via XML or Yaml files. > > On Mon, May 23, 2011 at 2:41 PM, Esdras Beleza <esdras.bel...@gmail.com>wrote: > > > > > > > > > Hi folks, > > > I'm studying Symfony 2 and porting a very old Symfony 1.0 project. My first > > step is trying to recognize the code can I reuse and the code I can't. > > > I have an YAML file in Propel format that defines the entities and the > > database schema. Is there any way I could use it on Symfony 2, any tool to > > convert the schema to Doctrine, something that could help me? :) Any tip is > > very welcome. > > > Thanks in advance, > > > Esdras > > > -- > >http://www.esdrasbeleza.com > > > -- > > 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 users" group. > > To post to this group, send email to symfony-users@googlegroups.com > > To unsubscribe from this group, send email to > > symfony-users+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/symfony-users?hl=en -- 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 users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en