eramgarden
Contributor
- Joined
- Mar 8, 2004
- Messages
- 579
Ok, i think i'm confusing myself here..
I want to have a 3 tier app: presentation, business and dataacess.
I've read a lot about all 3 and have an understand of how to separate them. Got an example from 15Seconds website.
But where do my classes belong to?
I have a "debtor" class: person who owes money with their data like name, address, how much they owe
"collector" class: info about the person who's collecting :ID, phone number, etc
"account" class: this is the company/client who wants the money etc...
but what layer do these classes belong to?? should I just create a folder named Classes and inherit from those ??
Kinda lost here..i think ineed a big picture.
I want to have a 3 tier app: presentation, business and dataacess.
I've read a lot about all 3 and have an understand of how to separate them. Got an example from 15Seconds website.
But where do my classes belong to?
I have a "debtor" class: person who owes money with their data like name, address, how much they owe
"collector" class: info about the person who's collecting :ID, phone number, etc
"account" class: this is the company/client who wants the money etc...
but what layer do these classes belong to?? should I just create a folder named Classes and inherit from those ??
Kinda lost here..i think ineed a big picture.