Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for July 2008

Jason Mauss' Blog Cabin

Because someone's got to do the dirty work

How to determine object responsibility - July 17, 2008

Right now I'm working on a project that requires its own custom registrationauthentication system and it got me thinking about object responsiblity and OO design.I'll pose this question and see what kind of opinions everyone has.I have a "User" class with the usual properties - first name, last name, email, etc.etc.Should my User class have a method named "Register" where the User object is responsible for knowing how to register itself - OR - should I have a 'Register' method in say, some kind.
http://weblogs.asp.net/jamauss/archive/2008/07/17/how-to-determine-object-responsibility.a...
Available Archives
- July (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact