[eluser]jparent[/eluser]
Hi, I'm implementing a users module:
a basic user has:
-name
-email
-password
-photo
but depends on the application I want to extend that user and add other fields like company, job, identify number, suscribed to newsletters,...
I've been thought about to create a library for base_user and other for extended_user that extends from base_user. I have looking for polimorfims, interfaces etc... but I'm not sure which is the right way to do that.
Somebody could give me an idea??? Thanks!