KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In my application design, I usually map objects to the important tables in the database. The objects then handle everything relating to that data (including linkage tables). So I for example have built an Activity object, with properties like name and due_date , methods like load() and save() , and also methods like getParent() , getContributors() and getTeam() , which return (arrays of) other objects. Is this 'bad' OOP because it violates the Single Responsibility Principle?
Tags (comma-separated)
Save Edits
Cancel