[symfony-users] Re: Are the design of Symfony2 and Doctrine2 in right direction?

2010-09-24 Thread Fangzx
I am from Python/Django, in a big project, I have many routes, and give each route a name is not necessary, and will add extra maintenance burden! On 9月13日, 下午11时14分, Fabien Potencier fabien.potenc...@symfony- project.com wrote: On 9/12/10 4:23 PM, Fangzx wrote: I play Symfony2 and Doctrine2

[symfony-users] Re: Are the design of Symfony2 and Doctrine2 in right direction?

2010-09-13 Thread Florian
On 12 sep, 16:23, Fangzx fangzhoux...@gmail.com wrote: I play Symfony2 and Doctrine2 for two weeks, and I came from Java(5years) and Python/Django(3years). My questions: 1. Doctrine2  is so like Java Hibernate and is too heavy, I don't like that, for example, why not use pulic properties

Re: [symfony-users] Re: Are the design of Symfony2 and Doctrine2 in right direction?

2010-09-13 Thread Donald Tyler
I'm interested in trying Doctrine 2, but the setters / getters thing that the OP mentions concerns me a little. In my own ORM, I use the __set and __get methods to have a consistent access method for properties on my entities. e.g. class Entity { public function __set ($property, $value) {

Re: [symfony-users] Re: Are the design of Symfony2 and Doctrine2 in right direction?

2010-09-13 Thread Alexandre Salomé
Have you read this : http://propel.posterous.com/propel2-will-be-an-activerecord-implementatio ? Doctrine2 ensure performances of DBAL and provides ORM tools. Propel2 would be an Active Record implementation over this. These solutions are in development, you cannot yet get a full-featured

Re: [symfony-users] Re: Are the design of Symfony2 and Doctrine2 in right direction?

2010-09-13 Thread Tim Nagel
Doctrine2 does provide this flexibility, the only snag is that there is a PHP limitation on public properties (When using Proxies for partial loads, a public property will misbehave). Any mapped properties must be protected or private.