Thursday, November 4, 2010

Re: Does every model really need a "name" field? --psybear

Interesting question - what's your fear of model names?

Jeremy Burns
Class Outfit

jeremyburns@classoutfit.com
http://www.classoutfit.com

On 4 Nov 2010, at 08:11, psybear83 wrote:

> Hi everybody
>
> A collegue told me some time ago, that every CakePHP model needs a
> "name" field in the database. However, he couldn't really tell me
> why's that, and I don't really find too much information about that.
> So maybe this isn't true (anymore)?
>
> Or if it's really the case, then what do you guys do, when you really
> don't want/need a name for a specific model? Invent some imaginary
> name field?
>
> Thanks
> Josh
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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

No comments: