Necuno
Court Jester
- Joined
- Sep 27, 2005
- Messages
- 58,566
- Reaction score
- 3,437
in a simplest example, normally one would have
where as the user interacts with the interface, the interface in turn with code io and where needed code io with data base io. hence the 3 layerd system is born.
my question however is what other or better ways of doing this is there apart from these
(i hope some of this makes sense
)
- interface
- code io
- data base io
where as the user interacts with the interface, the interface in turn with code io and where needed code io with data base io. hence the 3 layerd system is born.
my question however is what other or better ways of doing this is there apart from these
- layered model with one class for all database needs or
- "objects to objects" instead of one massive data io class with all the calls in it, one object does data calls spesifically for its needs and populates the other related object (ea, studentDataObject and studentCarrerObject where as the data object gets or saves the student data. also can return a populated studentCarrierObject with for example say name and number to be used by the code and so on)
(i hope some of this makes sense
Last edited: