ZF-Commons / ZfcUserDoctrineORM

Doctrine2 ORM storage adapter for ZfcUser.
BSD 3-Clause "New" or "Revised" License
89 stars 92 forks source link

add annotation configuration and modification of user class #66

Closed jmfiaschi closed 10 years ago

jmfiaschi commented 10 years ago

Modification to use User, Doctrine and Annotation

Danielss89 commented 10 years ago

Why have you added annotations? We already have XML configuration.

jmfiaschi commented 10 years ago

Hi,

my project use annotations and not XML configuration. I don't know if doctrine can manage both configurations : XML and annotations in same times. In addition, several projects used annotations.

Danielss89 commented 10 years ago

Doctrine can use both. You'll just add the config to your own module.

webdevilopers commented 10 years ago

Correct me if I'm wrong but when I starting using this module for the first time about a year ago I used to find a User Entity Class ready to use with annotations.

Was it removed resp. replaced by XML? Is XML recommended?

Danielss89 commented 10 years ago

@webdevilopers You should use the ZfcUser entity, thats what the XML is for.