+1

I'm frustrated too with Doctrine's lack of setters and getters.

At least have the field names as constants or something like that.
Something to help developers to access the fields without looking them
up manually or try to remember them.

On Sun, Nov 1, 2009 at 9:42 PM, Alexandru-Emil Lupu
<[email protected]> wrote:
> Hi!
> I have a question ...
>
> Why does not Doctrine creates setters and getters as function in the base
> classes ? I mean is impossible that a developer know all the fields from a
> project... If that developer uses an autocomplete capable editor, the work
> inside a model class  it would be (actually it is) painfull.
>
> Currently, i am trying to swhitch from propel to doctrine an this is one of
> the things that i am finding quite hard to do.
> For example, i have a table that has around 15 fields, and around 10 fields
> depends on the rest 5. That means is quite time consuming to go in the
> schema file, get the name for the fields, then go and implementing a
> function that does the calcs.
>
> I do not want to complain about doctrine, but i consider this is one of the
> things that might get me and maybe others frustrated about this.
>
> I guess that if would be implemented, then more propel users will find it
> more easier to switch to Doctrine.
>
> I guess Jonathan or Fabien could make a poll for this, and we could see the
> results before starting any action.
>
> Alecs
>
> --
> As programmers create bigger & better idiot proof programs, so the universe
> creates bigger & better idiots!
> I am on web:  http://www.alecslupu.ro/
> I am on twitter: http://twitter.com/alecslupu
> I am on linkedIn: http://www.linkedin.com/in/alecslupu
> Tel: (+4)0748.543.798
>
>
> >
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to